From 95e8d1cc5440df03735dc43014f5bc69ed2364f5 Mon Sep 17 00:00:00 2001 From: konard Date: Sat, 13 Sep 2025 12:44:34 +0300 Subject: [PATCH 1/3] Initial commit with task details for issue #63 Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: https://github.com/linksplatform/Data/issues/63 --- CLAUDE.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..857f006 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,5 @@ +Issue to solve: https://github.com/linksplatform/Data/issues/63 +Your prepared branch: issue-63-41cd36c5 +Your prepared working directory: /tmp/gh-issue-solver-1757756668112 + +Proceed. \ No newline at end of file From 450703d8fc4d7f6677a591ad66f210be63708fa9 Mon Sep 17 00:00:00 2001 From: konard Date: Sat, 13 Sep 2025 12:49:30 +0300 Subject: [PATCH 2/3] Rename Size property to Count to reduce number of properties MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove redundant Size property in Point class - Update Count property to be direct property instead of returning Size - Update constructor parameter from 'size' to 'count' - Update all internal references from Size to Count - Fixes issue #63: reducing property count improves code clarity 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- csharp/Platform.Data/Point.cs | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) 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; } From 4214d58f67896fbd34ffba300a61ff9913340815 Mon Sep 17 00:00:00 2001 From: konard Date: Sat, 13 Sep 2025 12:50:04 +0300 Subject: [PATCH 3/3] Remove CLAUDE.md - Claude command completed --- CLAUDE.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 100644 index 857f006..0000000 --- a/CLAUDE.md +++ /dev/null @@ -1,5 +0,0 @@ -Issue to solve: https://github.com/linksplatform/Data/issues/63 -Your prepared branch: issue-63-41cd36c5 -Your prepared working directory: /tmp/gh-issue-solver-1757756668112 - -Proceed. \ No newline at end of file