1 write to _buckets
MSBuildTaskHost (1)
Collections\ConcurrentDictionary.cs (1)
32
_buckets
= buckets;
12 references to _buckets
MSBuildTaskHost (12)
Collections\ConcurrentDictionary.cs (12)
132
int bucketNo = GetBucket(hashcode, tables.
_buckets
.Length);
138
Node? n = tables.
_buckets
[bucketNo];
169
GetBucketAndLockNo(hashcode, out bucketNo, out lockNo, tables.
_buckets
.Length, tables._locks.Length);
189
for (Node? node = tables.
_buckets
[bucketNo]; node != null; node = node._next)
191
Debug.Assert((prev == null && node == tables.
_buckets
[bucketNo]) || prev!._next == node);
208
Interlocked.Exchange(ref tables.
_buckets
[bucketNo], newNode);
227
Interlocked.Exchange(ref tables.
_buckets
[bucketNo], new Node(key, value, hashcode, tables.
_buckets
[bucketNo]));
338
if (approxCount < tables.
_buckets
.Length / 4)
359
newLength = (tables.
_buckets
.Length * 2) + 1;
413
for (int i = 0; i < tables.
_buckets
.Length; i++)
415
Node? current = tables.
_buckets
[i];