11 references to BinarySearch
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\PrefixResolver.cs (1)
34return Array.BinarySearch(_sortedKeys, 0, _length, new FormKey(currentPrefixBuffer), FormKeyComparer.PrefixCriteria) >= 0;
Microsoft.AspNetCore.Http.Extensions (1)
src\Components\Endpoints\src\FormMapping\PrefixResolver.cs (1)
34return Array.BinarySearch(_sortedKeys, 0, _length, new FormKey(currentPrefixBuffer), FormKeyComparer.PrefixCriteria) >= 0;
System.Collections (4)
System\Collections\Generic\SortedList.cs (4)
183int i = Array.BinarySearch<TKey>(keys, 0, _size, key, comparer); 584int i = Array.BinarySearch<TKey>(keys, 0, _size, key, comparer); 642int ret = Array.BinarySearch<TKey>(keys, 0, _size, key, comparer); 1095int i = Array.BinarySearch<TKey>(_dict.keys, 0,
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableArray.cs (1)
579return Array.BinarySearch<T>(array.array!, index, length, value, comparer);
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Array.cs (3)
1375return BinarySearch(array, 0, array.Length, value, null); 1382return BinarySearch(array, 0, array.Length, value, comparer); 1387return 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);