8 references to BinarySearch
Microsoft.Build.Tasks.Core (3)
ManifestUtil\ComImporter.cs (3)
137if (Array.BinarySearch(knownNames, name, StringComparer.OrdinalIgnoreCase) < 0) 156if (!String.IsNullOrEmpty(name) && Array.BinarySearch( 252if (Array.BinarySearch(s_knownSubKeys, subKeyName, StringComparer.OrdinalIgnoreCase) < 0)
Microsoft.Cci.Extensions (2)
Dgml\DgmlExtensions.cs (2)
24let source = Array.BinarySearch(assemblyNames, a.Name.Value, StringComparer.OrdinalIgnoreCase) 26let target = Array.BinarySearch(assemblyNames, ar.Name.Value, StringComparer.OrdinalIgnoreCase)
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableArray.cs (1)
496return Array.BinarySearch<T>(array.array!, value, comparer);
System.Linq.Expressions (1)
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
234int i = Array.BinarySearch<DebugInfo>(debugInfos, d, s_debugComparer);
System.Private.Xml (1)
System\Xml\Core\XmlTextReaderImpl.cs (1)
9203if (Array.BinarySearch<object>(nameSortedNodeData, defAttrInfo, DtdDefaultAttributeInfoToNodeDataComparer.Instance) >= 0)