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); 840this.Root = this.Root.ReplaceAt(index, newValue);
System\Collections\Immutable\ImmutableList_1.cs (1)
389public ImmutableList<T> SetItem(int index, T value) => this.Wrap(_root.ReplaceAt(index, value));
System\Collections\Immutable\ImmutableList_1.Node.cs (4)
511ImmutableList<T>.Node newLeft = _left.ReplaceAt(index, value); 516ImmutableList<T>.Node newRight = _right!.ReplaceAt(index - _left._count - 1, value); 549.ReplaceAt(end, a) 550.ReplaceAt(start, b);