1 write to _dictionary
System.Collections (1)
System\Collections\Generic\OrderedDictionary.cs (1)
1640
internal ValueCollection(OrderedDictionary<TKey, TValue> dictionary) =>
_dictionary
= dictionary;
15 references to _dictionary
System.Collections (15)
System\Collections\Generic\OrderedDictionary.cs (15)
1643
public int Count =>
_dictionary
.Count;
1658
object ICollection.SyncRoot => ((ICollection)
_dictionary
).SyncRoot;
1666
OrderedDictionary<TKey, TValue> dictionary =
_dictionary
;
1684
public Enumerator GetEnumerator() => new(
_dictionary
);
1689
get =>
_dictionary
.GetAt(index).Value;
1694
TValue IReadOnlyList<TValue>.this[int index] =>
_dictionary
.GetAt(index).Value;
1699
get =>
_dictionary
.GetAt(index).Value;
1704
bool ICollection<TValue>.Contains(TValue item) =>
_dictionary
.ContainsValue(item);
1717
Entry[]? entries =
_dictionary
._entries;
1720
int count =
_dictionary
._count;
1757
_dictionary
.ContainsValue(default!) :
1758
value is TValue tvalue &&
_dictionary
.ContainsValue(tvalue);
1763
Entry[]? entries =
_dictionary
._entries;
1766
int count =
_dictionary
._count;
1819
if (array.Length - index <
_dictionary
.Count)