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