Implemented interface member:
method
Equals
System.Collections.Generic.IEqualityComparer<T>.Equals(T, T)
4 overrides of Equals
mscorlib (4)
system\stringcomparer.cs (4)
171
public override bool
Equals
(string x, string y) {
268
public override bool
Equals
(string x, string y) {
340
public override bool
Equals
(string x, string y) {
416
public override bool
Equals
(string x, string y) {
285 references to Equals
mscorlib (6)
system\AppDomainSetup.cs (3)
583
if(StringComparer.OrdinalIgnoreCase.
Equals
("NetFx40_Legacy20SortingBehavior", str)) {
591
if(StringComparer.OrdinalIgnoreCase.
Equals
("NetFx45_Legacy40SortingBehavior", str)) {
601
if(StringComparer.OrdinalIgnoreCase.
Equals
("UseRandomizedStringHashAlgorithm", str)) {
system\security\principal\windowsidentity.cs (2)
1401
if (!foundPrimaryGroupSid && StringComparer.Ordinal.
Equals
( groupSid.Value, primaryGroupSid.Value))
1412
if (!foundPrimaryGroupSid && StringComparer.Ordinal.
Equals
( groupSid.Value, primaryGroupSid.Value))
system\stringcomparer.cs (1)
106
return
Equals
(sa, sb);
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\DynamicActivityPropertyChooserViewModel.cs (1)
116
if (StringComparer.Ordinal.
Equals
(this.SelectedPropertyName, property.Name))
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\DynamicActivityPropertyUtilities.cs (1)
19
if (StringComparer.Ordinal.
Equals
(property.Name, propertyName))
System.Activities.Presentation\System\Activities\Presentation\PropertyReferenceUtilities.cs (2)
25
if (StringComparer.Ordinal.
Equals
(reference.TargetProperty, targetProperty))
46
if (StringComparer.Ordinal.
Equals
(reference.TargetProperty, targetProperty))
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
589
if (lastNamespace == null || !StringComparer.OrdinalIgnoreCase.
Equals
(lastNamespace.DisplayName, type.Namespace))
System.Data (38)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
589
if (lastNamespace == null || !StringComparer.OrdinalIgnoreCase.
Equals
(lastNamespace.DisplayName, type.Namespace))
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (2)
414
if (StringComparer.OrdinalIgnoreCase.
Equals
(DbConnectionStringKeywords.Password, keyword) ||
415
StringComparer.OrdinalIgnoreCase.
Equals
(DbConnectionStringSynonyms.Pwd, keyword)) {
fx\src\data\System\Data\Common\DbConnectionStringCommon.cs (29)
248
if (StringComparer.OrdinalIgnoreCase.
Equals
(svalue, "true") || StringComparer.OrdinalIgnoreCase.
Equals
(svalue, "yes"))
250
else if (StringComparer.OrdinalIgnoreCase.
Equals
(svalue, "false") || StringComparer.OrdinalIgnoreCase.
Equals
(svalue, "no"))
255
if (StringComparer.OrdinalIgnoreCase.
Equals
(tmp, "true") || StringComparer.OrdinalIgnoreCase.
Equals
(tmp, "yes"))
257
else if (StringComparer.OrdinalIgnoreCase.
Equals
(tmp, "false") || StringComparer.OrdinalIgnoreCase.
Equals
(tmp, "no"))
278
if (StringComparer.OrdinalIgnoreCase.
Equals
(svalue, "sspi") || StringComparer.OrdinalIgnoreCase.
Equals
(svalue, "true") || StringComparer.OrdinalIgnoreCase.
Equals
(svalue, "yes"))
280
else if (StringComparer.OrdinalIgnoreCase.
Equals
(svalue, "false") || StringComparer.OrdinalIgnoreCase.
Equals
(svalue, "no"))
285
if (StringComparer.OrdinalIgnoreCase.
Equals
(tmp, "sspi") || StringComparer.OrdinalIgnoreCase.
Equals
(tmp, "true") || StringComparer.OrdinalIgnoreCase.
Equals
(tmp, "yes"))
287
else if (StringComparer.OrdinalIgnoreCase.
Equals
(tmp, "false") || StringComparer.OrdinalIgnoreCase.
Equals
(tmp, "no"))
336
if (StringComparer.OrdinalIgnoreCase.
Equals
(value, PoolBlockingPeriodAutoString))
341
else if (StringComparer.OrdinalIgnoreCase.
Equals
(value, PoolBlockingPeriodAlwaysBlockString))
346
else if (StringComparer.OrdinalIgnoreCase.
Equals
(value, PoolBlockingPeriodNeverBlockString))
471
if (StringComparer.OrdinalIgnoreCase.
Equals
(value, ApplicationIntentReadOnlyString))
476
else if (StringComparer.OrdinalIgnoreCase.
Equals
(value, ApplicationIntentReadWriteString))
598
if (StringComparer.InvariantCultureIgnoreCase.
Equals
(value, SqlPasswordString))
603
else if (StringComparer.InvariantCultureIgnoreCase.
Equals
(value, ActiveDirectoryPasswordString))
608
else if (StringComparer.InvariantCultureIgnoreCase.
Equals
(value, ActiveDirectoryIntegratedString))
613
else if (StringComparer.InvariantCultureIgnoreCase.
Equals
(value, ActiveDirectoryInteractiveString))
639
if (StringComparer.InvariantCultureIgnoreCase.
Equals
(value, ColumnEncryptionSettingEnabledString)) {
643
else if (StringComparer.InvariantCultureIgnoreCase.
Equals
(value, ColumnEncryptionSettingDisabledString)) {
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (2)
230
if (StringComparer.OrdinalIgnoreCase.
Equals
(s, keyword)) {
247
if (StringComparer.OrdinalIgnoreCase.
Equals
(s, keyword)) {
fx\src\data\System\Data\SqlClient\SqlConnectionStringBuilder.cs (4)
1241
if (StringComparer.OrdinalIgnoreCase.
Equals
(svalue, NamedPipes)) {
1244
else if (StringComparer.OrdinalIgnoreCase.
Equals
(svalue, SharedMemory)) {
1247
else if (StringComparer.OrdinalIgnoreCase.
Equals
(svalue, TCPIP)) {
1250
else if (StringComparer.OrdinalIgnoreCase.
Equals
(svalue, VIA)) {
System.Data.Entity (7)
System\Data\Common\EntitySql\SemanticResolver.cs (1)
625
Debug.Assert(this.NameComparer.
Equals
(name, member.Name), "this.NameComparer.Equals(name, member.Name)");
System\Data\Common\EntitySql\TypeResolver.cs (2)
72
return _stringComparer.
Equals
(x.Name, y.Name);
387
Debug.Assert(_parserOptions.NameComparer.
Equals
(name, member.Name), "_parserOptions.NameComparer.Equals(name, member.Name)");
System\Data\Common\EntityUtil.cs (2)
1523
if (!StringComparer.Ordinal.
Equals
(containerName1, containerName2) ||
1524
!StringComparer.Ordinal.
Equals
(setName1, setName2))
System\Data\Common\Utils\TrailingSpaceComparer.cs (1)
57
return StringComparer.OrdinalIgnoreCase.
Equals
(NormalizeString(x), NormalizeString(y));
System\Data\Objects\ObjectContext.cs (1)
2847
if (StringComparer.OrdinalIgnoreCase.
Equals
(parameters[i].Name, parameterName))
System.Data.Entity.Design (1)
System\Data\EntityModel\Emitters\Utils.cs (1)
213
if (StringComparer.OrdinalIgnoreCase.
Equals
(name, "id"))
System.Data.Services (1)
System\Data\Services\HttpContextServiceHost.cs (1)
401
if (key != null && StringComparer.OrdinalIgnoreCase.
Equals
(key.Trim(), item))
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\Utils.cs (1)
351
if (StringComparer.OrdinalIgnoreCase.
Equals
(propertyName, "id"))
System.IdentityModel (196)
System\IdentityModel\Claims\AuthenticationTypeMaps.cs (2)
70
if (StringComparer.Ordinal.
Equals
( normalizedAuthenticationMethod, mapping.Normalized ) )
87
if ( StringComparer.Ordinal.
Equals
( unnormalizedAuthenticationMethod, mapping.Unnormalized ) )
System\IdentityModel\Claims\ClaimComparer.cs (1)
279
if (StringComparer.Ordinal.
Equals
(dn1.Name, dn2.Name))
System\IdentityModel\Claims\ClaimsConversionHelper.cs (10)
118
if (StringComparer.Ordinal.
Equals
(claim.ClaimType, ClaimTypes.Sid))
139
if (StringComparer.Ordinal.
Equals
(claim.ClaimType, ClaimTypes.Sid) && claim.Resource is SecurityIdentifier)
151
else if (StringComparer.Ordinal.
Equals
(claim.ClaimType, ClaimTypes.Email) && claim.Resource is MailAddress)
156
else if (StringComparer.Ordinal.
Equals
(claim.ClaimType, ClaimTypes.Thumbprint) && claim.Resource is byte[])
162
else if (StringComparer.Ordinal.
Equals
(claim.ClaimType, ClaimTypes.Hash) && claim.Resource is byte[])
168
else if (StringComparer.Ordinal.
Equals
(claim.ClaimType, ClaimTypes.NameIdentifier) && claim.Resource is SamlNameIdentifierClaimResource)
183
else if (StringComparer.Ordinal.
Equals
(claim.ClaimType, ClaimTypes.X500DistinguishedName) && claim.Resource is X500DistinguishedName)
189
else if (StringComparer.Ordinal.
Equals
(claim.ClaimType, ClaimTypes.Uri) && claim.Resource is Uri)
194
else if (StringComparer.Ordinal.
Equals
(claim.ClaimType, ClaimTypes.Rsa) && claim.Resource is RSA)
200
else if (StringComparer.Ordinal.
Equals
(claim.ClaimType, ClaimTypes.DenyOnlySid) && claim.Resource is SecurityIdentifier)
System\IdentityModel\Claims\ClaimsHelper.cs (1)
59
if (StringComparer.Ordinal.
Equals
(ClaimTypes.Upn, claim.Type))
System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
116
else if (StringComparer.OrdinalIgnoreCase.
Equals
(this.certificate.SubjectName.Name, this.certificate.IssuerName.Name))
System\IdentityModel\Configuration\IdentityConfiguration.cs (1)
450
StringComparer.Ordinal.
Equals
(handlerElementCollection.Name, ConfigurationStrings.DefaultConfigurationElementName))
System\IdentityModel\Configuration\IdentityConfigurationElementCollection.cs (1)
61
if (!StringComparer.Ordinal.
Equals
(name, ConfigurationStrings.DefaultConfigurationElementName) && result == null)
System\IdentityModel\Metadata\MetadataSerializer.cs (13)
195
if (StringComparer.Ordinal.
Equals
(conactType, "unspecified"))
199
else if (StringComparer.Ordinal.
Equals
(conactType, "administrative"))
203
else if (StringComparer.Ordinal.
Equals
(conactType, "billing"))
207
else if (StringComparer.Ordinal.
Equals
(conactType, "other"))
211
else if (StringComparer.Ordinal.
Equals
(conactType, "support"))
215
else if (StringComparer.Ordinal.
Equals
(conactType, "technical"))
230
else if (StringComparer.Ordinal.
Equals
(keyType, "encryption"))
234
else if (StringComparer.Ordinal.
Equals
(keyType, "signing"))
569
if (!StringComparer.Ordinal.
Equals
(entity.FederationId, resultEntityGroup.Name))
754
else if (!StringComparer.Ordinal.
Equals
(ns, FederationMetadataConstants.Namespace))
758
else if (StringComparer.Ordinal.
Equals
(xsiType, prefix + ":" + FederationMetadataConstants.Elements.ApplicationServiceType))
762
else if (StringComparer.Ordinal.
Equals
(xsiType, prefix + ":" + FederationMetadataConstants.Elements.SecurityTokenServiceType))
2176
if (!StringComparer.Ordinal.
Equals
(entity.FederationId, entitiesDescriptor.Name))
System\IdentityModel\Protocols\WSTrust\RequestSecurityTokenResponse.cs (1)
53
if (message.KeySizeInBits > 0 && StringComparer.Ordinal.
Equals
(message.KeyType, KeyTypes.Symmetric))
System\IdentityModel\Protocols\WSTrust\WSTrust13RequestSerializer.cs (3)
212
if (StringComparer.Ordinal.
Equals
(elementName, WSTrust13Constants.ElementNames.SecondaryParameters))
243
if (StringComparer.Ordinal.
Equals
(elementName, WSTrust13Constants.ElementNames.KeyWrapAlgorithm))
249
if (StringComparer.Ordinal.
Equals
(elementName, WSTrust13Constants.ElementNames.ValidateTarget))
System\IdentityModel\Protocols\WSTrust\WSTrust13ResponseSerializer.cs (1)
191
if (StringComparer.Ordinal.
Equals
(elementName, WSTrust13Constants.ElementNames.KeyWrapAlgorithm))
System\IdentityModel\Protocols\WSTrust\WSTrustConstantsAdapter.cs (2)
107
if (StringComparer.Ordinal.
Equals
(ns, WSTrustFeb2005Constants.NamespaceURI))
111
else if (StringComparer.Ordinal.
Equals
(ns, WSTrust13Constants.NamespaceURI))
System\IdentityModel\Protocols\WSTrust\WSTrustRequestSerializer.cs (2)
80
if ((StringComparer.Ordinal.
Equals
(requestSecurityToken.RequestType, RequestTypes.Issue) || requestSecurityToken.RequestType == null) &&
81
StringComparer.Ordinal.
Equals
(requestSecurityToken.KeyType, KeyTypes.Asymmetric) &&
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (71)
212
if (!StringComparer.Ordinal.
Equals
(rst.Claims.Dialect, WSAuthorizationConstants.Dialect))
911
if (StringComparer.Ordinal.
Equals
(elementName, WSPolicyConstants.ElementNames.AppliesTo))
918
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.Claims))
943
if (StringComparer.Ordinal.
Equals
(claims.Dialect, WSAuthorizationConstants.Dialect))
960
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.ComputedKeyAlgorithm))
966
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.BinaryExchange))
972
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.Issuer))
978
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.SignWith))
989
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.EncryptWith))
1000
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.Entropy))
1013
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.KeySize))
1019
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.KeyType))
1025
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.Lifetime))
1032
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.RenewTarget))
1055
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.OnBehalfOf))
1064
if (StringComparer.Ordinal.
Equals
(elementName, WSTrust14Constants.ElementNames.ActAs))
1073
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.RequestType))
1084
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.TokenType))
1095
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.UseKey))
1117
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.AuthenticationType))
1128
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.EncryptionAlgorithm))
1139
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.CanonicalizationAlgorithm))
1150
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.SignatureAlgorithm))
1161
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.Encryption))
1180
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.ProofEncryption))
1199
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.DelegateTo))
1218
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.Forwardable))
1231
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.Delegatable))
1244
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.AllowPostdating))
1251
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.Renewing))
1266
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.CancelTarget))
1290
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.Participants))
1319
if (StringComparer.Ordinal.
Equals
(elementName, WSAuthorizationConstants.Elements.AdditionalContext))
1868
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.Entropy))
1881
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.KeySize))
1887
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.Lifetime))
1894
if (StringComparer.Ordinal.
Equals
(elementName, WSPolicyConstants.ElementNames.AppliesTo))
1901
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.RequestedSecurityToken))
1920
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.RequestedProofToken))
1944
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.RequestedAttachedReference))
1952
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.RequestedUnattachedReference))
1960
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.TokenType))
1971
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.RequestType))
1982
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.KeyType))
1988
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.AuthenticationType))
1999
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.EncryptionAlgorithm))
2010
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.CanonicalizationAlgorithm))
2021
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.SignatureAlgorithm))
2032
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.SignWith))
2043
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.EncryptWith))
2054
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.BinaryExchange))
2060
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.Status))
2066
if (StringComparer.Ordinal.
Equals
(elementName, trustConstants.Elements.RequestedTokenCancelled))
2100
if (StringComparer.Ordinal.
Equals
(computedKeyAlgorithm, trustConstants.ComputedKeyAlgorithm.Psha1))
2131
if (StringComparer.Ordinal.
Equals
(computedKeyAlgorithm, ComputedKeyAlgorithms.Psha1))
2489
if (StringComparer.Ordinal.
Equals
(requestType, RequestTypes.Issue) || StringComparer.Ordinal.
Equals
(requestType, trustConstants.RequestTypes.Issue))
2493
else if (StringComparer.Ordinal.
Equals
(requestType, RequestTypes.Renew) || StringComparer.Ordinal.
Equals
(requestType, trustConstants.RequestTypes.Renew))
2497
else if (StringComparer.Ordinal.
Equals
(requestType, RequestTypes.Cancel) || StringComparer.Ordinal.
Equals
(requestType, trustConstants.RequestTypes.Cancel))
2501
else if (StringComparer.Ordinal.
Equals
(requestType, RequestTypes.Validate) || StringComparer.Ordinal.
Equals
(requestType, trustConstants.RequestTypes.Validate))
2758
if (StringComparer.Ordinal.
Equals
(keyType, KeyTypes.Asymmetric) || StringComparer.Ordinal.
Equals
(keyType, trustConstants.KeyTypes.Asymmetric))
2762
else if (StringComparer.Ordinal.
Equals
(keyType, KeyTypes.Symmetric) || StringComparer.Ordinal.
Equals
(keyType, trustConstants.KeyTypes.Symmetric))
2766
else if (StringComparer.Ordinal.
Equals
(keyType, KeyTypes.Bearer) || StringComparer.Ordinal.
Equals
(keyType, trustConstants.KeyTypes.Bearer))
2889
if (StringComparer.Ordinal.
Equals
(dialect, WSAuthorizationConstants.Dialect))
2901
if (StringComparer.Ordinal.
Equals
(dialect, WSAuthorizationConstants.Dialect))
System\IdentityModel\RsaSignatureCookieTransform.cs (3)
348
return (StringComparer.OrdinalIgnoreCase.
Equals
(HashName, "SHA256")
349
|| StringComparer.OrdinalIgnoreCase.
Equals
(HashName, "SHA-256")
350
|| StringComparer.OrdinalIgnoreCase.
Equals
(HashName, "System.Security.Cryptography.SHA256"));
System\IdentityModel\SecurityTokenService.cs (9)
354
if (StringComparer.Ordinal.
Equals
(keyType, KeyTypes.Asymmetric))
366
else if (StringComparer.Ordinal.
Equals
(keyType, KeyTypes.Symmetric))
371
if (request.ComputedKeyAlgorithm != null && !StringComparer.Ordinal.
Equals
(request.ComputedKeyAlgorithm, ComputedKeyAlgorithms.Psha1))
408
else if (StringComparer.Ordinal.
Equals
(keyType, KeyTypes.Bearer))
1077
if (StringComparer.Ordinal.
Equals
(request.KeyType, KeyTypes.Bearer) && request.KeySizeInBits.HasValue && (request.KeySizeInBits.Value != 0))
1090
if (StringComparer.Ordinal.
Equals
(request.KeyType, KeyTypes.Symmetric))
1111
return (StringComparer.Ordinal.
Equals
(keyType, KeyTypes.Symmetric)
1112
|| StringComparer.Ordinal.
Equals
(keyType, KeyTypes.Asymmetric)
1113
|| StringComparer.Ordinal.
Equals
(keyType, KeyTypes.Bearer));
System\IdentityModel\SignedXml.cs (1)
1145
if (StringComparer.OrdinalIgnoreCase.
Equals
(uri, String.Empty))
System\IdentityModel\Tokens\ConfigurationBasedIssuerNameRegistry.cs (6)
67
if (!StringComparer.Ordinal.
Equals
(customConfigElement.LocalName, ConfigurationStrings.TrustedIssuers))
77
if (StringComparer.Ordinal.
Equals
(childElement.LocalName, ConfigurationStrings.Add))
97
else if (StringComparer.Ordinal.
Equals
(childElement.LocalName, ConfigurationStrings.Remove))
99
if (childElement.Attributes.Count != 1 || !StringComparer.Ordinal.
Equals
(childElement.Attributes[0].LocalName, ConfigurationStrings.Thumbprint))
112
else if (StringComparer.Ordinal.
Equals
(childElement.LocalName, ConfigurationStrings.Clear))
209
return StringComparer.OrdinalIgnoreCase.
Equals
(x, y);
System\IdentityModel\Tokens\Saml2AssertionKeyIdentifierClause.cs (2)
69
if (null != saml2Clause && StringComparer.Ordinal.
Equals
(assertionId, saml2Clause.Id))
84
if (null != wcfClause && StringComparer.Ordinal.
Equals
(assertionId, wcfClause.AssertionId))
System\IdentityModel\Tokens\Saml2Id.cs (1)
77
return (null != other) && StringComparer.Ordinal.
Equals
(this.value, other.Value);
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (9)
589
if (!StringComparer.Ordinal.
Equals
(TokenProfile11ValueType, value))
1090
if (!StringComparer.Ordinal.
Equals
(ClaimsIdentity.DefaultIssuer, claim.OriginalIssuer))
1830
if (StringComparer.Ordinal.
Equals
(attribute.Name, ClaimTypes.Actor))
2663
if (!StringComparer.Ordinal.
Equals
(assertion.Version, version))
3224
if (!StringComparer.Ordinal.
Equals
(data.AttributeValueXsiType, ClaimValueTypes.String))
3874
else if (StringComparer.Ordinal.
Equals
(SamlAccessDecision.Permit.ToString(), value))
3878
else if (StringComparer.Ordinal.
Equals
(SamlAccessDecision.Deny.ToString(), value))
3882
else if (StringComparer.Ordinal.
Equals
(SamlAccessDecision.Indeterminate.ToString(), value))
4640
StringComparer.Ordinal.
Equals
(nameIdentifier.Format.AbsoluteUri, Saml2Constants.NameIdentifierFormats.Entity.AbsoluteUri))
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (8)
713
if (!StringComparer.Ordinal.
Equals
(ClaimsIdentity.DefaultIssuer, claim.OriginalIssuer))
1258
else if (StringComparer.Ordinal.
Equals
(attr.Name, SamlConstants.ElementNames.NameIdentifier))
1292
if (StringComparer.Ordinal.
Equals
(ClaimTypes.NameIdentifier, claimType) && GetClaim(subject, ClaimTypes.NameIdentifier) != null)
1324
if (StringComparer.Ordinal.
Equals
(claimType, claim.Type))
2788
if (SamlAttribute != null && !StringComparer.Ordinal.
Equals
(SamlAttribute.AttributeValueXsiType, ClaimValueTypes.String))
3558
if (!StringComparer.Ordinal.
Equals
(subject.Name, requiredSubjectName) ||
3559
!StringComparer.Ordinal.
Equals
(subject.NameFormat, requiredSubjectFormat) ||
3560
!StringComparer.Ordinal.
Equals
(subject.NameQualifier, requiredSubjectQualifier))
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (19)
69
if (StringComparer.OrdinalIgnoreCase.
Equals
(attribute.LocalName, ConfigurationStrings.MapToWindows))
78
else if (StringComparer.OrdinalIgnoreCase.
Equals
(attribute.LocalName, ConfigurationStrings.IssuerCertificateValidator))
82
else if (StringComparer.OrdinalIgnoreCase.
Equals
(attribute.LocalName, ConfigurationStrings.IssuerCertificateRevocationMode))
88
if (StringComparer.OrdinalIgnoreCase.
Equals
(revocationModeString, ConfigurationStrings.X509RevocationModeNoCheck))
93
else if (StringComparer.OrdinalIgnoreCase.
Equals
(revocationModeString, ConfigurationStrings.X509RevocationModeOffline))
98
else if (StringComparer.OrdinalIgnoreCase.
Equals
(revocationModeString, ConfigurationStrings.X509RevocationModeOnline))
108
else if (StringComparer.OrdinalIgnoreCase.
Equals
(attribute.LocalName, ConfigurationStrings.IssuerCertificateValidationMode))
114
if (StringComparer.OrdinalIgnoreCase.
Equals
(validationModeString, ConfigurationStrings.X509CertificateValidationModeChainTrust))
119
else if (StringComparer.OrdinalIgnoreCase.
Equals
(validationModeString, ConfigurationStrings.X509CertificateValidationModePeerOrChainTrust))
124
else if (StringComparer.OrdinalIgnoreCase.
Equals
(validationModeString, ConfigurationStrings.X509CertificateValidationModePeerTrust))
129
else if (StringComparer.OrdinalIgnoreCase.
Equals
(validationModeString, ConfigurationStrings.X509CertificateValidationModeNone))
134
else if (StringComparer.OrdinalIgnoreCase.
Equals
(validationModeString, ConfigurationStrings.X509CertificateValidationModeCustom))
144
else if (StringComparer.OrdinalIgnoreCase.
Equals
(attribute.LocalName, ConfigurationStrings.IssuerCertificateTrustedStoreLocation))
150
if (StringComparer.OrdinalIgnoreCase.
Equals
(trustedStoreLocationString, ConfigurationStrings.X509TrustedStoreLocationCurrentUser))
155
else if (StringComparer.OrdinalIgnoreCase.
Equals
(trustedStoreLocationString, ConfigurationStrings.X509TrustedStoreLocationLocalMachine))
175
if (StringComparer.Ordinal.
Equals
(childElement.LocalName, ConfigurationStrings.NameClaimType))
177
if (childElement.Attributes.Count != 1 || !StringComparer.Ordinal.
Equals
(childElement.Attributes[0].LocalName, ConfigurationStrings.Value))
183
else if (StringComparer.Ordinal.
Equals
(childElement.LocalName, ConfigurationStrings.RoleClaimType))
185
if (childElement.Attributes.Count != 1 || !StringComparer.Ordinal.
Equals
(childElement.Attributes[0].LocalName, ConfigurationStrings.Value))
System\IdentityModel\Tokens\SessionSecurityTokenCacheKey.cs (1)
148
if (!StringComparer.Ordinal.
Equals
(key2.EndpointId, this.endpointId))
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (2)
107
if (!StringComparer.Ordinal.
Equals
(customConfigElement.LocalName, ConfigurationStrings.SessionTokenRequirement))
121
if (StringComparer.OrdinalIgnoreCase.
Equals
(attribute.LocalName, ConfigurationStrings.Lifetime))
System\IdentityModel\Tokens\UserNameSecurityTokenHandler.cs (1)
132
if (!string.IsNullOrEmpty(type) && !StringComparer.Ordinal.
Equals
(type, WSSecurity10Constants.UPTokenPasswordTextValue))
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (20)
109
if (!StringComparer.Ordinal.
Equals
(customConfigElement.LocalName, ConfigurationStrings.X509SecurityTokenHandlerRequirement))
121
if (StringComparer.OrdinalIgnoreCase.
Equals
(attribute.LocalName, ConfigurationStrings.MapToWindows))
125
else if (StringComparer.OrdinalIgnoreCase.
Equals
(attribute.LocalName, ConfigurationStrings.X509CertificateValidator))
129
else if (StringComparer.OrdinalIgnoreCase.
Equals
(attribute.LocalName, ConfigurationStrings.X509CertificateRevocationMode))
135
if (StringComparer.OrdinalIgnoreCase.
Equals
(revocationModeString, ConfigurationStrings.X509RevocationModeNoCheck))
139
else if (StringComparer.OrdinalIgnoreCase.
Equals
(revocationModeString, ConfigurationStrings.X509RevocationModeOffline))
143
else if (StringComparer.OrdinalIgnoreCase.
Equals
(revocationModeString, ConfigurationStrings.X509RevocationModeOnline))
152
else if (StringComparer.OrdinalIgnoreCase.
Equals
(attribute.LocalName, ConfigurationStrings.X509CertificateValidationMode))
158
if (StringComparer.OrdinalIgnoreCase.
Equals
(validationModeString, ConfigurationStrings.X509CertificateValidationModeChainTrust))
162
else if (StringComparer.OrdinalIgnoreCase.
Equals
(validationModeString, ConfigurationStrings.X509CertificateValidationModePeerOrChainTrust))
166
else if (StringComparer.OrdinalIgnoreCase.
Equals
(validationModeString, ConfigurationStrings.X509CertificateValidationModePeerTrust))
170
else if (StringComparer.OrdinalIgnoreCase.
Equals
(validationModeString, ConfigurationStrings.X509CertificateValidationModeNone))
174
else if (StringComparer.OrdinalIgnoreCase.
Equals
(validationModeString, ConfigurationStrings.X509CertificateValidationModeCustom))
183
else if (StringComparer.OrdinalIgnoreCase.
Equals
(attribute.LocalName, ConfigurationStrings.X509TrustedStoreLocation))
189
if (StringComparer.OrdinalIgnoreCase.
Equals
(trustedStoreLocationString, ConfigurationStrings.X509TrustedStoreLocationCurrentUser))
193
else if (StringComparer.OrdinalIgnoreCase.
Equals
(trustedStoreLocationString, ConfigurationStrings.X509TrustedStoreLocationLocalMachine))
359
return StringComparer.Ordinal.
Equals
(valueTypeUri, WSSecurity10Constants.X509TokenType);
441
if (!StringComparer.Ordinal.
Equals
(valueTypeUri, WSSecurity10Constants.X509TokenType))
458
if (encoding == null || StringComparer.Ordinal.
Equals
(encoding, WSSecurity10Constants.Base64EncodingType))
462
else if (StringComparer.Ordinal.
Equals
(encoding, WSSecurity10Constants.HexBinaryEncodingType))
System\IdentityModel\XmlUtil.cs (4)
141
&& StringComparer.Ordinal.
Equals
(localName, qname.Name)
142
&& StringComparer.Ordinal.
Equals
(namespaceUri, qname.Namespace);
191
else if (!(StringComparer.Ordinal.
Equals
(expectedTypeNamespace, declaredType.Namespace)
192
&& StringComparer.Ordinal.
Equals
(expectedTypeName, declaredType.Name)))
System.ServiceModel (30)
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (2)
679
if (StringComparer.Ordinal.
Equals
(securitySpecification, WSTrustFeb2005Constants.NamespaceURI))
683
else if (StringComparer.Ordinal.
Equals
(securitySpecification, WSTrust13Constants.NamespaceURI))
System\ServiceModel\Security\FederatedSecurityTokenManager.cs (13)
142
if ( StringComparer.Ordinal.
Equals
( tokenType, SecurityTokenTypes.UserName ) )
152
else if ( StringComparer.Ordinal.
Equals
( tokenType, SecurityTokenTypes.Kerberos ) )
156
else if ( StringComparer.Ordinal.
Equals
( tokenType, SecurityTokenTypes.Rsa ) )
166
else if ( StringComparer.Ordinal.
Equals
( tokenType, SecurityTokenTypes.X509Certificate ) )
176
else if ( StringComparer.Ordinal.
Equals
( tokenType, SecurityTokenTypes.SamlTokenProfile11 ) ||
177
StringComparer.Ordinal.
Equals
( tokenType, SecurityTokenTypes.OasisWssSamlTokenProfile11 ) )
195
else if ( StringComparer.Ordinal.
Equals
( tokenType, SecurityTokenTypes.Saml2TokenProfile11 ) ||
196
StringComparer.Ordinal.
Equals
( tokenType, SecurityTokenTypes.OasisWssSaml2TokenProfile11 ) )
214
else if ( StringComparer.Ordinal.
Equals
( tokenType, ServiceModelSecurityTokenTypes.SecureConversation ) )
358
if ( StringComparer.Ordinal.
Equals
( securitySpecification, WSTrustFeb2005Constants.NamespaceURI ) )
362
else if ( StringComparer.Ordinal.
Equals
( securitySpecification, WSTrust13Constants.NamespaceURI ) )
366
else if ( StringComparer.Ordinal.
Equals
( securitySpecification, WSSecureConversationFeb2005Constants.Namespace ) )
370
else if ( StringComparer.Ordinal.
Equals
( securitySpecification, WSSecureConversation13Constants.Namespace ) )
System\ServiceModel\Security\WSTrustServiceContract.cs (9)
1700
if (StringComparer.Ordinal.
Equals
(portType.Name, WSTrustServiceContractConstants.Contracts.IWSTrustFeb2005Sync))
1752
else if (StringComparer.OrdinalIgnoreCase.
Equals
(portType.Name, WSTrustServiceContractConstants.Contracts.IWSTrust13Sync))
1805
else if (StringComparer.OrdinalIgnoreCase.
Equals
(portType.Name, WSTrustServiceContractConstants.Contracts.IWSTrustFeb2005Async))
1858
else if (StringComparer.OrdinalIgnoreCase.
Equals
(portType.Name, WSTrustServiceContractConstants.Contracts.IWSTrust13Async))
1945
if (StringComparer.Ordinal.
Equals
(namespaces[i].Namespace, ns))
1993
if ((schemaImport != null) && StringComparer.Ordinal.
Equals
(schemaImport.Namespace, ns))
2135
if (StringComparer.Ordinal.
Equals
(op.Name, operationName))
2142
if (StringComparer.Ordinal.
Equals
(message.Name, op.Messages.Input.Message.Name))
2151
else if (StringComparer.Ordinal.
Equals
(message.Name, op.Messages.Output.Message.Name))
System\ServiceModel\Security\WSTrustServiceHost.cs (4)
113
if (StringComparer.OrdinalIgnoreCase.
Equals
(baseAddress.Scheme, Uri.UriSchemeHttp))
118
else if (StringComparer.OrdinalIgnoreCase.
Equals
(baseAddress.Scheme, Uri.UriSchemeHttps))
123
else if (StringComparer.OrdinalIgnoreCase.
Equals
(baseAddress.Scheme, Uri.UriSchemeNetTcp))
127
else if (StringComparer.OrdinalIgnoreCase.
Equals
(baseAddress.Scheme, Uri.UriSchemeNetPipe))
System\UriTemplateHelpers.cs (1)
40
if (StringComparer.OrdinalIgnoreCase.
Equals
(queryKeys[i], queryKeyName))
System\UriTemplateLiteralPathSegment.cs (1)
102
StringComparer.OrdinalIgnoreCase.
Equals
(this.segment, lps.segment));