15 writes to Root
System.Collections.Immutable (15)
System\Collections\Immutable\ImmutableList_1.Builder.cs (15)
132this.Root = this.Root.ReplaceAt(index, value); 163this.Root = this.Root.Insert(index, item); 171this.Root = this.Root.RemoveAt(index); 179this.Root = this.Root.Add(item); 187this.Root = ImmutableList<T>.Node.EmptyNode; 209this.Root = this.Root.RemoveAt(index); 695this.Root = this.Root.AddRange(items); 715this.Root = this.Root.InsertRange(index, items); 734this.Root = this.Root.RemoveAll(match); 836this.Root = this.Root.ReplaceAt(index, newValue); 858this.Root = this.Root.Reverse(index, count); 867this.Root = this.Root.Sort(); 881this.Root = this.Root.Sort(comparison); 894this.Root = this.Root.Sort(comparer); 916this.Root = this.Root.Sort(index, count, comparer);
23 references to Root
System.Collections.Immutable (23)
System\Collections\Immutable\ImmutableList_1.Builder.cs (23)
68get { return this.Root.Count; } 128return this.Root.ItemRef(index); 132this.Root = this.Root.ReplaceAt(index, value); 143return ref this.Root.ItemRef(index); 155return this.Root.IndexOf(item, EqualityComparer<T>.Default); 163this.Root = this.Root.Insert(index, item); 171this.Root = this.Root.RemoveAt(index); 179this.Root = this.Root.Add(item); 209this.Root = this.Root.RemoveAt(index); 221return this.Root.GetEnumerator(this); 695this.Root = this.Root.AddRange(items); 715this.Root = this.Root.InsertRange(index, items); 734this.Root = this.Root.RemoveAll(match); 790int index = this.Root.IndexOf(item, equalityComparer); 836this.Root = this.Root.ReplaceAt(index, newValue); 858this.Root = this.Root.Reverse(index, count); 867this.Root = this.Root.Sort(); 881this.Root = this.Root.Sort(comparison); 894this.Root = this.Root.Sort(comparer); 916this.Root = this.Root.Sort(index, count, comparer); 996return this.Root.BinarySearch(index, count, item, comparer); 1012return _immutable ??= ImmutableList<T>.WrapNode(this.Root); 1140this.Root.CopyTo(array, arrayIndex);