Implemented interface member:
method
Compare
System.Collections.Generic.IComparer<T>.Compare(T, T)
4 overrides of Compare
mscorlib (4)
system\stringcomparer.cs (4)
163public override int Compare(string x, string y) { 261public override int Compare(string x, string y) { 328public override int Compare(string x, string y) { 404public override int Compare(string x, string y) {
26 references to Compare
mscorlib (2)
System\Diagnostics\Eventing\TraceLogging\NameInfo.cs (1)
67int result = StringComparer.Ordinal.Compare(this.name, otherName);
system\stringcomparer.cs (1)
85return Compare(sa, sb);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegateUtilities.cs (1)
127return StringComparer.Ordinal.Compare(x.Name, y.Name);
System.Data (4)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDelegateUtilities.cs (1)
127return StringComparer.Ordinal.Compare(x.Name, y.Name);
fx\src\data\System\Data\Common\DbConnectionOptions.cs (1)
357return (0 == StringComparer.OrdinalIgnoreCase.Compare(strvalue, strconst));
fx\src\data\System\Data\Common\DBConnectionString.cs (1)
471Debug.Assert(0 >= StringComparer.Ordinal.Compare(restrictionValues[i-1], restrictionValues[i]));
fx\src\data\System\Data\Common\NameValuePermission.cs (1)
61return StringComparer.Ordinal.Compare(_value, ((NameValuePermission)a)._value);
System.Data.Entity (6)
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
405sr.NameComparer.Compare(arg.VariableName, name) == 0))
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (2)
318result = StringComparer.Ordinal.Compare(this.m_processor.Table.Name, other.m_processor.Table.Name); 320result = StringComparer.Ordinal.Compare(this.m_processor.Table.EntityContainer.Name, other.m_processor.Table.EntityContainer.Name);
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (2)
377result = StringComparer.Ordinal.Compare(thisParent.EntitySet.Name, otherParent.EntitySet.Name); 379result = StringComparer.Ordinal.Compare(thisParent.EntitySet.EntityContainer.Name, otherParent.EntitySet.EntityContainer.Name);
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (1)
410return StringComparer.Ordinal.Compare(x.OriginalCellNumberString, y.OriginalCellNumberString);
System.Data.Services (1)
System\Data\Services\Providers\ResourceType.cs (1)
992return StringComparer.OrdinalIgnoreCase.Compare(a.Name, b.Name);
System.IdentityModel (1)
System\IdentityModel\Selectors\SamlSecurityTokenAuthenticator.cs (1)
149if (StringComparer.Ordinal.Compare(audienceRestrictionCondition.Audiences[i].AbsoluteUri, this.allowedAudienceUris[j]) == 0)
System.ServiceModel (6)
System\ServiceModel\Channels\HttpTransportManager.cs (1)
141Fx.Assert(StringComparer.OrdinalIgnoreCase.Compare(requestMethod, "GET") == 0, "The requestMethod must be GET in WebSocket case.");
System\ServiceModel\Channels\WebSocketTransportSettings.cs (1)
191&& StringComparer.OrdinalIgnoreCase.Compare(this.SubProtocol, other.SubProtocol) == 0
System\UriTemplateCompoundPathSegment.cs (2)
159if (StringComparer.OrdinalIgnoreCase.Compare(this.firstLiteral, otherAsCompound.firstLiteral) != 0) 165if (StringComparer.OrdinalIgnoreCase.Compare(this.varLitPairs[pairIndex].Literal,
System\UriTemplateLiteralPathSegment.cs (2)
88return StringComparer.OrdinalIgnoreCase.Compare(this.segment, other.segment); 139Fx.Assert(StringComparer.OrdinalIgnoreCase.Compare(AsUnescapedString(), segment) == 0,
System.Web (3)
ModelBinding\PrefixContainer.cs (1)
81return StringComparer.OrdinalIgnoreCase.Compare(x, y);
VirtualPath.cs (2)
83return StringComparer.InvariantCultureIgnoreCase.Compare( 472return StringComparer.InvariantCultureIgnoreCase.Compare(
System.Workflow.Activities (2)
LocalService\MessageQueueKey.cs (2)
107int compared = StringComparer.Ordinal.Compare(this.MethodName, eventQueueName.MethodName); 113compared = StringComparer.Ordinal.Compare(AssemblyQualifiedName, eventQueueName.AssemblyQualifiedName);