1 write to _dictionary
System.Collections (1)
System\Collections\Generic\OrderedDictionary.cs (1)
1682
internal ValueCollection(OrderedDictionary<TKey, TValue> dictionary) =>
_dictionary
= dictionary;
15 references to _dictionary
System.Collections (15)
System\Collections\Generic\OrderedDictionary.cs (15)
1685
public int Count =>
_dictionary
.Count;
1700
object ICollection.SyncRoot => ((ICollection)
_dictionary
).SyncRoot;
1708
OrderedDictionary<TKey, TValue> dictionary =
_dictionary
;
1726
public Enumerator GetEnumerator() => new(
_dictionary
);
1731
get =>
_dictionary
.GetAt(index).Value;
1736
TValue IReadOnlyList<TValue>.this[int index] =>
_dictionary
.GetAt(index).Value;
1741
get =>
_dictionary
.GetAt(index).Value;
1746
bool ICollection<TValue>.Contains(TValue item) =>
_dictionary
.ContainsValue(item);
1759
Entry[]? entries =
_dictionary
._entries;
1762
int count =
_dictionary
._count;
1799
_dictionary
.ContainsValue(default!) :
1800
value is TValue tvalue &&
_dictionary
.ContainsValue(tvalue);
1805
Entry[]? entries =
_dictionary
._entries;
1808
int count =
_dictionary
._count;
1861
if (array.Length - index <
_dictionary
.Count)