3 writes to _entries
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (3)
577
_entries
= new Entry[Size];
596
_entries
= entries;
936
_entries
= null!;
18 references to _entries
System.Private.CoreLib (18)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (18)
600
internal bool HasCapacity => _firstFreeEntry <
_entries
.Length;
616
_entries
[newEntry].HashCode = hashCode;
617
_entries
[newEntry].depHnd = new DependentHandle(key, value);
619
_entries
[newEntry].Next = _buckets[bucket];
659
for (int entriesIndex = Volatile.Read(ref _buckets[bucket]); entriesIndex != -1; entriesIndex =
_entries
[entriesIndex].Next)
661
if (
_entries
[entriesIndex].HashCode == hashCode &&
_entries
[entriesIndex].depHnd.UnsafeGetTargetAndDependent(out value) == key)
677
if (index <
_entries
.Length)
679
object? oKey =
_entries
[index].depHnd.UnsafeGetTargetAndDependent(out object? oValue);
726
ref Entry entry = ref
_entries
[entryIndex];
744
_entries
[entryIndex].depHnd.UnsafeSetDependent(newValue);
765
for (int entriesIndex = 0; entriesIndex <
_entries
.Length; entriesIndex++)
767
ref Entry entry = ref
_entries
[entriesIndex];
820
for (; newEntriesIndex <
_entries
.Length; newEntriesIndex++)
822
ref Entry oldEntry = ref
_entries
[newEntriesIndex];
839
for (int entriesIndex = 0; entriesIndex <
_entries
.Length; entriesIndex++)
841
ref Entry oldEntry = ref
_entries
[entriesIndex];
934
Entry[] entries =
_entries
;