6 writes to key
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (6)
623
entry.
key
= key;
911
entry.
key
= default!;
1033
entry.
key
= actualKey;
1170
entry.
key
= key;
1337
entry.
key
= default!;
1412
entry.
key
= default!;
24 references to key
System.Private.CoreLib (24)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (24)
149
Add(oldEntries[i].
key
, oldEntries[i].value);
365
array[index++] = new KeyValuePair<TKey, TValue>(entries[i].
key
, entries[i].value);
429
if (entry.hashCode == hashCode && EqualityComparer<TKey>.Default.Equals(entry.
key
, key))
460
if (entry.hashCode == hashCode && comparer.Equals(entry.
key
, key))
539
if (entries[i].hashCode == hashCode && EqualityComparer<TKey>.Default.Equals(entries[i].
key
, key))
571
if (entries[i].hashCode == hashCode && comparer.Equals(entries[i].
key
, key))
826
if (entry.hashCode == hashCode && comparer.Equals(key, entry.
key
))
847
actualKey = entry.
key
;
892
if (entry.hashCode == hashCode && comparer.Equals(key, entry.
key
))
903
actualKey = entry.
key
;
985
if (entries[i].hashCode == hashCode && comparer.Equals(key, entries[i].
key
))
1104
if (entries[i].hashCode == hashCode && EqualityComparer<TKey>.Default.Equals(entries[i].
key
, key))
1127
if (entries[i].hashCode == hashCode && comparer.Equals(entries[i].
key
, key))
1269
entries[i].hashCode = (uint)comparer.GetHashCode(entries[i].
key
);
1321
(typeof(TKey).IsValueType && comparer == null ? EqualityComparer<TKey>.Default.Equals(entry.
key
, key) : comparer!.Equals(entry.
key
, key)))
1394
(typeof(TKey).IsValueType && comparer == null ? EqualityComparer<TKey>.Default.Equals(entry.
key
, key) : comparer!.Equals(entry.
key
, key)))
1501
dictEntryArray[index++] = new DictionaryEntry(entries[i].
key
, entries[i].value);
1521
objects[index++] = new KeyValuePair<TKey, TValue>(entries[i].
key
, entries[i].value);
1801
_current = new KeyValuePair<TKey, TValue>(entry.
key
, entry.value);
1923
if (entries![i].next >= -1) array[index++] = entries[i].
key
;
1997
if (entries![i].next >= -1) objects[index++] = entries[i].
key
;
2041
_currentKey = entry.
key
;