Skip to content

Commit 2f3c939

Browse files
committed
Avoid defensive copy
1 parent cbf4c20 commit 2f3c939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DotNext.Threading/Runtime/Caching/RandomAccessCache.Dictionary.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public Bucket()
170170
}
171171

172172
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
173-
internal int CollisionCount => count;
173+
internal readonly int CollisionCount => count;
174174

175175
[ExcludeFromCodeCoverage]
176176
[DebuggerBrowsable(DebuggerBrowsableState.Never)]

0 commit comments

Comments
 (0)