2 writes to Key
System.Collections (2)
System\Collections\Generic\OrderedDictionary.cs (2)
466entry.Key = key; 855e.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)) 826if (EqualityComparer<TKey>.Default.Equals(key, e.Key)) 835if (_comparer.Equals(key, e.Key)) 1112newEntries[i].HashCode = (uint)comparer.GetHashCode(newEntries[i].Key); 1213array[arrayIndex++] = new(entry.Key, entry.Value); 1376/// <summary>Cached hash code of <see cref="Key"/>.</summary> 1380/// <summary>The value associated with <see cref="Key"/>.</summary> 1436Current = new KeyValuePair<TKey, TValue>(entry.Key, entry.Value); 1514array[arrayIndex++] = entries[i].Key;