8 writes to Root
System.Collections.Immutable (8)
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (8)
164this.Root = newRoot; 215this.Root = this.Root.Add(item, _comparer, out mutated); 229this.Root = this.Root.Remove(item, _comparer, out _); 251this.Root = result; 320this.Root = this.ToImmutable().SymmetricExcept(other)._root; 333this.Root = this.Root.Add(item, _comparer, out _); 352this.Root = ImmutableSortedSet<T>.Node.EmptyNode; 381this.Root = this.Root.Remove(item, _comparer, out mutated);
11 references to Root
System.Collections.Immutable (11)
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (11)
78get { return this.Root.Count; } 215this.Root = this.Root.Add(item, _comparer, out mutated); 229this.Root = this.Root.Remove(item, _comparer, out _); 333this.Root = this.Root.Add(item, _comparer, out _); 362return this.Root.Contains(item, _comparer); 381this.Root = this.Root.Remove(item, _comparer, out mutated); 391return this.Root.GetEnumerator(this); 400return this.Root.GetEnumerator(); 430return this.Root.IndexOf(item, _comparer); 459return _immutable ??= ImmutableSortedSet<T>.Wrap(this.Root, _comparer); 490this.Root.CopyTo(array, arrayIndex);