6 references to BinarySearch
System.Collections.Immutable (6)
System\Collections\Immutable\ImmutableList_1.Builder.cs (1)
1011return this.Root.BinarySearch(index, count, item, comparer);
System\Collections\Immutable\ImmutableList_1.cs (1)
122public int BinarySearch(int index, int count, T item, IComparer<T>? comparer) => _root.BinarySearch(index, count, item, comparer);
System\Collections\Immutable\ImmutableList_1.Node.cs (4)
686return _left.BinarySearch(index, count, item, comparer); 690int result = _right!.BinarySearch(index - thisNodeIndex - 1, count, item, comparer); 707int result = adjustedCount < 0 ? -1 : _right!.BinarySearch(0, adjustedCount, item, comparer); 719int result = _left.BinarySearch(index, count, item, comparer);