3 writes to _buckets
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (3)
572
_buckets
= new int[Size];
595
_buckets
= buckets;
937
_buckets
= null!;
10 references to _buckets
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (10)
573
for (int i = 0; i <
_buckets
.Length; i++)
575
_buckets
[i] = -1;
618
int bucket = hashCode & (
_buckets
.Length - 1);
619
_entries[newEntry].Next =
_buckets
[bucket];
623
Volatile.Write(ref
_buckets
[bucket], newEntry);
658
int bucket = hashCode & (
_buckets
.Length - 1);
659
for (int entriesIndex = Volatile.Read(ref
_buckets
[bucket]); entriesIndex != -1; entriesIndex = _entries[entriesIndex].Next)
758
int newSize =
_buckets
.Length;
788
newSize =
_buckets
.Length * 2;
796
Debug.Assert(newSize >=
_buckets
.Length);