9 references to BinarySearch
System.Collections (4)
System\Collections\Generic\SortedList.cs (4)
183int i = Array.BinarySearch<TKey>(keys, 0, _size, key, comparer); 583int i = Array.BinarySearch<TKey>(keys, 0, _size, key, comparer); 641int ret = Array.BinarySearch<TKey>(keys, 0, _size, key, comparer); 1094int i = Array.BinarySearch<TKey>(_dict.keys, 0,
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableArray.cs (1)
570return Array.BinarySearch<T>(array.array!, index, length, value, comparer);
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Array.cs (3)
994return BinarySearch(array, 0, array.Length, value, null); 1001return BinarySearch(array, 0, array.Length, value, comparer); 1006return BinarySearch(array, index, length, value, null);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
309return Array.BinarySearch(_items, index, count, item, comparer);