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