16 references to BinarySearch
Microsoft.Build.Tasks.Core (1)
ManifestUtil\ManifestFormatter.cs (1)
60Array.BinarySearch(XPaths.emptyAttributeList, xpath) >= 0)
Microsoft.CodeAnalysis (1)
Syntax\AbstractWarningStateMap.cs (1)
57int r = Array.BinarySearch(_warningStateMapEntries, new WarningStateMapEntry(position));
Microsoft.ML.AutoML (1)
Utils\ArrayMath.cs (1)
100int index = Array.BinarySearch(array, item);
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableArray.cs (1)
471return Array.BinarySearch<T>(array.array!, value);
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.Core.cs (1)
162int index = Array.BinarySearch(sortedDataPositions, dataPos);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Type.Enum.cs (1)
164return Array.BinarySearch(ulArray, ulValue);
System.Private.Reflection.Execution (1)
Internal\Reflection\Execution\ExecutionEnvironmentImplementation.MappingTables.cs (1)
426int binarySearchIndex = Array.BinarySearch(Data, new FunctionPointerOffsetPair(functionPointer, 0));
System.Private.StackTraceMetadata (1)
Internal\StackTraceMetadata\StackTraceMetadata.cs (1)
504int index = Array.BinarySearch(_stacktraceDatas, new StackTraceData() { Rva = rva });
System.Speech (8)
Internal\PhonemeConverter.cs (1)
125if (Array.BinarySearch(s_updIds, id) < 0)
Internal\Synthesis\ConvertTextFrag.cs (1)
118int posSayAsFormat = Array.BinarySearch<string?>(s_asSayAsFormat, interpretAs);
Internal\Synthesis\SSmlParser.cs (6)
242int iElement = Array.BinarySearch<string>(s_elementsName, reader.LocalName); 393int pos = Array.BinarySearch<string>(s_breakStrength, sStrength); 513int pos = Array.BinarySearch<string>(s_emphasisNames, sLevel); 1643int pos = Array.BinarySearch<string>(attributeValues, attribute); 1663int pos = Array.BinarySearch<string>(attributeValues, attribute); 2089int pos = Array.BinarySearch<string>(s_genderNames, sGender);