1 write to _dictionary
System.Collections (1)
System\Collections\Generic\OrderedDictionary.cs (1)
1674
internal ValueCollection(OrderedDictionary<TKey, TValue> dictionary) =>
_dictionary
= dictionary;
15 references to _dictionary
System.Collections (15)
System\Collections\Generic\OrderedDictionary.cs (15)
1677
public int Count =>
_dictionary
.Count;
1692
object ICollection.SyncRoot => ((ICollection)
_dictionary
).SyncRoot;
1700
OrderedDictionary<TKey, TValue> dictionary =
_dictionary
;
1718
public Enumerator GetEnumerator() => new(
_dictionary
);
1723
get =>
_dictionary
.GetAt(index).Value;
1728
TValue IReadOnlyList<TValue>.this[int index] =>
_dictionary
.GetAt(index).Value;
1733
get =>
_dictionary
.GetAt(index).Value;
1738
bool ICollection<TValue>.Contains(TValue item) =>
_dictionary
.ContainsValue(item);
1751
Entry[]? entries =
_dictionary
._entries;
1754
int count =
_dictionary
._count;
1791
_dictionary
.ContainsValue(default!) :
1792
value is TValue tvalue &&
_dictionary
.ContainsValue(tvalue);
1797
Entry[]? entries =
_dictionary
._entries;
1800
int count =
_dictionary
._count;
1853
if (array.Length - index <
_dictionary
.Count)