11 references to BinarySearch
mscorlib (1)
system\appdomain.cs (1)
4039
int index = Array.
BinarySearch
<string>(_aptcaVisibleAssemblies, name,
System.Data (4)
fx\src\data\System\Data\Common\DBConnectionString.cs (4)
309
return ((null == _restrictionValues) || (0 > Array.
BinarySearch
(_restrictionValues, key, StringComparer.Ordinal)));
346
if (0 > Array.
BinarySearch
(preventusage, allowonly[i], StringComparer.Ordinal)) {
364
if (0 <= Array.
BinarySearch
(b, a[i], StringComparer.Ordinal)) {
391
if (0 > Array.
BinarySearch
(a, b[i], StringComparer.Ordinal)) {
System.Data.Entity (1)
System\Data\Metadata\Edm\TypeUsage.cs (1)
574
if (0 <= Array.
BinarySearch
(s_identityFacets, facet.Name, StringComparer.Ordinal))
System.ServiceModel (3)
System\ServiceModel\Channels\SequenceRangeCollection.cs (3)
77
lowerBound = Array.
BinarySearch
(sortedRanges, new SequenceRange(range.Lower), upperComparer);
118
upperBound = Array.
BinarySearch
(sortedRanges, new SequenceRange(range.Upper), lowerComparer);
251
int searchValue = Array.
BinarySearch
(this.ranges, searchFor, lowerComparer);
System.Web (1)
ModelBinding\PrefixContainer.cs (1)
33
return Array.
BinarySearch
(_sortedValues, prefix, new PrefixComparer(prefix)) > -1;
System.Xml (1)
System\Xml\Core\XmlTextReaderImpl.cs (1)
8213
if (Array.
BinarySearch
<object>(nameSortedNodeData, defAttrInfo, DtdDefaultAttributeInfoToNodeDataComparer.Instance) >= 0) {