323 references to Ordinal
mscorlib (3)
System\Diagnostics\Eventing\TraceLogging\NameInfo.cs (1)
67int result = StringComparer.Ordinal.Compare(this.name, otherName);
system\security\principal\windowsidentity.cs (2)
1401if (!foundPrimaryGroupSid && StringComparer.Ordinal.Equals( groupSid.Value, primaryGroupSid.Value)) 1412if (!foundPrimaryGroupSid && StringComparer.Ordinal.Equals( groupSid.Value, primaryGroupSid.Value))
System (4)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
2915importList = new SortedList(StringComparer.Ordinal);
compmod\system\componentmodel\ComponentResourceManager.cs (1)
205sd = new SortedList<string, object>(StringComparer.Ordinal);
net\System\Net\WebUtility.cs (1)
1058Dictionary<string, char> lookupTable = new Dictionary<string, char>(StringComparer.Ordinal);
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (1)
36private static Hashtable categoryDataTable = new Hashtable(StringComparer.Ordinal);
System.Activities (3)
System\Activities\Validation\ValidationHelper.cs (3)
129IEnumerable<string> configuredGroups = configurationResults.Keys.Where((k) => configurationResults[k]).OrderBy((k) => k, StringComparer.Ordinal); 199IEnumerable<string> sortedList = equivalentGroups.OrderBy((s) => s, StringComparer.Ordinal); 214IList<string> sortedList = entry.Value.OrderBy((s) => s, StringComparer.Ordinal).ToList();
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\DynamicActivityPropertyChooserViewModel.cs (1)
116if (StringComparer.Ordinal.Equals(this.SelectedPropertyName, property.Name))
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegateUtilities.cs (1)
127return StringComparer.Ordinal.Compare(x.Name, y.Name);
System.Activities.Presentation\System\Activities\Presentation\DynamicActivityPropertyUtilities.cs (1)
19if (StringComparer.Ordinal.Equals(property.Name, propertyName))
System.Activities.Presentation\System\Activities\Presentation\PropertyReferenceUtilities.cs (2)
25if (StringComparer.Ordinal.Equals(reference.TargetProperty, targetProperty)) 46if (StringComparer.Ordinal.Equals(reference.TargetProperty, targetProperty))
System.ComponentModel.DataAnnotations (1)
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (1)
121HashSet<string> buddyTypeMembers = new HashSet<string>(buddyFields.Concat(buddyProperties), StringComparer.Ordinal);
System.Configuration (5)
System\Configuration\ConfigurationSectionCollection.cs (1)
23base(StringComparer.Ordinal) {
System\Configuration\ConfigurationSectionGroupCollection.cs (1)
23base(StringComparer.Ordinal) {
System\Configuration\ConfigurationValues.cs (1)
28internal ConfigurationValues() : base(StringComparer.Ordinal) {
System\Configuration\PropertyInformationCollection.cs (1)
25internal PropertyInformationCollection(ConfigurationElement thisElement) : base(StringComparer.Ordinal) {
System\Configuration\ProviderSettings.cs (1)
170_PropertyNameCollection = new NameValueCollection(StringComparer.Ordinal);
System.Data (12)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDelegateUtilities.cs (1)
127return StringComparer.Ordinal.Compare(x.Name, y.Name);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DynamicActivityPropertyUtilities.cs (1)
19if (StringComparer.Ordinal.Equals(property.Name, propertyName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\PropertyReferenceUtilities.cs (2)
25if (StringComparer.Ordinal.Equals(reference.TargetProperty, targetProperty)) 46if (StringComparer.Ordinal.Equals(reference.TargetProperty, targetProperty))
fx\src\data\System\Data\Common\DBConnectionString.cs (7)
309return ((null == _restrictionValues) || (0 > Array.BinarySearch(_restrictionValues, key, StringComparer.Ordinal))); 346if (0 > Array.BinarySearch(preventusage, allowonly[i], StringComparer.Ordinal)) { 364if (0 <= Array.BinarySearch(b, a[i], StringComparer.Ordinal)) { 391if (0 > Array.BinarySearch(a, b[i], StringComparer.Ordinal)) { 396Array.Sort(restrictionValues, StringComparer.Ordinal); 437Array.Sort(restrictions, StringComparer.Ordinal); 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 (50)
System\Data\Common\CommandTrees\Internal\Validator.cs (1)
78var newScope = scopeVariables.ToDictionary(var => var.VariableName, var => var.ResultType, StringComparer.Ordinal);
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (1)
316var keyValueMap = keyPropAndValue.ToDictionary(pav => pav.Item1, pav => pav.Item2, StringComparer.Ordinal);
System\Data\Common\EntitySql\ParserOptions.cs (1)
51return this.NameComparisonCaseInsensitive ? StringComparer.OrdinalIgnoreCase : StringComparer.Ordinal;
System\Data\Common\EntityUtil.cs (2)
1523if (!StringComparer.Ordinal.Equals(containerName1, containerName2) || 1524!StringComparer.Ordinal.Equals(setName1, setName2))
System\Data\Common\Utils\StringUtil.cs (1)
142elementStrings.Sort(StringComparer.Ordinal);
System\Data\EntityModel\SchemaObjectModel\EntityKeyElement.cs (1)
99Dictionary<string, PropertyRefElement> propertyLookUp = new Dictionary<string, PropertyRefElement>(StringComparer.Ordinal);
System\Data\EntityModel\SchemaObjectModel\RelationshipEndCollection.cs (1)
178_endLookup = new Dictionary<string, IRelationshipEnd>(StringComparer.Ordinal);
System\Data\EntityModel\SchemaObjectModel\SchemaElementLookUpTable.cs (1)
210_keyToType = new Dictionary<string,T>(StringComparer.Ordinal);
System\Data\EntityModel\SchemaObjectModel\SchemaLookupTable.cs (1)
23private Dictionary<string, string> _aliasToNamespaceMap = new Dictionary<string, string>(StringComparer.Ordinal);
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (1)
36private readonly HashSet<string> _namespaceLookUpTable = new HashSet<string>(StringComparer.Ordinal);
System\Data\EntityModel\SchemaObjectModel\XmlSchemaResource.cs (1)
47Dictionary<string, XmlSchemaResource> schemaResourceMap = new Dictionary<string, XmlSchemaResource>(StringComparer.Ordinal);
System\Data\Mapping\DefaultObjectMappingItemCollection.cs (3)
49private Dictionary<string, int> clrTypeIndexes = new Dictionary<string, int>(StringComparer.Ordinal); //Indexes into the type mappings collection based on clr type name 50private Dictionary<string, int> cdmTypeIndexes = new Dictionary<string, int>(StringComparer.Ordinal); //Indexes into the type mappings collection based on clr type name 431Dictionary<string, ObjectTypeMapping> typeMappings = new Dictionary<string, ObjectTypeMapping>(StringComparer.Ordinal);
System\Data\Mapping\StorageComplexTypeMapping.cs (3)
33Dictionary<string, StoragePropertyMapping> m_properties = new Dictionary<string, StoragePropertyMapping>(StringComparer.Ordinal); //child property mappings that make up this complex property 37private Dictionary<string, ComplexType> m_types = new Dictionary<string, ComplexType>(StringComparer.Ordinal); //Types for which the mapping holds true for. 38private Dictionary<string, ComplexType> m_isOfTypes = new Dictionary<string, ComplexType>(StringComparer.Ordinal); //Types for which the mapping holds true for
System\Data\Mapping\StorageEntityContainerMapping.cs (2)
72private Dictionary<string, StorageSetMapping> m_entitySetMappings = new Dictionary<string, StorageSetMapping>(StringComparer.Ordinal); //A collection of EntitySetMappings under this EntityContainer mapping 73private Dictionary<string, StorageSetMapping> m_associationSetMappings = new Dictionary<string, StorageSetMapping>(StringComparer.Ordinal); //A collection of AssociationSetMappings under this EntityContainer mapping
System\Data\Mapping\StorageEntityTypeMapping.cs (2)
71private Dictionary<string, EdmType> m_entityTypes = new Dictionary<string, EdmType>(StringComparer.Ordinal); 75private Dictionary<string, EdmType> m_isOfEntityTypes = new Dictionary<string, EdmType>(StringComparer.Ordinal);
System\Data\Mapping\StorageMappingItemLoader.cs (1)
102this.m_alias = new Dictionary<string, string>(StringComparer.Ordinal);
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\Update\Internal\RelationshipConstraintValidator.cs (1)
145StringComparer.Ordinal);
System\Data\Mapping\ViewGeneration\CqlGeneration\CqlIdentifiers.cs (1)
27m_identifiers = new Set<string>(StringComparer.Ordinal);
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (1)
410return StringComparer.Ordinal.Compare(x.OriginalCellNumberString, y.OriginalCellNumberString);
System\Data\Metadata\Edm\TypeUsage.cs (1)
574if (0 <= Array.BinarySearch(s_identityFacets, facet.Name, StringComparer.Ordinal))
System\Data\Metadata\ObjectLayer\ObjectItemLoadingSessionData.cs (1)
134_typesInLoading = new Dictionary<string, EdmType>(StringComparer.Ordinal);
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
134Dictionary<string, ObjectQueryCallTranslator> objectQueryCallTranslators = new Dictionary<string, ObjectQueryCallTranslator>(StringComparer.Ordinal);
System\Data\Objects\ELinq\Translator.cs (2)
724HashSet<string> memberNames = new HashSet<string>(StringComparer.Ordinal); 828HashSet<string> memberNames = new HashSet<string>(StringComparer.Ordinal);
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (10)
66StringComparer.Ordinal).MakeReadOnly(); 73StringComparer.Ordinal).MakeReadOnly(); 75StringComparer.Ordinal).MakeReadOnly(); 80StringComparer.Ordinal).MakeReadOnly(); 88StringComparer.Ordinal).MakeReadOnly(); 102Dictionary<string, FunctionHandler> functionHandlers = new Dictionary<string, FunctionHandler>(15, StringComparer.Ordinal); 137Dictionary<string, FunctionHandler> functionHandlers = new Dictionary<string, FunctionHandler>(16, StringComparer.Ordinal); 204Dictionary<string, string> functionNameToOperatorDictionary = new Dictionary<string, string>(5, StringComparer.Ordinal); 221Dictionary<string, string> dateAddFunctionNameToDatepartDictionary = new Dictionary<string, string>(5, StringComparer.Ordinal); 241Dictionary<string, string> dateDiffFunctionNameToDatepartDictionary = new Dictionary<string, string>(5, StringComparer.Ordinal);
System\Data\SqlClient\SqlGen\SqlGenerator.cs (5)
310StringComparer.Ordinal).MakeReadOnly(); 313StringComparer.Ordinal).MakeReadOnly(); 316StringComparer.Ordinal).MakeReadOnly(); 326StringComparer.Ordinal).MakeReadOnly(); 329StringComparer.Ordinal).MakeReadOnly();
System.Data.Entity.Design (5)
System\Data\Entity\Design\Common\MetadataUtil.cs (1)
182elementStrings.Sort(StringComparer.Ordinal);
System\Data\Entity\Design\Common\UniqueIdentifierService.cs (2)
27_knownIdentifiers = new Dictionary<string, bool>(caseSensitive ? StringComparer.Ordinal : StringComparer.OrdinalIgnoreCase); 35_knownIdentifiers = new Dictionary<string, bool>(caseSensitive ? StringComparer.Ordinal : StringComparer.OrdinalIgnoreCase);
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
90Dictionary<string, string> usedClassName = new Dictionary<string, string>(StringComparer.Ordinal);
System\Data\EntityModel\Emitters\Utils.cs (1)
62Dictionary<string, Type> typeReservedNames = new Dictionary<string, Type>(StringComparer.Ordinal);
System.Data.Services (10)
System\Data\Services\DataService.cs (1)
2105private readonly Dictionary<string, SegmentInfo> contentIdsToSegmentInfoMapping = new Dictionary<string, SegmentInfo>(StringComparer.Ordinal);
System\Data\Services\HttpContextServiceHost.cs (1)
452HashSet<string> namesFound = new HashSet<string>(StringComparer.Ordinal);
System\Data\Services\Parsing\FunctionDescription.cs (1)
218Dictionary<string, FunctionDescription[]> result = new Dictionary<string, FunctionDescription[]>(StringComparer.Ordinal);
System\Data\Services\Providers\BasicExpandProvider.cs (1)
703this.projectedOpenPropertyNames = new HashSet<string>(StringComparer.Ordinal);
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
2492private Dictionary<string, HashSet<EdmType>> edmTypes = new Dictionary<string, HashSet<EdmType>>(StringComparer.Ordinal);
System\Data\Services\Providers\ReflectionServiceProvider.cs (2)
611HashSet<string> propertiesToBeIgnored = new HashSet<string>(IgnorePropertiesAttribute.GetProperties(parentResourceType.InstanceType, false /*inherit*/, bindingFlags), StringComparer.Ordinal); 614HashSet<string> etagPropertyNames = new HashSet<string>(LoadETagProperties(parentResourceType), StringComparer.Ordinal);
System\Data\Services\Providers\ServiceOperation.cs (1)
105HashSet<string> paramNames = new HashSet<string>(StringComparer.Ordinal);
System\Data\Services\Serializers\MetadataSerializer.cs (2)
709private Dictionary<string, HashSet<ResourceType>> resourceTypes = new Dictionary<string, HashSet<ResourceType>>(StringComparer.Ordinal); 883associationsInThisNamespace = new Dictionary<string, ResourceAssociationType>(StringComparer.Ordinal);
System.Data.Services.Client (3)
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (1)
226resource.ExpandPaths = pb.ExpandPaths.Union(resource.ExpandPaths, StringComparer.Ordinal).ToList();
System\Data\Services\Client\ALinq\ResourceBinder.cs (2)
888re.ExpandPaths = re.ExpandPaths.Union(new string[] { (string) value.Value }, StringComparer.Ordinal).ToList(); 1745Dictionary<string, Expression> sourceAccessors = new Dictionary<string, Expression>(constructorParams.Length - 1, StringComparer.Ordinal);
System.Data.Services.Design (3)
System\Data\Entity\Design\Common\UniqueIdentifierService.cs (1)
27_knownIdentifiers = new HashSet<string>(caseSensitive ? StringComparer.Ordinal : StringComparer.OrdinalIgnoreCase);
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
55Dictionary<string, string> usedClassName = new Dictionary<string, string>(StringComparer.Ordinal);
System\Data\EntityModel\Emitters\Utils.cs (1)
66Dictionary<string, Type> typeReservedNames = new Dictionary<string, Type>(StringComparer.Ordinal);
System.IdentityModel (162)
System\IdentityModel\BoundedCache.cs (1)
30: this(capacity, purgeInterval, StringComparer.Ordinal)
System\IdentityModel\Claims\AuthenticationTypeMaps.cs (2)
70if (StringComparer.Ordinal.Equals( normalizedAuthenticationMethod, mapping.Normalized ) ) 87if ( StringComparer.Ordinal.Equals( unnormalizedAuthenticationMethod, mapping.Unnormalized ) )
System\IdentityModel\Claims\ClaimComparer.cs (1)
279if (StringComparer.Ordinal.Equals(dn1.Name, dn2.Name))
System\IdentityModel\Claims\ClaimsConversionHelper.cs (10)
118if (StringComparer.Ordinal.Equals(claim.ClaimType, ClaimTypes.Sid)) 139if (StringComparer.Ordinal.Equals(claim.ClaimType, ClaimTypes.Sid) && claim.Resource is SecurityIdentifier) 151else if (StringComparer.Ordinal.Equals(claim.ClaimType, ClaimTypes.Email) && claim.Resource is MailAddress) 156else if (StringComparer.Ordinal.Equals(claim.ClaimType, ClaimTypes.Thumbprint) && claim.Resource is byte[]) 162else if (StringComparer.Ordinal.Equals(claim.ClaimType, ClaimTypes.Hash) && claim.Resource is byte[]) 168else if (StringComparer.Ordinal.Equals(claim.ClaimType, ClaimTypes.NameIdentifier) && claim.Resource is SamlNameIdentifierClaimResource) 183else if (StringComparer.Ordinal.Equals(claim.ClaimType, ClaimTypes.X500DistinguishedName) && claim.Resource is X500DistinguishedName) 189else if (StringComparer.Ordinal.Equals(claim.ClaimType, ClaimTypes.Uri) && claim.Resource is Uri) 194else if (StringComparer.Ordinal.Equals(claim.ClaimType, ClaimTypes.Rsa) && claim.Resource is RSA) 200else if (StringComparer.Ordinal.Equals(claim.ClaimType, ClaimTypes.DenyOnlySid) && claim.Resource is SecurityIdentifier)
System\IdentityModel\Claims\ClaimsHelper.cs (1)
59if (StringComparer.Ordinal.Equals(ClaimTypes.Upn, claim.Type))
System\IdentityModel\Configuration\IdentityConfiguration.cs (1)
450StringComparer.Ordinal.Equals(handlerElementCollection.Name, ConfigurationStrings.DefaultConfigurationElementName))
System\IdentityModel\Configuration\IdentityConfigurationElementCollection.cs (1)
61if (!StringComparer.Ordinal.Equals(name, ConfigurationStrings.DefaultConfigurationElementName) && result == null)
System\IdentityModel\Metadata\MetadataSerializer.cs (13)
195if (StringComparer.Ordinal.Equals(conactType, "unspecified")) 199else if (StringComparer.Ordinal.Equals(conactType, "administrative")) 203else if (StringComparer.Ordinal.Equals(conactType, "billing")) 207else if (StringComparer.Ordinal.Equals(conactType, "other")) 211else if (StringComparer.Ordinal.Equals(conactType, "support")) 215else if (StringComparer.Ordinal.Equals(conactType, "technical")) 230else if (StringComparer.Ordinal.Equals(keyType, "encryption")) 234else if (StringComparer.Ordinal.Equals(keyType, "signing")) 569if (!StringComparer.Ordinal.Equals(entity.FederationId, resultEntityGroup.Name)) 754else if (!StringComparer.Ordinal.Equals(ns, FederationMetadataConstants.Namespace)) 758else if (StringComparer.Ordinal.Equals(xsiType, prefix + ":" + FederationMetadataConstants.Elements.ApplicationServiceType)) 762else if (StringComparer.Ordinal.Equals(xsiType, prefix + ":" + FederationMetadataConstants.Elements.SecurityTokenServiceType)) 2176if (!StringComparer.Ordinal.Equals(entity.FederationId, entitiesDescriptor.Name))
System\IdentityModel\Protocols\WSTrust\RequestSecurityTokenResponse.cs (1)
53if (message.KeySizeInBits > 0 && StringComparer.Ordinal.Equals(message.KeyType, KeyTypes.Symmetric))
System\IdentityModel\Protocols\WSTrust\WSTrust13RequestSerializer.cs (3)
212if (StringComparer.Ordinal.Equals(elementName, WSTrust13Constants.ElementNames.SecondaryParameters)) 243if (StringComparer.Ordinal.Equals(elementName, WSTrust13Constants.ElementNames.KeyWrapAlgorithm)) 249if (StringComparer.Ordinal.Equals(elementName, WSTrust13Constants.ElementNames.ValidateTarget))
System\IdentityModel\Protocols\WSTrust\WSTrust13ResponseSerializer.cs (1)
191if (StringComparer.Ordinal.Equals(elementName, WSTrust13Constants.ElementNames.KeyWrapAlgorithm))
System\IdentityModel\Protocols\WSTrust\WSTrustConstantsAdapter.cs (2)
107if (StringComparer.Ordinal.Equals(ns, WSTrustFeb2005Constants.NamespaceURI)) 111else if (StringComparer.Ordinal.Equals(ns, WSTrust13Constants.NamespaceURI))
System\IdentityModel\Protocols\WSTrust\WSTrustRequestSerializer.cs (2)
80if ((StringComparer.Ordinal.Equals(requestSecurityToken.RequestType, RequestTypes.Issue) || requestSecurityToken.RequestType == null) && 81StringComparer.Ordinal.Equals(requestSecurityToken.KeyType, KeyTypes.Asymmetric) &&
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (71)
212if (!StringComparer.Ordinal.Equals(rst.Claims.Dialect, WSAuthorizationConstants.Dialect)) 911if (StringComparer.Ordinal.Equals(elementName, WSPolicyConstants.ElementNames.AppliesTo)) 918if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.Claims)) 943if (StringComparer.Ordinal.Equals(claims.Dialect, WSAuthorizationConstants.Dialect)) 960if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.ComputedKeyAlgorithm)) 966if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.BinaryExchange)) 972if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.Issuer)) 978if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.SignWith)) 989if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.EncryptWith)) 1000if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.Entropy)) 1013if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.KeySize)) 1019if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.KeyType)) 1025if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.Lifetime)) 1032if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.RenewTarget)) 1055if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.OnBehalfOf)) 1064if (StringComparer.Ordinal.Equals(elementName, WSTrust14Constants.ElementNames.ActAs)) 1073if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.RequestType)) 1084if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.TokenType)) 1095if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.UseKey)) 1117if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.AuthenticationType)) 1128if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.EncryptionAlgorithm)) 1139if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.CanonicalizationAlgorithm)) 1150if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.SignatureAlgorithm)) 1161if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.Encryption)) 1180if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.ProofEncryption)) 1199if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.DelegateTo)) 1218if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.Forwardable)) 1231if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.Delegatable)) 1244if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.AllowPostdating)) 1251if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.Renewing)) 1266if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.CancelTarget)) 1290if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.Participants)) 1319if (StringComparer.Ordinal.Equals(elementName, WSAuthorizationConstants.Elements.AdditionalContext)) 1868if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.Entropy)) 1881if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.KeySize)) 1887if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.Lifetime)) 1894if (StringComparer.Ordinal.Equals(elementName, WSPolicyConstants.ElementNames.AppliesTo)) 1901if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.RequestedSecurityToken)) 1920if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.RequestedProofToken)) 1944if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.RequestedAttachedReference)) 1952if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.RequestedUnattachedReference)) 1960if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.TokenType)) 1971if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.RequestType)) 1982if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.KeyType)) 1988if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.AuthenticationType)) 1999if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.EncryptionAlgorithm)) 2010if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.CanonicalizationAlgorithm)) 2021if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.SignatureAlgorithm)) 2032if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.SignWith)) 2043if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.EncryptWith)) 2054if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.BinaryExchange)) 2060if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.Status)) 2066if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.RequestedTokenCancelled)) 2100if (StringComparer.Ordinal.Equals(computedKeyAlgorithm, trustConstants.ComputedKeyAlgorithm.Psha1)) 2131if (StringComparer.Ordinal.Equals(computedKeyAlgorithm, ComputedKeyAlgorithms.Psha1)) 2489if (StringComparer.Ordinal.Equals(requestType, RequestTypes.Issue) || StringComparer.Ordinal.Equals(requestType, trustConstants.RequestTypes.Issue)) 2493else if (StringComparer.Ordinal.Equals(requestType, RequestTypes.Renew) || StringComparer.Ordinal.Equals(requestType, trustConstants.RequestTypes.Renew)) 2497else if (StringComparer.Ordinal.Equals(requestType, RequestTypes.Cancel) || StringComparer.Ordinal.Equals(requestType, trustConstants.RequestTypes.Cancel)) 2501else if (StringComparer.Ordinal.Equals(requestType, RequestTypes.Validate) || StringComparer.Ordinal.Equals(requestType, trustConstants.RequestTypes.Validate)) 2758if (StringComparer.Ordinal.Equals(keyType, KeyTypes.Asymmetric) || StringComparer.Ordinal.Equals(keyType, trustConstants.KeyTypes.Asymmetric)) 2762else if (StringComparer.Ordinal.Equals(keyType, KeyTypes.Symmetric) || StringComparer.Ordinal.Equals(keyType, trustConstants.KeyTypes.Symmetric)) 2766else if (StringComparer.Ordinal.Equals(keyType, KeyTypes.Bearer) || StringComparer.Ordinal.Equals(keyType, trustConstants.KeyTypes.Bearer)) 2889if (StringComparer.Ordinal.Equals(dialect, WSAuthorizationConstants.Dialect)) 2901if (StringComparer.Ordinal.Equals(dialect, WSAuthorizationConstants.Dialect))
System\IdentityModel\SecurityTokenService.cs (9)
354if (StringComparer.Ordinal.Equals(keyType, KeyTypes.Asymmetric)) 366else if (StringComparer.Ordinal.Equals(keyType, KeyTypes.Symmetric)) 371if (request.ComputedKeyAlgorithm != null && !StringComparer.Ordinal.Equals(request.ComputedKeyAlgorithm, ComputedKeyAlgorithms.Psha1)) 408else if (StringComparer.Ordinal.Equals(keyType, KeyTypes.Bearer)) 1077if (StringComparer.Ordinal.Equals(request.KeyType, KeyTypes.Bearer) && request.KeySizeInBits.HasValue && (request.KeySizeInBits.Value != 0)) 1090if (StringComparer.Ordinal.Equals(request.KeyType, KeyTypes.Symmetric)) 1111return (StringComparer.Ordinal.Equals(keyType, KeyTypes.Symmetric) 1112|| StringComparer.Ordinal.Equals(keyType, KeyTypes.Asymmetric) 1113|| StringComparer.Ordinal.Equals(keyType, KeyTypes.Bearer));
System\IdentityModel\Selectors\SamlSecurityTokenAuthenticator.cs (1)
149if (StringComparer.Ordinal.Compare(audienceRestrictionCondition.Audiences[i].AbsoluteUri, this.allowedAudienceUris[j]) == 0)
System\IdentityModel\Tokens\ConfigurationBasedIssuerNameRegistry.cs (5)
67if (!StringComparer.Ordinal.Equals(customConfigElement.LocalName, ConfigurationStrings.TrustedIssuers)) 77if (StringComparer.Ordinal.Equals(childElement.LocalName, ConfigurationStrings.Add)) 97else if (StringComparer.Ordinal.Equals(childElement.LocalName, ConfigurationStrings.Remove)) 99if (childElement.Attributes.Count != 1 || !StringComparer.Ordinal.Equals(childElement.Attributes[0].LocalName, ConfigurationStrings.Thumbprint)) 112else if (StringComparer.Ordinal.Equals(childElement.LocalName, ConfigurationStrings.Clear))
System\IdentityModel\Tokens\DefaultTokenReplayCache.cs (1)
35_internalCache = new BoundedCache<SecurityToken>(capacity, purgeInterval, StringComparer.Ordinal);
System\IdentityModel\Tokens\Saml2AssertionKeyIdentifierClause.cs (2)
69if (null != saml2Clause && StringComparer.Ordinal.Equals(assertionId, saml2Clause.Id)) 84if (null != wcfClause && StringComparer.Ordinal.Equals(assertionId, wcfClause.AssertionId))
System\IdentityModel\Tokens\Saml2Id.cs (1)
77return (null != other) && StringComparer.Ordinal.Equals(this.value, other.Value);
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (9)
589if (!StringComparer.Ordinal.Equals(TokenProfile11ValueType, value)) 1090if (!StringComparer.Ordinal.Equals(ClaimsIdentity.DefaultIssuer, claim.OriginalIssuer)) 1830if (StringComparer.Ordinal.Equals(attribute.Name, ClaimTypes.Actor)) 2663if (!StringComparer.Ordinal.Equals(assertion.Version, version)) 3224if (!StringComparer.Ordinal.Equals(data.AttributeValueXsiType, ClaimValueTypes.String)) 3874else if (StringComparer.Ordinal.Equals(SamlAccessDecision.Permit.ToString(), value)) 3878else if (StringComparer.Ordinal.Equals(SamlAccessDecision.Deny.ToString(), value)) 3882else if (StringComparer.Ordinal.Equals(SamlAccessDecision.Indeterminate.ToString(), value)) 4640StringComparer.Ordinal.Equals(nameIdentifier.Format.AbsoluteUri, Saml2Constants.NameIdentifierFormats.Entity.AbsoluteUri))
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (8)
713if (!StringComparer.Ordinal.Equals(ClaimsIdentity.DefaultIssuer, claim.OriginalIssuer)) 1258else if (StringComparer.Ordinal.Equals(attr.Name, SamlConstants.ElementNames.NameIdentifier)) 1292if (StringComparer.Ordinal.Equals(ClaimTypes.NameIdentifier, claimType) && GetClaim(subject, ClaimTypes.NameIdentifier) != null) 1324if (StringComparer.Ordinal.Equals(claimType, claim.Type)) 2788if (SamlAttribute != null && !StringComparer.Ordinal.Equals(SamlAttribute.AttributeValueXsiType, ClaimValueTypes.String)) 3558if (!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 (4)
175if (StringComparer.Ordinal.Equals(childElement.LocalName, ConfigurationStrings.NameClaimType)) 177if (childElement.Attributes.Count != 1 || !StringComparer.Ordinal.Equals(childElement.Attributes[0].LocalName, ConfigurationStrings.Value)) 183else if (StringComparer.Ordinal.Equals(childElement.LocalName, ConfigurationStrings.RoleClaimType)) 185if (childElement.Attributes.Count != 1 || !StringComparer.Ordinal.Equals(childElement.Attributes[0].LocalName, ConfigurationStrings.Value))
System\IdentityModel\Tokens\SessionSecurityTokenCacheKey.cs (1)
148if (!StringComparer.Ordinal.Equals(key2.EndpointId, this.endpointId))
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (1)
107if (!StringComparer.Ordinal.Equals(customConfigElement.LocalName, ConfigurationStrings.SessionTokenRequirement))
System\IdentityModel\Tokens\UserNameSecurityTokenHandler.cs (1)
132if (!string.IsNullOrEmpty(type) && !StringComparer.Ordinal.Equals(type, WSSecurity10Constants.UPTokenPasswordTextValue))
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (5)
109if (!StringComparer.Ordinal.Equals(customConfigElement.LocalName, ConfigurationStrings.X509SecurityTokenHandlerRequirement)) 359return StringComparer.Ordinal.Equals(valueTypeUri, WSSecurity10Constants.X509TokenType); 441if (!StringComparer.Ordinal.Equals(valueTypeUri, WSSecurity10Constants.X509TokenType)) 458if (encoding == null || StringComparer.Ordinal.Equals(encoding, WSSecurity10Constants.Base64EncodingType)) 462else 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); 191else if (!(StringComparer.Ordinal.Equals(expectedTypeNamespace, declaredType.Namespace) 192&& StringComparer.Ordinal.Equals(expectedTypeName, declaredType.Name)))
System.ServiceModel (25)
System\ServiceModel\Channels\CorrelationKey.cs (1)
114SortedList<string, string> sortedKeyData = new SortedList<string, string>(keyData, StringComparer.Ordinal);
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (4)
679if (StringComparer.Ordinal.Equals(securitySpecification, WSTrustFeb2005Constants.NamespaceURI)) 683else if (StringComparer.Ordinal.Equals(securitySpecification, WSTrust13Constants.NamespaceURI)) 687else if (StringComparer.Ordinal.Equals(securitySpecification, System.IdentityModel.WSSecureConversationFeb2005Constants.Namespace)) 691else if (StringComparer.Ordinal.Equals(securitySpecification, System.IdentityModel.WSSecureConversation13Constants.Namespace))
System\ServiceModel\Security\FederatedSecurityTokenManager.cs (13)
142if ( StringComparer.Ordinal.Equals( tokenType, SecurityTokenTypes.UserName ) ) 152else if ( StringComparer.Ordinal.Equals( tokenType, SecurityTokenTypes.Kerberos ) ) 156else if ( StringComparer.Ordinal.Equals( tokenType, SecurityTokenTypes.Rsa ) ) 166else if ( StringComparer.Ordinal.Equals( tokenType, SecurityTokenTypes.X509Certificate ) ) 176else if ( StringComparer.Ordinal.Equals( tokenType, SecurityTokenTypes.SamlTokenProfile11 ) || 177StringComparer.Ordinal.Equals( tokenType, SecurityTokenTypes.OasisWssSamlTokenProfile11 ) ) 195else if ( StringComparer.Ordinal.Equals( tokenType, SecurityTokenTypes.Saml2TokenProfile11 ) || 196StringComparer.Ordinal.Equals( tokenType, SecurityTokenTypes.OasisWssSaml2TokenProfile11 ) ) 214else if ( StringComparer.Ordinal.Equals( tokenType, ServiceModelSecurityTokenTypes.SecureConversation ) ) 358if ( StringComparer.Ordinal.Equals( securitySpecification, WSTrustFeb2005Constants.NamespaceURI ) ) 362else if ( StringComparer.Ordinal.Equals( securitySpecification, WSTrust13Constants.NamespaceURI ) ) 366else if ( StringComparer.Ordinal.Equals( securitySpecification, WSSecureConversationFeb2005Constants.Namespace ) ) 370else if ( StringComparer.Ordinal.Equals( securitySpecification, WSSecureConversation13Constants.Namespace ) )
System\ServiceModel\Security\WSTrustServiceContract.cs (6)
1700if (StringComparer.Ordinal.Equals(portType.Name, WSTrustServiceContractConstants.Contracts.IWSTrustFeb2005Sync)) 1945if (StringComparer.Ordinal.Equals(namespaces[i].Namespace, ns)) 1993if ((schemaImport != null) && StringComparer.Ordinal.Equals(schemaImport.Namespace, ns)) 2135if (StringComparer.Ordinal.Equals(op.Name, operationName)) 2142if (StringComparer.Ordinal.Equals(message.Name, op.Messages.Input.Message.Name)) 2151else if (StringComparer.Ordinal.Equals(message.Name, op.Messages.Output.Message.Name))
System\UriTemplate.cs (1)
948this.unescapedDefaults = new ConcurrentDictionary<string, string>(StringComparer.Ordinal);
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\HostedTransportConfigurationManager.cs (1)
22IDictionary<string, HostedTransportConfiguration> configurations = new Dictionary<string, HostedTransportConfiguration>(StringComparer.Ordinal);
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\SoapProcessingBehavior.cs (1)
169HashSet<string> headersToFlow = new HashSet<string>(StringComparer.Ordinal);
System.Web (11)
Configuration\ProvidersHelper.cs (2)
36NameValueCollection cloneParams = new NameValueCollection(pars.Count, StringComparer.Ordinal); 66NameValueCollection cloneParams = new NameValueCollection(providerSettings.Count, StringComparer.Ordinal);
HttpContext.cs (1)
353if (incomingProtocols == null || !incomingProtocols.Contains(subprotocol, StringComparer.Ordinal)) {
Security\Membership.cs (1)
470NameValueCollection cloneParams = new NameValueCollection(pars.Count, StringComparer.Ordinal);
Security\Roles.cs (1)
541NameValueCollection cloneParams = new NameValueCollection(pars.Count, StringComparer.Ordinal);
UI\ClientScriptManager.cs (2)
690_registeredControlsWithExpandoAttributes = new ListDictionary(StringComparer.Ordinal); 697expandoAttributes = new ListDictionary(StringComparer.Ordinal);
UI\ObjectStateFormatter.cs (1)
745_stringTable = new Hashtable(StringComparer.Ordinal);
UI\TemplateControl.cs (2)
949internal readonly IDictionary<string, AsyncEventMethodInfo> AsyncEvents = new Dictionary<string, AsyncEventMethodInfo>(StringComparer.Ordinal); 950internal readonly IDictionary<string, SyncEventMethodInfo> SyncEvents = new Dictionary<string, SyncEventMethodInfo>(StringComparer.Ordinal);
WebSockets\SubprotocolUtil.cs (1)
124if (subprotocols.Distinct(StringComparer.Ordinal).Count() != subprotocols.Count) {
System.Web.Extensions (7)
UI\ScriptComponentDescriptor.cs (2)
63_events = new SortedList<string, string>(StringComparer.Ordinal); 82_properties = new SortedList<string, Expression>(StringComparer.Ordinal);
UI\ScriptManager.cs (3)
1198_initialState = new Hashtable(StringComparer.Ordinal); 1212_initialState = new Hashtable(state.Count, StringComparer.Ordinal); 1392_initialState = new Hashtable(StringComparer.Ordinal);
UI\ScriptRegistrationManager.cs (1)
495ListDictionary uniqueEntries = new ListDictionary(StringComparer.Ordinal);
UI\ScriptResourceAttribute.cs (1)
96Dictionary<String, String> resources = new Dictionary<String, String>(StringComparer.Ordinal);
System.Windows.Forms (1)
winforms\Managed\System\Resources\ResXDataNode.cs (1)
986cachedTypes = Hashtable.Synchronized(new Hashtable(StringComparer.Ordinal));
System.Workflow.Activities (2)
LocalService\MessageQueueKey.cs (2)
107int compared = StringComparer.Ordinal.Compare(this.MethodName, eventQueueName.MethodName); 113compared = StringComparer.Ordinal.Compare(AssemblyQualifiedName, eventQueueName.AssemblyQualifiedName);
System.Workflow.ComponentModel (2)
AuthoringOM\Compiler\CompileXomlTask.cs (2)
983static HashSet<string> validWarnings = new HashSet<string>(StringComparer.Ordinal) 1007static HashSet<string> validWarnings = new HashSet<string>(StringComparer.Ordinal)
WindowsBase (7)
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (1)
951new SortedDictionary<String, PackageRelationship>(StringComparer.Ordinal);
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (1)
824relationshipsDictionarySortedById = new SortedDictionary<String, PackageRelationship>(StringComparer.Ordinal);
Base\MS\Internal\IO\Zip\ZipArchive.cs (1)
658_zipFileInfoDictionary = new Hashtable(_zipFileInfoDictionaryInitialSize, StringComparer.Ordinal);
Base\MS\Internal\IO\Zip\ZipIOCentralDirectoryBlock.cs (2)
536_centralDirectoryDictionary = new Hashtable(_centralDirectoryDictionaryInitialSize, StringComparer.Ordinal); 543_centralDirectoryDictionary = new OrderedDictionary(_centralDirectoryDictionaryInitialSize, StringComparer.Ordinal);
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (1)
1407new Dictionary<string, string>(3, StringComparer.Ordinal);
Base\System\IO\Packaging\ZipPackage.cs (1)
1584_ignoredItemDictionary = new Dictionary<string, List<string>>(_dictionaryInitialSize, StringComparer.Ordinal);