1 write to _dictionary
System.Collections (1)
System\Collections\Generic\OrderedDictionary.cs (1)
1668
internal ValueCollection(OrderedDictionary<TKey, TValue> dictionary) =>
_dictionary
= dictionary;
15 references to _dictionary
System.Collections (15)
System\Collections\Generic\OrderedDictionary.cs (15)
1671
public int Count =>
_dictionary
.Count;
1686
object ICollection.SyncRoot => ((ICollection)
_dictionary
).SyncRoot;
1694
OrderedDictionary<TKey, TValue> dictionary =
_dictionary
;
1712
public Enumerator GetEnumerator() => new(
_dictionary
);
1717
get =>
_dictionary
.GetAt(index).Value;
1722
TValue IReadOnlyList<TValue>.this[int index] =>
_dictionary
.GetAt(index).Value;
1727
get =>
_dictionary
.GetAt(index).Value;
1732
bool ICollection<TValue>.Contains(TValue item) =>
_dictionary
.ContainsValue(item);
1745
Entry[]? entries =
_dictionary
._entries;
1748
int count =
_dictionary
._count;
1785
_dictionary
.ContainsValue(default!) :
1786
value is TValue tvalue &&
_dictionary
.ContainsValue(tvalue);
1791
Entry[]? entries =
_dictionary
._entries;
1794
int count =
_dictionary
._count;
1847
if (array.Length - index <
_dictionary
.Count)