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