2 writes to Key
System.Collections (2)
System\Collections\Generic\OrderedDictionary.cs (2)
465entry.Key = key; 861e.Key = key;
11 references to Key
System.Collections (11)
System\Collections\Generic\OrderedDictionary.cs (11)
604return new(e.Key, e.Value); 656if (entry.HashCode == hashCode && EqualityComparer<TKey>.Default.Equals(entry.Key, key)) 685if (entry.HashCode == hashCode && comparer.Equals(entry.Key, key)) 832if (EqualityComparer<TKey>.Default.Equals(key, e.Key)) 841if (_comparer.Equals(key, e.Key)) 1120newEntries[i].HashCode = (uint)comparer.GetHashCode(newEntries[i].Key); 1221array[arrayIndex++] = new(entry.Key, entry.Value); 1384/// <summary>Cached hash code of <see cref="Key"/>.</summary> 1388/// <summary>The value associated with <see cref="Key"/>.</summary> 1444Current = new KeyValuePair<TKey, TValue>(entry.Key, entry.Value); 1522array[arrayIndex++] = entries[i].Key;