3 writes to _buckets
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (3)
573
_buckets
= new int[Size];
596
_buckets
= buckets;
938
_buckets
= null!;
10 references to _buckets
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (10)
574
for (int i = 0; i <
_buckets
.Length; i++)
576
_buckets
[i] = -1;
619
int bucket = hashCode & (
_buckets
.Length - 1);
620
_entries[newEntry].Next =
_buckets
[bucket];
624
Volatile.Write(ref
_buckets
[bucket], newEntry);
659
int bucket = hashCode & (
_buckets
.Length - 1);
660
for (int entriesIndex = Volatile.Read(ref
_buckets
[bucket]); entriesIndex != -1; entriesIndex = _entries[entriesIndex].Next)
759
int newSize =
_buckets
.Length;
789
newSize =
_buckets
.Length * 2;
797
Debug.Assert(newSize >=
_buckets
.Length);