1 write to _dictionary
System.Collections (1)
System\Collections\Generic\OrderedDictionary.cs (1)
1665
internal ValueCollection(OrderedDictionary<TKey, TValue> dictionary) =>
_dictionary
= dictionary;
15 references to _dictionary
System.Collections (15)
System\Collections\Generic\OrderedDictionary.cs (15)
1668
public int Count =>
_dictionary
.Count;
1683
object ICollection.SyncRoot => ((ICollection)
_dictionary
).SyncRoot;
1691
OrderedDictionary<TKey, TValue> dictionary =
_dictionary
;
1709
public Enumerator GetEnumerator() => new(
_dictionary
);
1714
get =>
_dictionary
.GetAt(index).Value;
1719
TValue IReadOnlyList<TValue>.this[int index] =>
_dictionary
.GetAt(index).Value;
1724
get =>
_dictionary
.GetAt(index).Value;
1729
bool ICollection<TValue>.Contains(TValue item) =>
_dictionary
.ContainsValue(item);
1742
Entry[]? entries =
_dictionary
._entries;
1745
int count =
_dictionary
._count;
1782
_dictionary
.ContainsValue(default!) :
1783
value is TValue tvalue &&
_dictionary
.ContainsValue(tvalue);
1788
Entry[]? entries =
_dictionary
._entries;
1791
int count =
_dictionary
._count;
1844
if (array.Length - index <
_dictionary
.Count)