4 references to BinarySearch
Microsoft.CodeAnalysis (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
194
=> _list.
BinarySearch
(item, comparer);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
101
=> ReadOnlyList.
BinarySearch
(item, comparer);
Microsoft.CodeAnalysis.UnitTests (2)
Collections\List\SegmentedList.Generic.Tests.BinarySearch.cs (2)
37
Assert.Equal(index, list.
BinarySearch
(beforeList[index], GetIComparer()));
56
Assert.True(list.
BinarySearch
(beforeList[index], GetIComparer()) >= 0);