2 writes to _root
System.Collections.Immutable (2)
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (2)
55_root = Node.EmptyNode; 73_root = root;
20 references to _root
System.Collections.Immutable (20)
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (1)
74_root = map._root;
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (19)
84return _root.IsEmpty ? this : Empty.WithComparers(_keyComparer, _valueComparer); 102get { return _root.IsEmpty; } 118get { return _root.Keys; } 126get { return _root.Values; } 209return ref _root.ValueRef(key, _keyComparer); 248ImmutableSortedDictionary<TKey, TValue>.Node result = _root.Add(key, value, _keyComparer, _valueComparer, out _); 259ImmutableSortedDictionary<TKey, TValue>.Node result = _root.SetItem(key, value, _keyComparer, _valueComparer, out replacedExistingValue, out _); 291ImmutableSortedDictionary<TKey, TValue>.Node result = _root.Remove(value, _keyComparer, out _); 302ImmutableSortedDictionary<TKey, TValue>.Node result = _root; 337return new ImmutableSortedDictionary<TKey, TValue>(_root, _count, _keyComparer, valueComparer); 371return _root.ContainsValue(value, _valueComparer); 434return _root.ContainsKey(key, _keyComparer); 442return _root.Contains(pair, _keyComparer, _valueComparer); 451return _root.TryGetValue(key, _keyComparer, out value!); 460return _root.TryGetKey(equalKey, _keyComparer, out actualKey); 655_root.CopyTo(array, index, this.Count); 728return _root.GetEnumerator(); 788ImmutableSortedDictionary<TKey, TValue>.Node result = _root; 818if (_root != root)