1 write to _dictionary
System.Collections (1)
System\Collections\Generic\OrderedDictionary.cs (1)
1479internal KeyCollection(OrderedDictionary<TKey, TValue> dictionary) => _dictionary = dictionary;
11 references to _dictionary
System.Collections (11)
System\Collections\Generic\OrderedDictionary.cs (11)
1482public int Count => _dictionary.Count; 1497object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1500public bool Contains(TKey key) => _dictionary.ContainsKey(key); 1511OrderedDictionary<TKey, TValue> dictionary = _dictionary; 1544if (array.Length - index < _dictionary.Count) 1577get => _dictionary.GetAt(index).Key; 1584get => _dictionary.GetAt(index).Key; 1589TKey IReadOnlyList<TKey>.this[int index] => _dictionary.GetAt(index).Key; 1593public Enumerator GetEnumerator() => new(_dictionary); 1604int IList<TKey>.IndexOf(TKey item) => _dictionary.IndexOf(item); 1628int IList.IndexOf(object? value) => value is TKey key ? _dictionary.IndexOf(key) : -1;