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