5 writes to Root
System.Collections.Immutable (5)
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (5)
192this.Root = _root.SetItem(key, value, _keyComparer, _valueComparer, out replacedExistingValue, out mutated); 319this.Root = newRoot; 433this.Root = this.Root.Add(key, value, _keyComparer, _valueComparer, out mutated); 454this.Root = this.Root.Remove(key, _keyComparer, out mutated); 493this.Root = ImmutableSortedDictionary<TKey, TValue>.Node.EmptyNode;
14 references to Root
System.Collections.Immutable (14)
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (14)
88get { return this.Root.Keys.ToArray(this.Count); } 96get { return this.Root.Keys; } 104get { return this.Root.Values.ToArray(this.Count); } 112get { return this.Root.Values; } 420this.Root.CopyTo(array, index, this.Count); 433this.Root = this.Root.Add(key, value, _keyComparer, _valueComparer, out mutated); 445return this.Root.ContainsKey(key, _keyComparer); 454this.Root = this.Root.Remove(key, _keyComparer, out mutated); 468return this.Root.TryGetValue(key, _keyComparer, out value!); 477return this.Root.TryGetKey(equalKey, _keyComparer, out actualKey); 502return this.Root.Contains(item, _keyComparer, _valueComparer); 510this.Root.CopyTo(array, arrayIndex, this.Count); 531return this.Root.GetEnumerator(this); 643return _immutable ??= Wrap(this.Root, _count, _keyComparer, _valueComparer);