3 writes to _entries
mscorlib (3)
system\runtime\compilerservices\ConditionalWeakTable.cs (3)
86
_entries
= new Entry[0];
555
_entries
= newEntries;
621
_entries
= null;
35 references to _entries
mscorlib (35)
system\runtime\compilerservices\ConditionalWeakTable.cs (35)
180
for (int entriesIndex = _buckets[bucket]; entriesIndex != -1; entriesIndex =
_entries
[entriesIndex].next)
182
if (
_entries
[entriesIndex].hashCode == hashCode &&
_entries
[entriesIndex].depHnd.GetPrimary() == key)
186
_buckets[bucket] =
_entries
[entriesIndex].next;
190
_entries
[last].next =
_entries
[entriesIndex].next;
193
_entries
[entriesIndex].depHnd.Free();
194
_entries
[entriesIndex].next = _freeList;
305
for (int entriesIndex = _buckets[bucket]; entriesIndex != -1; entriesIndex =
_entries
[entriesIndex].next)
308
_entries
[entriesIndex].depHnd.GetPrimaryAndSecondary(out thisKey, out thisValue);
335
for (int entriesIndex = _buckets[bucket]; entriesIndex != -1; entriesIndex =
_entries
[entriesIndex].next)
337
TKey thisKey = (TKey)
_entries
[entriesIndex].depHnd.GetPrimary();
363
for (int entriesIndex = _buckets[bucket]; entriesIndex != -1; entriesIndex =
_entries
[entriesIndex].next)
368
_entries
[entriesIndex].depHnd.GetPrimaryAndSecondary(out primary, out secondary);
401
for (entriesIndex = 0; entriesIndex <
_entries
.Length; entriesIndex++)
403
if (
_entries
[entriesIndex].depHnd.IsAllocated)
405
_entries
[entriesIndex].depHnd.Free();
409
_entries
[entriesIndex].next = entriesIndex - 1;
434
_entries
[entryIndex].depHnd.GetPrimaryAndSecondary(out primary, out secondary);
468
_freeList =
_entries
[newEntry].next;
470
_entries
[newEntry].hashCode = hashCode;
471
_entries
[newEntry].depHnd = new DependentHandle(key, value);
472
_entries
[newEntry].next = _buckets[bucket];
496
for (entriesIndex = 0; entriesIndex <
_entries
.Length; entriesIndex++)
498
if (
_entries
[entriesIndex].depHnd.IsAllocated &&
_entries
[entriesIndex].depHnd.GetPrimary() == null)
522
for (entriesIndex = 0; entriesIndex <
_entries
.Length; entriesIndex++)
524
DependentHandle depHnd =
_entries
[entriesIndex].depHnd;
528
int bucket =
_entries
[entriesIndex].hashCode % newSize;
530
newEntries[entriesIndex].hashCode =
_entries
[entriesIndex].hashCode;
538
_entries
[entriesIndex].depHnd.Free();
570
for (int entriesIndex = _buckets[hashCode % _buckets.Length]; entriesIndex != -1; entriesIndex =
_entries
[entriesIndex].next)
572
if (
_entries
[entriesIndex].hashCode == hashCode &&
_entries
[entriesIndex].depHnd.GetPrimary() == key)
616
Entry[] entries =
_entries
;