1 write to _dictionary
System.Collections (1)
System\Collections\Generic\OrderedDictionary.cs (1)
1470internal KeyCollection(OrderedDictionary<TKey, TValue> dictionary) => _dictionary = dictionary;
11 references to _dictionary
System.Collections (11)
System\Collections\Generic\OrderedDictionary.cs (11)
1473public int Count => _dictionary.Count; 1488object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1491public bool Contains(TKey key) => _dictionary.ContainsKey(key); 1502OrderedDictionary<TKey, TValue> dictionary = _dictionary; 1535if (array.Length - index < _dictionary.Count) 1568get => _dictionary.GetAt(index).Key; 1575get => _dictionary.GetAt(index).Key; 1580TKey IReadOnlyList<TKey>.this[int index] => _dictionary.GetAt(index).Key; 1584public Enumerator GetEnumerator() => new(_dictionary); 1595int IList<TKey>.IndexOf(TKey item) => _dictionary.IndexOf(item); 1619int IList.IndexOf(object? value) => value is TKey key ? _dictionary.IndexOf(key) : -1;