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)
38sortedDictionary._set.Comparer is KeyValuePairComparer kv && 41_set = new TreeSet<KeyValuePair<TKey, TValue>>(sortedDictionary._set, keyValuePairComparer); 49_set.Add(pair); 61_set.Add(keyValuePair); 66TreeSet<KeyValuePair<TKey, TValue>>.Node? node = _set.FindNode(keyValuePair); 84TreeSet<KeyValuePair<TKey, TValue>>.Node? node = _set.FindNode(keyValuePair); 92_set.Remove(keyValuePair); 112TreeSet<KeyValuePair<TKey, TValue>>.Node? node = _set.FindNode(new KeyValuePair<TKey, TValue>(key, default(TValue)!)); 124TreeSet<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(); 141return _set.Count; 149return ((KeyValuePairComparer)_set.Comparer).keyComparer; 193_set.Add(new KeyValuePair<TKey, TValue>(key, value)); 198_set.Clear(); 205return _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); 254return _set.Remove(new KeyValuePair<TKey, TValue>(key, default(TValue)!)); 261TreeSet<KeyValuePair<TKey, TValue>>.Node? node = _set.FindNode(new KeyValuePair<TKey, TValue>(key, default(TValue)!)); 273((ICollection)_set).CopyTo(array, index); 399get { 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; });