1 write to _dictionary
System.Collections (1)
System\Collections\Generic\OrderedDictionary.cs (1)
1478
internal KeyCollection(OrderedDictionary<TKey, TValue> dictionary) =>
_dictionary
= dictionary;
11 references to _dictionary
System.Collections (11)
System\Collections\Generic\OrderedDictionary.cs (11)
1481
public int Count =>
_dictionary
.Count;
1496
object ICollection.SyncRoot => ((ICollection)
_dictionary
).SyncRoot;
1499
public bool Contains(TKey key) =>
_dictionary
.ContainsKey(key);
1510
OrderedDictionary<TKey, TValue> dictionary =
_dictionary
;
1543
if (array.Length - index <
_dictionary
.Count)
1576
get =>
_dictionary
.GetAt(index).Key;
1583
get =>
_dictionary
.GetAt(index).Key;
1588
TKey IReadOnlyList<TKey>.this[int index] =>
_dictionary
.GetAt(index).Key;
1592
public Enumerator GetEnumerator() => new(
_dictionary
);
1603
int IList<TKey>.IndexOf(TKey item) =>
_dictionary
.IndexOf(item);
1627
int IList.IndexOf(object? value) => value is TKey key ?
_dictionary
.IndexOf(key) : -1;