15 writes to Root
System.Collections.Immutable (15)
System\Collections\Immutable\ImmutableList_1.Builder.cs (15)
136this.Root = this.Root.ReplaceAt(index, value); 167this.Root = this.Root.Insert(index, item); 175this.Root = this.Root.RemoveAt(index); 183this.Root = this.Root.Add(item); 191this.Root = ImmutableList<T>.Node.EmptyNode; 213this.Root = this.Root.RemoveAt(index); 699this.Root = this.Root.AddRange(items); 719this.Root = this.Root.InsertRange(index, items); 738this.Root = this.Root.RemoveAll(match); 840this.Root = this.Root.ReplaceAt(index, newValue); 862this.Root = this.Root.Reverse(index, count); 871this.Root = this.Root.Sort(); 885this.Root = this.Root.Sort(comparison); 898this.Root = this.Root.Sort(comparer); 920this.Root = this.Root.Sort(index, count, comparer);
23 references to Root
System.Collections.Immutable (23)
System\Collections\Immutable\ImmutableList_1.Builder.cs (23)
72get { return this.Root.Count; } 132return this.Root.ItemRef(index); 136this.Root = this.Root.ReplaceAt(index, value); 147return ref this.Root.ItemRef(index); 159return this.Root.IndexOf(item, EqualityComparer<T>.Default); 167this.Root = this.Root.Insert(index, item); 175this.Root = this.Root.RemoveAt(index); 183this.Root = this.Root.Add(item); 213this.Root = this.Root.RemoveAt(index); 225return this.Root.GetEnumerator(this); 699this.Root = this.Root.AddRange(items); 719this.Root = this.Root.InsertRange(index, items); 738this.Root = this.Root.RemoveAll(match); 794int index = this.Root.IndexOf(item, equalityComparer); 840this.Root = this.Root.ReplaceAt(index, newValue); 862this.Root = this.Root.Reverse(index, count); 871this.Root = this.Root.Sort(); 885this.Root = this.Root.Sort(comparison); 898this.Root = this.Root.Sort(comparer); 920this.Root = this.Root.Sort(index, count, comparer); 1000return this.Root.BinarySearch(index, count, item, comparer); 1016return _immutable ??= ImmutableList<T>.WrapNode(this.Root); 1144this.Root.CopyTo(array, arrayIndex);