7 references to BinarySearch
Microsoft.CodeAnalysis.UnitTests (2)
Collections\ImmutableListTestBase.cs (2)
463
expected = basis.
BinarySearch
(index, count, value, null);
500
int expected = basis.
BinarySearch
(index, count, value, null);
PresentationFramework (1)
System\Windows\Controls\Primitives\Selector.cs (1)
1987
if (knownIndices.
BinarySearch
(0, knownCount, i, null) >= 0)
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (2)
313
=>
BinarySearch
(0, Count, item, null);
316
=>
BinarySearch
(0, Count, item, comparer);
System.Windows.Forms (2)
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.cs (1)
128
index = InnerList.
BinarySearch
(index: 0, Count, entry, this);
System\Windows\Forms\Internal\ItemArray.cs (1)
288
return _entries.
BinarySearch
(index: 0, Count, element, this);