3 writes to _set
System.Collections (3)
System\Collections\Generic\SortedDictionary.cs (3)
41
_set
= new TreeSet<KeyValuePair<TKey, TValue>>(sortedDictionary._set, keyValuePairComparer);
45
_set
= new TreeSet<KeyValuePair<TKey, TValue>>(keyValuePairComparer);
56
_set
= new TreeSet<KeyValuePair<TKey, TValue>>(new KeyValuePairComparer(comparer));
28 references to _set
System.Collections (28)
System\Collections\Generic\SortedDictionary.cs (28)
38
sortedDictionary.
_set
.Comparer is KeyValuePairComparer kv &&
41
_set = new TreeSet<KeyValuePair<TKey, TValue>>(sortedDictionary.
_set
, keyValuePairComparer);
49
_set
.Add(pair);
61
_set
.Add(keyValuePair);
66
TreeSet<KeyValuePair<TKey, TValue>>.Node? node =
_set
.FindNode(keyValuePair);
84
TreeSet<KeyValuePair<TKey, TValue>>.Node? node =
_set
.FindNode(keyValuePair);
92
_set
.Remove(keyValuePair);
112
TreeSet<KeyValuePair<TKey, TValue>>.Node? node =
_set
.FindNode(new KeyValuePair<TKey, TValue>(key, default(TValue)!));
124
TreeSet<KeyValuePair<TKey, TValue>>.Node? node =
_set
.FindNode(new KeyValuePair<TKey, TValue>(key, default(TValue)!));
127
_set
.Add(new KeyValuePair<TKey, TValue>(key, value));
132
_set
.UpdateVersion();
141
return
_set
.Count;
149
return ((KeyValuePairComparer)
_set
.Comparer).keyComparer;
193
_set
.Add(new KeyValuePair<TKey, TValue>(key, value));
198
_set
.Clear();
205
return
_set
.Contains(new KeyValuePair<TKey, TValue>(key, default(TValue)!));
213
_set
.InOrderTreeWalk(delegate (TreeSet<KeyValuePair<TKey, TValue>>.Node node)
226
_set
.InOrderTreeWalk(delegate (TreeSet<KeyValuePair<TKey, TValue>>.Node node)
241
_set
.CopyTo(array, index);
254
return
_set
.Remove(new KeyValuePair<TKey, TValue>(key, default(TValue)!));
261
TreeSet<KeyValuePair<TKey, TValue>>.Node? node =
_set
.FindNode(new KeyValuePair<TKey, TValue>(key, default(TValue)!));
273
((ICollection)
_set
).CopyTo(array, index);
399
get { return ((ICollection)
_set
).SyncRoot; }
414
_treeEnum = dictionary.
_set
.GetEnumerator();
547
_dictionary.
_set
.InOrderTreeWalk(delegate (TreeSet<KeyValuePair<TKey, TValue>>.Node node) { array[index++] = node.Item.Key; return true; });
580
_dictionary.
_set
.InOrderTreeWalk(delegate (TreeSet<KeyValuePair<TKey, TValue>>.Node node) { objects[index++] = node.Item.Key; return true; });
708
_dictionary.
_set
.InOrderTreeWalk(delegate (TreeSet<KeyValuePair<TKey, TValue>>.Node node) { array[index++] = node.Item.Value; return true; });
741
_dictionary.
_set
.InOrderTreeWalk(delegate (TreeSet<KeyValuePair<TKey, TValue>>.Node node) { objects[index++] = node.Item.Value; return true; });