5 writes to Root
System.Collections.Immutable (5)
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (5)
188this.Root = _root.SetItem(key, value, _keyComparer, _valueComparer, out replacedExistingValue, out mutated); 305this.Root = newRoot; 419this.Root = this.Root.Add(key, value, _keyComparer, _valueComparer, out mutated); 440this.Root = this.Root.Remove(key, _keyComparer, out mutated); 479this.Root = ImmutableSortedDictionary<TKey, TValue>.Node.EmptyNode;
14 references to Root
System.Collections.Immutable (14)
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (14)
84get { return this.Root.Keys.ToArray(this.Count); } 92get { return this.Root.Keys; } 100get { return this.Root.Values.ToArray(this.Count); } 108get { return this.Root.Values; } 406this.Root.CopyTo(array, index, this.Count); 419this.Root = this.Root.Add(key, value, _keyComparer, _valueComparer, out mutated); 431return this.Root.ContainsKey(key, _keyComparer); 440this.Root = this.Root.Remove(key, _keyComparer, out mutated); 454return this.Root.TryGetValue(key, _keyComparer, out value!); 463return this.Root.TryGetKey(equalKey, _keyComparer, out actualKey); 488return this.Root.Contains(item, _keyComparer, _valueComparer); 496this.Root.CopyTo(array, arrayIndex, this.Count); 517return this.Root.GetEnumerator(this); 629return _immutable ??= Wrap(this.Root, _count, _keyComparer, _valueComparer);