diff --git a/csharp/Platform.Data/Point.cs b/csharp/Platform.Data/Point.cs index b1ed34b..ad7ab5f 100644 --- a/csharp/Platform.Data/Point.cs +++ b/csharp/Platform.Data/Point.cs @@ -34,17 +34,6 @@ public TLinkAddress Index get; } - /// - /// - /// Gets the size value. - /// - /// - /// - public int Size - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get; - } /// /// @@ -57,7 +46,7 @@ public TLinkAddress this[int index] [MethodImpl(MethodImplOptions.AggressiveInlining)] get { - if (index < Size) + if (index < Count) { return Index; } @@ -79,7 +68,7 @@ public TLinkAddress this[int index] public int Count { [MethodImpl(MethodImplOptions.AggressiveInlining)] - get => Size; + get; } /// @@ -104,15 +93,15 @@ public bool IsReadOnly /// A index. /// /// - /// - /// A size. + /// + /// A count. /// /// [MethodImpl(MethodImplOptions.AggressiveInlining)] - public Point(TLinkAddress index, int size) + public Point(TLinkAddress index, int count) { Index = index; - Size = size; + Count = count; } /// @@ -184,7 +173,7 @@ public Point(TLinkAddress index, int size) [MethodImpl(MethodImplOptions.AggressiveInlining)] public IEnumerator GetEnumerator() { - for (int i = 0; i < Size; i++) + for (int i = 0; i < Count; i++) { yield return Index; } @@ -267,7 +256,7 @@ public IEnumerator GetEnumerator() [MethodImpl(MethodImplOptions.AggressiveInlining)] IEnumerator IEnumerable.GetEnumerator() { - for (int i = 0; i < Size; i++) + for (int i = 0; i < Count; i++) { yield return Index; }