2 writes to Key
System.Collections (2)
System\Collections\Generic\OrderedDictionary.cs (2)
460entry.Key = key; 856e.Key = key;
11 references to Key
System.Collections (11)
System\Collections\Generic\OrderedDictionary.cs (11)
599return new(e.Key, e.Value); 651if (entry.HashCode == hashCode && EqualityComparer<TKey>.Default.Equals(entry.Key, key)) 680if (entry.HashCode == hashCode && comparer.Equals(entry.Key, key)) 827if (EqualityComparer<TKey>.Default.Equals(key, e.Key)) 836if (_comparer.Equals(key, e.Key)) 1115newEntries[i].HashCode = (uint)comparer.GetHashCode(newEntries[i].Key); 1216array[arrayIndex++] = new(entry.Key, entry.Value); 1379/// <summary>Cached hash code of <see cref="Key"/>.</summary> 1383/// <summary>The value associated with <see cref="Key"/>.</summary> 1439Current = new KeyValuePair<TKey, TValue>(entry.Key, entry.Value); 1517array[arrayIndex++] = entries[i].Key;