3 writes to _entries
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (3)
578
_entries
= new Entry[Size];
597
_entries
= entries;
937
_entries
= null!;
18 references to _entries
System.Private.CoreLib (18)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (18)
601
internal bool HasCapacity => _firstFreeEntry <
_entries
.Length;
617
_entries
[newEntry].HashCode = hashCode;
618
_entries
[newEntry].depHnd = new DependentHandle(key, value);
620
_entries
[newEntry].Next = _buckets[bucket];
660
for (int entriesIndex = Volatile.Read(ref _buckets[bucket]); entriesIndex != -1; entriesIndex =
_entries
[entriesIndex].Next)
662
if (
_entries
[entriesIndex].HashCode == hashCode &&
_entries
[entriesIndex].depHnd.UnsafeGetTargetAndDependent(out value) == key)
678
if (index <
_entries
.Length)
680
object? oKey =
_entries
[index].depHnd.UnsafeGetTargetAndDependent(out object? oValue);
727
ref Entry entry = ref
_entries
[entryIndex];
745
_entries
[entryIndex].depHnd.UnsafeSetDependent(newValue);
766
for (int entriesIndex = 0; entriesIndex <
_entries
.Length; entriesIndex++)
768
ref Entry entry = ref
_entries
[entriesIndex];
821
for (; newEntriesIndex <
_entries
.Length; newEntriesIndex++)
823
ref Entry oldEntry = ref
_entries
[newEntriesIndex];
840
for (int entriesIndex = 0; entriesIndex <
_entries
.Length; entriesIndex++)
842
ref Entry oldEntry = ref
_entries
[entriesIndex];
935
Entry[] entries =
_entries
;