Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd6cbe3 commit d0e2281Copy full SHA for d0e2281
src/libraries/System.Collections.Concurrent/src/System/Collections/Concurrent/ConcurrentDictionary.cs
@@ -44,7 +44,7 @@ private sealed class Tables
44
{
45
internal readonly Node[] _buckets; // A singly-linked list for each bucket.
46
internal readonly object[] _locks; // A set of locks, each guarding a section of the table.
47
- internal volatile int[] _countPerLock; // The number of elements guarded by each lock.
+ internal readonly int[] _countPerLock; // The number of elements guarded by each lock.
48
49
internal Tables(Node[] buckets, object[] locks, int[] countPerLock)
50
0 commit comments