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); 1380/// <summary>Cached hash code of <see cref="Key"/>.</summary> 1384/// <summary>The value associated with <see cref="Key"/>.</summary> 1440Current = new KeyValuePair<TKey, TValue>(entry.Key, entry.Value); 1518array[arrayIndex++] = entries[i].Key;