17 references to Wrap
System.Collections.Immutable (17)
System\Collections\Immutable\ImmutableList_1.cs (17)
210return this.Wrap(result); 228return this.Wrap(result); 252return this.Wrap(_root.AddRange(items)); 262return this.Wrap(_root.Insert(index, item)); 275return this.Wrap(result); 310return this.Wrap(result); 355return this.Wrap(result); 365return this.Wrap(result); 383return this.Wrap(_root.RemoveAll(match)); 389public ImmutableList<T> SetItem(int index, T value) => this.Wrap(_root.ReplaceAt(index, value)); 414public ImmutableList<T> Reverse() => this.Wrap(_root.Reverse()); 422public ImmutableList<T> Reverse(int index, int count) => this.Wrap(_root.Reverse(index, count)); 428public ImmutableList<T> Sort() => this.Wrap(_root.Sort()); 442return this.Wrap(_root.Sort(comparison)); 454public ImmutableList<T> Sort(IComparer<T>? comparer) => this.Wrap(_root.Sort(comparer)); 477return this.Wrap(_root.Sort(index, count, comparer)); 559return this.Wrap(Node.NodeTreeFromList(this, index, count));