1 write to _dictionary
System.Collections (1)
System\Collections\Generic\OrderedDictionary.cs (1)
1474internal KeyCollection(OrderedDictionary<TKey, TValue> dictionary) => _dictionary = dictionary;
11 references to _dictionary
System.Collections (11)
System\Collections\Generic\OrderedDictionary.cs (11)
1477public int Count => _dictionary.Count; 1492object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1495public bool Contains(TKey key) => _dictionary.ContainsKey(key); 1506OrderedDictionary<TKey, TValue> dictionary = _dictionary; 1539if (array.Length - index < _dictionary.Count) 1572get => _dictionary.GetAt(index).Key; 1579get => _dictionary.GetAt(index).Key; 1584TKey IReadOnlyList<TKey>.this[int index] => _dictionary.GetAt(index).Key; 1588public Enumerator GetEnumerator() => new(_dictionary); 1599int IList<TKey>.IndexOf(TKey item) => _dictionary.IndexOf(item); 1623int IList.IndexOf(object? value) => value is TKey key ? _dictionary.IndexOf(key) : -1;