8 references to ReplaceAt
System.Collections.Immutable (8)
System\Collections\Immutable\ImmutableDictionary_2.HashBucket.cs (1)
186return new HashBucket(_firstValue, _additionalElements.ReplaceAt(keyCollisionIndex, kv));
System\Collections\Immutable\ImmutableList_1.Builder.cs (2)
136this.Root = this.Root.ReplaceAt(index, value); 851this.Root = this.Root.ReplaceAt(index, newValue);
System\Collections\Immutable\ImmutableList_1.cs (1)
396public ImmutableList<T> SetItem(int index, T value) => this.Wrap(_root.ReplaceAt(index, value));
System\Collections\Immutable\ImmutableList_1.Node.cs (4)
531ImmutableList<T>.Node newLeft = _left.ReplaceAt(index, value); 536ImmutableList<T>.Node newRight = _right!.ReplaceAt(index - _left._count - 1, value); 569.ReplaceAt(end, a) 570.ReplaceAt(start, b);