4 types derived from StringComparer
mscorlib (4)
system\stringcomparer.cs (4)
131internal sealed class CultureAwareComparer : StringComparer 249internal sealed class CultureAwareRandomizedComparer : StringComparer, IWellKnownStringEqualityComparer { 317internal sealed class OrdinalComparer : StringComparer 395internal sealed class OrdinalRandomizedComparer : StringComparer, IWellKnownStringEqualityComparer {
826 references to StringComparer
mscorlib (40)
system\appdomain.cs (2)
604_compatFlags = new Dictionary<String, object>(adSetup.GetCompatibilityFlags(), StringComparer.OrdinalIgnoreCase); 4040StringComparer.OrdinalIgnoreCase);
system\AppDomainSetup.cs (4)
288Array.Sort<string>(_AptcaVisibleAssemblies, StringComparer.OrdinalIgnoreCase); 583if(StringComparer.OrdinalIgnoreCase.Equals("NetFx40_Legacy20SortingBehavior", str)) { 591if(StringComparer.OrdinalIgnoreCase.Equals("NetFx45_Legacy40SortingBehavior", str)) { 601if(StringComparer.OrdinalIgnoreCase.Equals("UseRandomizedStringHashAlgorithm", str)) {
System\Diagnostics\Eventing\TraceLogging\NameInfo.cs (1)
67int result = StringComparer.Ordinal.Compare(this.name, otherName);
system\globalization\encodingtable.cs (1)
49private static Hashtable hashByName = Hashtable.Synchronized(new Hashtable(StringComparer.OrdinalIgnoreCase));
system\resources\resourcemanager.cs (1)
1565Hashtable satelliteInfo = new Hashtable(StringComparer.OrdinalIgnoreCase);
system\resources\resourceset.cs (1)
319caseTable = new Hashtable(StringComparer.OrdinalIgnoreCase);
system\resources\resourcewriter.cs (2)
111_caseInsensitiveDups = new Dictionary<String, Object>(StringComparer.OrdinalIgnoreCase); 123_caseInsensitiveDups = new Dictionary<String, Object>(StringComparer.OrdinalIgnoreCase);
system\resources\runtimeresourceset.cs (1)
358_caseInsensitiveTable = new Dictionary<String, ResourceLocator>(StringComparer.OrdinalIgnoreCase);
system\runtime\remoting\ichannel.cs (1)
484private Hashtable _properties = new Hashtable(StringComparer.InvariantCultureIgnoreCase);
system\runtime\remoting\remotingconfigparser.cs (1)
419return new Hashtable(StringComparer.InvariantCultureIgnoreCase);
system\security\cryptography\cryptoconfig.cs (4)
33private static volatile Dictionary<string, Type> appNameHT = new Dictionary<string, Type>(StringComparer.OrdinalIgnoreCase); 34private static volatile Dictionary<string, string> appOidHT = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 117Dictionary<string, string> ht = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 174Dictionary<string, object> ht = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase);
system\security\principal\ntaccount.cs (1)
166return StringComparer.InvariantCultureIgnoreCase.GetHashCode(_Name);
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\stringcomparer.cs (18)
19private static readonly StringComparer _invariantCulture = new CultureAwareComparer(CultureInfo.InvariantCulture, false); 20private static readonly StringComparer _invariantCultureIgnoreCase = new CultureAwareComparer(CultureInfo.InvariantCulture, true); 21private static readonly StringComparer _ordinal = new OrdinalComparer(false); 22private static readonly StringComparer _ordinalIgnoreCase = new OrdinalComparer(true); 24public static StringComparer InvariantCulture { 26Contract.Ensures(Contract.Result<StringComparer>() != null); 31public static StringComparer InvariantCultureIgnoreCase { 33Contract.Ensures(Contract.Result<StringComparer>() != null); 38public static StringComparer CurrentCulture { 40Contract.Ensures(Contract.Result<StringComparer>() != null); 45public static StringComparer CurrentCultureIgnoreCase { 47Contract.Ensures(Contract.Result<StringComparer>() != null); 52public static StringComparer Ordinal { 54Contract.Ensures(Contract.Result<StringComparer>() != null); 59public static StringComparer OrdinalIgnoreCase { 61Contract.Ensures(Contract.Result<StringComparer>() != null); 66public static StringComparer Create(CultureInfo culture, bool ignoreCase) { 70Contract.Ensures(Contract.Result<StringComparer>() != null);
PresentationBuildTasks (1)
Framework\System\Windows\Markup\ParserContext.cs (1)
878Dictionary<string, SpecialBracketCharacters> cache = new Dictionary<string, SpecialBracketCharacters>(StringComparer.OrdinalIgnoreCase);
PresentationCore (3)
Core\CSharp\MS\Internal\FontCache\FontResourceCache.cs (1)
87folderResourceMap = new Dictionary<string, List<string>>(StringComparer.OrdinalIgnoreCase);
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (1)
197Dictionary<string, object> fontPaths = new Dictionary<string, object>(512, StringComparer.OrdinalIgnoreCase);
Core\CSharp\MS\Internal\Resources\ContentFileHelper.cs (1)
65contentFiles = new Dictionary<string, string>(assemblyAttributes.Length, StringComparer.OrdinalIgnoreCase);
PresentationFramework (2)
src\Framework\MS\Internal\IO\Packaging\XamlFilter.cs (1)
129_lcidDictionary = new Dictionary<string, uint>(StringComparer.OrdinalIgnoreCase);
src\Framework\System\Windows\Markup\ParserContext.cs (1)
878Dictionary<string, SpecialBracketCharacters> cache = new Dictionary<string, SpecialBracketCharacters>(StringComparer.OrdinalIgnoreCase);
SMSvcHost (1)
System\ServiceModel\Activation\MsmqActivation.cs (1)
155this.bindingMonitors = new Dictionary<string, MsmqBindingMonitor>(StringComparer.OrdinalIgnoreCase);
System (46)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
2915importList = new SortedList(StringComparer.Ordinal);
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
2439importList = new SortedList(StringComparer.OrdinalIgnoreCase);
compmod\system\codedom\CodeNamespaceImportCollection.cs (2)
29private Hashtable keys = new Hashtable(StringComparer.OrdinalIgnoreCase); 118keys = new Hashtable(StringComparer.OrdinalIgnoreCase);
compmod\system\codedom\compiler\CodeDomConfigurationHandler.cs (2)
54_compilerLanguages = new Hashtable(StringComparer.OrdinalIgnoreCase); 55_compilerExtensions = new Hashtable(StringComparer.OrdinalIgnoreCase);
compmod\system\codedom\compiler\TempFiles.cs (1)
66files = new Hashtable(StringComparer.OrdinalIgnoreCase);
compmod\system\collections\specialized\collectionsutil.cs (3)
22return new Hashtable(StringComparer.CurrentCultureIgnoreCase); 29return new Hashtable(capacity, StringComparer.CurrentCultureIgnoreCase); 36return new Hashtable(d, StringComparer.CurrentCultureIgnoreCase);
compmod\system\collections\specialized\hybriddictionary.cs (7)
62hashtable = new Hashtable(initialSize, StringComparer.OrdinalIgnoreCase); 115list = new ListDictionary(caseInsensitive ? StringComparer.OrdinalIgnoreCase : null); 124list = new ListDictionary(caseInsensitive ? StringComparer.OrdinalIgnoreCase : null); 134newTable = new Hashtable(InitialHashtableSize, StringComparer.OrdinalIgnoreCase); 236list = new ListDictionary(caseInsensitive ? StringComparer.OrdinalIgnoreCase : null); 303list = new ListDictionary(caseInsensitive ? StringComparer.OrdinalIgnoreCase : null); 316list = new ListDictionary(caseInsensitive ? StringComparer.OrdinalIgnoreCase : null);
compmod\system\collections\specialized\nameobjectcollectionbase.cs (3)
53private static StringComparer defaultComparer = StringComparer.InvariantCultureIgnoreCase; 107_keyComparer = StringComparer.InvariantCultureIgnoreCase;
compmod\system\collections\specialized\stringdictionarywithcomparer.cs (1)
23public StringDictionaryWithComparer() : this(StringComparer.OrdinalIgnoreCase) {
compmod\system\componentmodel\ComponentResourceManager.cs (3)
98if (resources == null || (resources.Comparer.Equals(StringComparer.OrdinalIgnoreCase) != IgnoreCase)) { 202sd = new SortedList<string, object>(StringComparer.OrdinalIgnoreCase); 205sd = new SortedList<string, object>(StringComparer.Ordinal);
compmod\system\diagnostics\ListenerElementsCollection.cs (1)
145_attributes = new Hashtable(StringComparer.OrdinalIgnoreCase);
compmod\system\diagnostics\SourceElementsCollection.cs (1)
68_attributes = new Hashtable(StringComparer.OrdinalIgnoreCase);
compmod\system\diagnostics\SwitchElementsCollection.cs (1)
52_attributes = new Hashtable(StringComparer.OrdinalIgnoreCase);
compmod\system\security\permissions\ResourcePermissionBase.cs (1)
66return new Hashtable(StringComparer.OrdinalIgnoreCase);
net\System\Net\DnsEndPoint.cs (1)
59return StringComparer.InvariantCultureIgnoreCase.GetHashCode(ToString());
net\System\Net\IPAddress.cs (1)
692m_HashCode = StringComparer.InvariantCultureIgnoreCase.GetHashCode(ToString());
net\System\Net\mail\HeaderCollection.cs (1)
19internal HeaderCollection() : base(StringComparer.OrdinalIgnoreCase) {
net\System\Net\mail\MailHeaderInfo.cs (1)
122m_HeaderDictionary = new Dictionary<string, int>((int)MailHeaderID.ZMaxEnumValue + 1, StringComparer.OrdinalIgnoreCase);
net\System\Net\WebUtility.cs (1)
1058Dictionary<string, char> lookupTable = new Dictionary<string, char>(StringComparer.Ordinal);
net\System\URI.cs (1)
4976return StringComparer.InvariantCultureIgnoreCase.GetHashCode(text);
services\monitoring\system\diagnosticts\EventLogInternal.cs (2)
108private readonly static Hashtable listenerInfos = new Hashtable(StringComparer.OrdinalIgnoreCase); 394messageLibraries = new Hashtable(StringComparer.OrdinalIgnoreCase);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (5)
113Hashtable tempCategoryTable = new Hashtable(categoryNumber, StringComparer.OrdinalIgnoreCase); 610Interlocked.CompareExchange(ref this.customCategoryTable, new Hashtable(StringComparer.OrdinalIgnoreCase), null); 1316this.InstanceNameTable = new Hashtable(StringComparer.OrdinalIgnoreCase); 1376this.InstanceNameTable = new Hashtable(1, StringComparer.OrdinalIgnoreCase); 1385this.InstanceNameTable = new Hashtable(instanceNumber, StringComparer.OrdinalIgnoreCase);
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (1)
36private static Hashtable categoryDataTable = new Hashtable(StringComparer.Ordinal);
sys\system\configuration\DictionarySectionHandler.cs (1)
35res = new Hashtable(StringComparer.OrdinalIgnoreCase);
sys\system\configuration\NameValueSectionHandler.cs (1)
37result = new ReadOnlyNameValueCollection(StringComparer.OrdinalIgnoreCase);
sys\system\configuration\SettingsPropertyCollection.cs (1)
31_Hashtable = new Hashtable(10, StringComparer.CurrentCultureIgnoreCase);
sys\system\configuration\SettingsPropertyValueCollection.cs (1)
34_Indices = new Hashtable(10, StringComparer.CurrentCultureIgnoreCase);
System.Activities (7)
System\Activities\Debugger\DebugInfo.cs (1)
443this.cachedLocalInfos = new Dictionary<string, LocalInfo>(StringComparer.OrdinalIgnoreCase);
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\XamlIntegration\TextExpressionCompiler.cs (3)
2824this.fields = new Dictionary<string, MemberData>(StringComparer.OrdinalIgnoreCase); 2843this.properties = new Dictionary<string, MemberData>(StringComparer.OrdinalIgnoreCase); 2862this.duplicates = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\DynamicActivityPropertyChooserViewModel.cs (1)
116if (StringComparer.Ordinal.Equals(this.SelectedPropertyName, property.Name))
System.Activities.Presentation (5)
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.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
589if (lastNamespace == null || !StringComparer.OrdinalIgnoreCase.Equals(lastNamespace.DisplayName, type.Namespace))
System.AddIn (1)
System\Addin\Hosting\AddInStore.cs (1)
1409Dictionary<String, AddInToken> uniqueAddIns = new Dictionary<String, AddInToken>(StringComparer.OrdinalIgnoreCase);
System.ComponentModel.DataAnnotations (1)
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (1)
121HashSet<string> buddyTypeMembers = new HashSet<string>(buddyFields.Concat(buddyProperties), StringComparer.Ordinal);
System.Configuration (11)
System\Configuration\BaseConfigurationRecord.cs (1)
4035_children = new Hashtable(StringComparer.OrdinalIgnoreCase);
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\ConnectionStringSettingsCollection.cs (1)
34: base(StringComparer.OrdinalIgnoreCase) {
System\Configuration\KeyValueConfigurationCollection.cs (1)
36base(StringComparer.OrdinalIgnoreCase) {
System\Configuration\MgmtConfigurationRecord.cs (1)
370_locationTags = new Hashtable(StringComparer.OrdinalIgnoreCase);
System\Configuration\PropertyInformationCollection.cs (1)
25internal PropertyInformationCollection(ConfigurationElement thisElement) : base(StringComparer.Ordinal) {
System\Configuration\ProviderCollection.cs (1)
25_Hashtable = new Hashtable(10, StringComparer.OrdinalIgnoreCase);
System\Configuration\ProviderSettings.cs (1)
170_PropertyNameCollection = new NameValueCollection(StringComparer.Ordinal);
System\Configuration\ProviderSettingsCollection.cs (1)
30base(StringComparer.OrdinalIgnoreCase)
System.Data (67)
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))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
589if (lastNamespace == null || !StringComparer.OrdinalIgnoreCase.Equals(lastNamespace.DisplayName, type.Namespace))
fx\src\data\System\Data\Common\DbConnectionOptions.cs (1)
357return (0 == StringComparer.OrdinalIgnoreCase.Compare(strvalue, strconst));
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\DbConnectionStringBuilder.cs (4)
58values = new Dictionary<string,object>(StringComparer.OrdinalIgnoreCase); 341Hashtable descriptors = new Hashtable(StringComparer.OrdinalIgnoreCase); 414if (StringComparer.OrdinalIgnoreCase.Equals(DbConnectionStringKeywords.Password, keyword) || 415StringComparer.OrdinalIgnoreCase.Equals(DbConnectionStringSynonyms.Pwd, keyword)) {
fx\src\data\System\Data\Common\DbConnectionStringCommon.cs (29)
248if (StringComparer.OrdinalIgnoreCase.Equals(svalue, "true") || StringComparer.OrdinalIgnoreCase.Equals(svalue, "yes")) 250else if (StringComparer.OrdinalIgnoreCase.Equals(svalue, "false") || StringComparer.OrdinalIgnoreCase.Equals(svalue, "no")) 255if (StringComparer.OrdinalIgnoreCase.Equals(tmp, "true") || StringComparer.OrdinalIgnoreCase.Equals(tmp, "yes")) 257else if (StringComparer.OrdinalIgnoreCase.Equals(tmp, "false") || StringComparer.OrdinalIgnoreCase.Equals(tmp, "no")) 278if (StringComparer.OrdinalIgnoreCase.Equals(svalue, "sspi") || StringComparer.OrdinalIgnoreCase.Equals(svalue, "true") || StringComparer.OrdinalIgnoreCase.Equals(svalue, "yes")) 280else if (StringComparer.OrdinalIgnoreCase.Equals(svalue, "false") || StringComparer.OrdinalIgnoreCase.Equals(svalue, "no")) 285if (StringComparer.OrdinalIgnoreCase.Equals(tmp, "sspi") || StringComparer.OrdinalIgnoreCase.Equals(tmp, "true") || StringComparer.OrdinalIgnoreCase.Equals(tmp, "yes")) 287else if (StringComparer.OrdinalIgnoreCase.Equals(tmp, "false") || StringComparer.OrdinalIgnoreCase.Equals(tmp, "no")) 336if (StringComparer.OrdinalIgnoreCase.Equals(value, PoolBlockingPeriodAutoString)) 341else if (StringComparer.OrdinalIgnoreCase.Equals(value, PoolBlockingPeriodAlwaysBlockString)) 346else if (StringComparer.OrdinalIgnoreCase.Equals(value, PoolBlockingPeriodNeverBlockString)) 471if (StringComparer.OrdinalIgnoreCase.Equals(value, ApplicationIntentReadOnlyString)) 476else if (StringComparer.OrdinalIgnoreCase.Equals(value, ApplicationIntentReadWriteString)) 598if (StringComparer.InvariantCultureIgnoreCase.Equals(value, SqlPasswordString)) 603else if (StringComparer.InvariantCultureIgnoreCase.Equals(value, ActiveDirectoryPasswordString)) 608else if (StringComparer.InvariantCultureIgnoreCase.Equals(value, ActiveDirectoryIntegratedString)) 613else if (StringComparer.InvariantCultureIgnoreCase.Equals(value, ActiveDirectoryInteractiveString)) 639if (StringComparer.InvariantCultureIgnoreCase.Equals(value, ColumnEncryptionSettingEnabledString)) { 643else if (StringComparer.InvariantCultureIgnoreCase.Equals(value, ColumnEncryptionSettingDisabledString)) {
fx\src\data\System\Data\Common\NameValuePermission.cs (1)
61return StringComparer.Ordinal.Compare(_value, ((NameValuePermission)a)._value);
fx\src\data\System\Data\DataTable.cs (2)
87private StringComparer _hashCodeProvider; 2945_hashCodeProvider = StringComparer.Create(Locale, true);
fx\src\data\System\Data\Odbc\OdbcConnectionStringbuilder.cs (1)
51Dictionary<string,Keywords> hash = new Dictionary<string,Keywords>(2, StringComparer.OrdinalIgnoreCase);
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (4)
65Dictionary<string,Keywords> hash = new Dictionary<string,Keywords>(9, StringComparer.OrdinalIgnoreCase); 230if (StringComparer.OrdinalIgnoreCase.Equals(s, keyword)) { 247if (StringComparer.OrdinalIgnoreCase.Equals(s, keyword)) { 387providerInfo = new Dictionary<string,OleDbPropertyInfo>(StringComparer.OrdinalIgnoreCase);
fx\src\data\System\Data\OleDb\PropertyInfoSet.cs (1)
71propertyLookup = new Dictionary<string,OleDbPropertyInfo>(StringComparer.OrdinalIgnoreCase);
fx\src\data\System\Data\SqlClient\LocalDBAPI.cs (1)
306Dictionary<string, InstanceInfo> tempConfigurableInstances = new Dictionary<string, InstanceInfo>(StringComparer.OrdinalIgnoreCase);
fx\src\data\System\Data\SqlClient\LocalDBConfig.cs (1)
50return StringComparer.OrdinalIgnoreCase.Compare(x,y);
fx\src\data\System\Data\SqlClient\SqlConnection.cs (3)
66= new Dictionary<string, SqlColumnEncryptionKeyStoreProvider>(capacity: 1, comparer: StringComparer.OrdinalIgnoreCase) 90comparer: StringComparer.OrdinalIgnoreCase); 206new Dictionary<string, SqlColumnEncryptionKeyStoreProvider>(customProviders, StringComparer.OrdinalIgnoreCase);
fx\src\data\System\Data\SqlClient\SqlConnectionStringBuilder.cs (5)
178Dictionary<string, Keywords> hash = new Dictionary<string, Keywords>(KeywordsCount + SqlConnectionString.SynonymCount, StringComparer.OrdinalIgnoreCase); 1241if (StringComparer.OrdinalIgnoreCase.Equals(svalue, NamedPipes)) { 1244else if (StringComparer.OrdinalIgnoreCase.Equals(svalue, SharedMemory)) { 1247else if (StringComparer.OrdinalIgnoreCase.Equals(svalue, TCPIP)) { 1250else if (StringComparer.OrdinalIgnoreCase.Equals(svalue, VIA)) {
fx\src\data\System\Data\SqlClient\SqlDependency.cs (2)
253new Dictionary<string, Dictionary<IdentityUserNamePair, List<DatabaseServicePair>>>(StringComparer.OrdinalIgnoreCase); 983int index = _serverList.BinarySearch(server, StringComparer.OrdinalIgnoreCase);
System.Data.Entity (80)
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\CqlLexerHelpers.cs (2)
51static readonly StringComparer _stringComparer = StringComparer.OrdinalIgnoreCase;
System\Data\Common\EntitySql\ParserOptions.cs (3)
47internal StringComparer NameComparer 51return this.NameComparisonCaseInsensitive ? StringComparer.OrdinalIgnoreCase : StringComparer.Ordinal;
System\Data\Common\EntitySql\SemanticResolver.cs (1)
261internal StringComparer NameComparer
System\Data\Common\EntitySql\TypeResolver.cs (3)
55internal static IEqualityComparer<MetadataMember> CreateMetadataMemberNameEqualityComparer(StringComparer stringComparer) 62private readonly StringComparer _stringComparer; 64internal MetadataMemberNameEqualityComparer(StringComparer stringComparer)
System\Data\Common\EntityUtil.cs (2)
1523if (!StringComparer.Ordinal.Equals(containerName1, containerName2) || 1524!StringComparer.Ordinal.Equals(setName1, setName2))
System\Data\Common\Utils\AliasGenerator.cs (1)
72updatedCache = new Dictionary<string, string[]>(capacity, StringComparer.InvariantCultureIgnoreCase);
System\Data\Common\Utils\StringUtil.cs (1)
142elementStrings.Sort(StringComparer.Ordinal);
System\Data\Common\Utils\TrailingSpaceComparer.cs (2)
57return StringComparer.OrdinalIgnoreCase.Equals(NormalizeString(x), NormalizeString(y)); 61return StringComparer.OrdinalIgnoreCase.GetHashCode(NormalizeString(obj));
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\ItemCollection.cs (2)
491var tempFunctionLookUpTable = new Dictionary<string, List<EdmFunction>>(StringComparer.OrdinalIgnoreCase); 504var functionLookUpTable = new Dictionary<string, System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>>(StringComparer.OrdinalIgnoreCase);
System\Data\Metadata\Edm\MetadataCollection.cs (2)
345collectionData.IdentityDictionary = new Dictionary<string, OrderedIndex>(collectionData.OrderedList.Count + 1, StringComparer.OrdinalIgnoreCase); 706this.IdentityDictionary = new Dictionary<string, OrderedIndex>(this.OrderedList.Capacity, StringComparer.OrdinalIgnoreCase);
System\Data\Metadata\Edm\TypeUsage.cs (1)
574if (0 <= Array.BinarySearch(s_identityFacets, facet.Name, StringComparer.Ordinal))
System\Data\Metadata\MetadataArtifactLoader.cs (1)
169HashSet<string> uriRegistry = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
System\Data\Metadata\MetadataCache.cs (3)
39private static readonly Dictionary<string, EdmMetadataEntry> _edmLevelCache = new Dictionary<string, EdmMetadataEntry>(StringComparer.OrdinalIgnoreCase); 45private static readonly Dictionary<string, StoreMetadataEntry> _storeLevelCache = new Dictionary<string, StoreMetadataEntry>(StringComparer.OrdinalIgnoreCase); 113HashSet<string> uriRegistry = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
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\Objects\ObjectContext.cs (1)
2847if (StringComparer.OrdinalIgnoreCase.Equals(parameters[i].Name, parameterName))
System\Data\Query\PlanCompiler\CTreeGenerator.cs (2)
1208Dictionary<string, AliasGenerator> aliasMap = new Dictionary<string, AliasGenerator>(StringComparer.InvariantCultureIgnoreCase); 1209Dictionary<string, string> alreadyUsedAliases = new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase);
System\Data\SqlClient\SqlGen\JoinSymbol.cs (1)
93nameToExtent = new Dictionary<string, Symbol>(extents.Count, StringComparer.OrdinalIgnoreCase);
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (11)
64StringComparer.OrdinalIgnoreCase).MakeReadOnly(); 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 (8)
310StringComparer.Ordinal).MakeReadOnly(); 313StringComparer.Ordinal).MakeReadOnly(); 316StringComparer.Ordinal).MakeReadOnly(); 326StringComparer.Ordinal).MakeReadOnly(); 329StringComparer.Ordinal).MakeReadOnly(); 516allExtentNames = new Dictionary<string, int>(StringComparer.OrdinalIgnoreCase); 517allColumnNames = new Dictionary<string, int>(StringComparer.OrdinalIgnoreCase); 3604Dictionary<string, Symbol> columnDictionary = new Dictionary<string, Symbol>(StringComparer.OrdinalIgnoreCase);
System\Data\SqlClient\SqlGen\Symbol.cs (2)
53columns = new Dictionary<string, Symbol>(StringComparer.OrdinalIgnoreCase); 69outputColumns = new Dictionary<string, Symbol>(StringComparer.OrdinalIgnoreCase);
System\Data\SqlClient\SqlGen\SymbolTable.cs (1)
42symbols.Add(new Dictionary<string, Symbol>(StringComparer.OrdinalIgnoreCase));
System.Data.Entity.Design (10)
System\Data\Entity\Design\Common\MetadataUtil.cs (1)
182elementStrings.Sort(StringComparer.Ordinal);
System\Data\Entity\Design\Common\UniqueIdentifierService.cs (4)
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\ClientApiGenerator.cs (2)
227HashSet<string> set = new HashSet<string>(StringComparer.OrdinalIgnoreCase); 257HashSet<string> set = new HashSet<string>(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 (2)
62Dictionary<string, Type> typeReservedNames = new Dictionary<string, Type>(StringComparer.Ordinal); 213if (StringComparer.OrdinalIgnoreCase.Equals(name, "id"))
System.Data.Linq (3)
SortableBindingList.cs (1)
77comparer = StringComparer.CurrentCultureIgnoreCase;
SqlClient\Reader\ObjectReaderCompiler.cs (1)
2602Dictionary<string, int> lookup = new Dictionary<string, int>(StringComparer.OrdinalIgnoreCase);
SqlClient\SqlProvider.cs (1)
433.Contains(providerName, StringComparer.OrdinalIgnoreCase);
System.Data.Services (13)
parent\Client\System\Data\Services\Client\BatchStream.cs (1)
1312this.contentHeaders = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
System\Data\Services\DataService.cs (1)
2105private readonly Dictionary<string, SegmentInfo> contentIdsToSegmentInfoMapping = new Dictionary<string, SegmentInfo>(StringComparer.Ordinal);
System\Data\Services\HttpContextServiceHost.cs (2)
401if (key != null && StringComparer.OrdinalIgnoreCase.Equals(key.Trim(), item)) 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\ResourceType.cs (1)
992return StringComparer.OrdinalIgnoreCase.Compare(a.Name, b.Name);
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 (4)
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\Client\BatchStream.cs (1)
1312this.contentHeaders = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
System.Data.Services.Design (7)
System\Data\Entity\Design\Common\UniqueIdentifierService.cs (2)
27_knownIdentifiers = new HashSet<string>(caseSensitive ? StringComparer.Ordinal : StringComparer.OrdinalIgnoreCase);
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (2)
383HashSet<string> set = new HashSet<string>(StringComparer.OrdinalIgnoreCase); 413HashSet<string> set = new HashSet<string>(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 (2)
66Dictionary<string, Type> typeReservedNames = new Dictionary<string, Type>(StringComparer.Ordinal); 351if (StringComparer.OrdinalIgnoreCase.Equals(propertyName, "id"))
System.Data.SqlXml (3)
System\Xml\Xsl\Xslt\Scripts.cs (1)
53StringComparer.OrdinalIgnoreCase
System\Xml\Xsl\XsltOld\HtmlProps.cs (2)
58Hashtable table = new Hashtable(71, StringComparer.OrdinalIgnoreCase); { 164Hashtable table = new Hashtable(26, StringComparer.OrdinalIgnoreCase); {
System.Drawing (2)
commonui\System\Drawing\ColorConverter.cs (2)
53Hashtable tempHash = new Hashtable(StringComparer.OrdinalIgnoreCase); 74Hashtable tempHash = new Hashtable(StringComparer.OrdinalIgnoreCase);
System.IdentityModel (203)
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 (4)
68dnsComparer = new ClaimComparer(StringComparer.OrdinalIgnoreCase); 279if (StringComparer.Ordinal.Equals(dn1.Name, dn2.Name)) 301if (StringComparer.OrdinalIgnoreCase.Equals(obj1, obj2)) 332return StringComparer.OrdinalIgnoreCase.GetHashCode(upn);
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\Claims\X509CertificateClaimSet.cs (1)
116else if (StringComparer.OrdinalIgnoreCase.Equals(this.certificate.SubjectName.Name, this.certificate.IssuerName.Name))
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\RsaSignatureCookieTransform.cs (3)
348return (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)
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\SignedXml.cs (1)
1145if (StringComparer.OrdinalIgnoreCase.Equals(uri, String.Empty))
System\IdentityModel\Tokens\ConfigurationBasedIssuerNameRegistry.cs (6)
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)) 209return StringComparer.OrdinalIgnoreCase.Equals(x, y);
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 (19)
69if (StringComparer.OrdinalIgnoreCase.Equals(attribute.LocalName, ConfigurationStrings.MapToWindows)) 78else if (StringComparer.OrdinalIgnoreCase.Equals(attribute.LocalName, ConfigurationStrings.IssuerCertificateValidator)) 82else if (StringComparer.OrdinalIgnoreCase.Equals(attribute.LocalName, ConfigurationStrings.IssuerCertificateRevocationMode)) 88if (StringComparer.OrdinalIgnoreCase.Equals(revocationModeString, ConfigurationStrings.X509RevocationModeNoCheck)) 93else if (StringComparer.OrdinalIgnoreCase.Equals(revocationModeString, ConfigurationStrings.X509RevocationModeOffline)) 98else if (StringComparer.OrdinalIgnoreCase.Equals(revocationModeString, ConfigurationStrings.X509RevocationModeOnline)) 108else if (StringComparer.OrdinalIgnoreCase.Equals(attribute.LocalName, ConfigurationStrings.IssuerCertificateValidationMode)) 114if (StringComparer.OrdinalIgnoreCase.Equals(validationModeString, ConfigurationStrings.X509CertificateValidationModeChainTrust)) 119else if (StringComparer.OrdinalIgnoreCase.Equals(validationModeString, ConfigurationStrings.X509CertificateValidationModePeerOrChainTrust)) 124else if (StringComparer.OrdinalIgnoreCase.Equals(validationModeString, ConfigurationStrings.X509CertificateValidationModePeerTrust)) 129else if (StringComparer.OrdinalIgnoreCase.Equals(validationModeString, ConfigurationStrings.X509CertificateValidationModeNone)) 134else if (StringComparer.OrdinalIgnoreCase.Equals(validationModeString, ConfigurationStrings.X509CertificateValidationModeCustom)) 144else if (StringComparer.OrdinalIgnoreCase.Equals(attribute.LocalName, ConfigurationStrings.IssuerCertificateTrustedStoreLocation)) 150if (StringComparer.OrdinalIgnoreCase.Equals(trustedStoreLocationString, ConfigurationStrings.X509TrustedStoreLocationCurrentUser)) 155else if (StringComparer.OrdinalIgnoreCase.Equals(trustedStoreLocationString, ConfigurationStrings.X509TrustedStoreLocationLocalMachine)) 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\SessionSecurityToken.cs (1)
39static Dictionary<string, string> DomainNameMap = new Dictionary<string, string>(MaxDomainNameMapSize, StringComparer.OrdinalIgnoreCase);
System\IdentityModel\Tokens\SessionSecurityTokenCacheKey.cs (1)
148if (!StringComparer.Ordinal.Equals(key2.EndpointId, this.endpointId))
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (2)
107if (!StringComparer.Ordinal.Equals(customConfigElement.LocalName, ConfigurationStrings.SessionTokenRequirement)) 121if (StringComparer.OrdinalIgnoreCase.Equals(attribute.LocalName, ConfigurationStrings.Lifetime))
System\IdentityModel\Tokens\UserNameSecurityTokenHandler.cs (1)
132if (!string.IsNullOrEmpty(type) && !StringComparer.Ordinal.Equals(type, WSSecurity10Constants.UPTokenPasswordTextValue))
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (20)
109if (!StringComparer.Ordinal.Equals(customConfigElement.LocalName, ConfigurationStrings.X509SecurityTokenHandlerRequirement)) 121if (StringComparer.OrdinalIgnoreCase.Equals(attribute.LocalName, ConfigurationStrings.MapToWindows)) 125else if (StringComparer.OrdinalIgnoreCase.Equals(attribute.LocalName, ConfigurationStrings.X509CertificateValidator)) 129else if (StringComparer.OrdinalIgnoreCase.Equals(attribute.LocalName, ConfigurationStrings.X509CertificateRevocationMode)) 135if (StringComparer.OrdinalIgnoreCase.Equals(revocationModeString, ConfigurationStrings.X509RevocationModeNoCheck)) 139else if (StringComparer.OrdinalIgnoreCase.Equals(revocationModeString, ConfigurationStrings.X509RevocationModeOffline)) 143else if (StringComparer.OrdinalIgnoreCase.Equals(revocationModeString, ConfigurationStrings.X509RevocationModeOnline)) 152else if (StringComparer.OrdinalIgnoreCase.Equals(attribute.LocalName, ConfigurationStrings.X509CertificateValidationMode)) 158if (StringComparer.OrdinalIgnoreCase.Equals(validationModeString, ConfigurationStrings.X509CertificateValidationModeChainTrust)) 162else if (StringComparer.OrdinalIgnoreCase.Equals(validationModeString, ConfigurationStrings.X509CertificateValidationModePeerOrChainTrust)) 166else if (StringComparer.OrdinalIgnoreCase.Equals(validationModeString, ConfigurationStrings.X509CertificateValidationModePeerTrust)) 170else if (StringComparer.OrdinalIgnoreCase.Equals(validationModeString, ConfigurationStrings.X509CertificateValidationModeNone)) 174else if (StringComparer.OrdinalIgnoreCase.Equals(validationModeString, ConfigurationStrings.X509CertificateValidationModeCustom)) 183else if (StringComparer.OrdinalIgnoreCase.Equals(attribute.LocalName, ConfigurationStrings.X509TrustedStoreLocation)) 189if (StringComparer.OrdinalIgnoreCase.Equals(trustedStoreLocationString, ConfigurationStrings.X509TrustedStoreLocationCurrentUser)) 193else if (StringComparer.OrdinalIgnoreCase.Equals(trustedStoreLocationString, ConfigurationStrings.X509TrustedStoreLocationLocalMachine)) 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.Management (4)
WmiGenerator.cs (4)
102private SortedList PublicProperties = new SortedList(StringComparer.OrdinalIgnoreCase); 103private SortedList PublicMethods = new SortedList (StringComparer.OrdinalIgnoreCase); 104private SortedList PublicNamesUsed = new SortedList(StringComparer.OrdinalIgnoreCase); 105private SortedList PrivateNamesUsed = new SortedList(StringComparer.OrdinalIgnoreCase);
System.Messaging (2)
System\Messaging\Design\MessageQueueConverter.cs (1)
30private static Hashtable componentsCreated = new Hashtable(StringComparer.InvariantCultureIgnoreCase);
System\Messaging\MessageQueuePermission.cs (1)
122return StringComparer.InvariantCultureIgnoreCase;
System.Runtime.Caching (1)
System\Caching\FileChangeNotificationSystem.cs (1)
71_dirMonitors = Hashtable.Synchronized(new Hashtable(StringComparer.OrdinalIgnoreCase));
System.Runtime.Serialization (3)
System\Runtime\Serialization\CodeExporter.cs (2)
53this.clrNamespaces = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 1495Dictionary<string, object> fragments = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase);
System\Runtime\Serialization\ContractCodeDomInfo.cs (1)
44memberNames = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase);
System.ServiceModel (56)
System\ServiceModel\Administration\WbemProvider.cs (1)
25Dictionary<string, IWmiProvider> wmiProviders = new Dictionary<string, IWmiProvider>(StringComparer.OrdinalIgnoreCase);
System\ServiceModel\Channels\CorrelationKey.cs (1)
114SortedList<string, string> sortedKeyData = new SortedList<string, string>(keyData, StringComparer.Ordinal);
System\ServiceModel\Channels\HttpHeaderInfo.cs (1)
46StringComparer.OrdinalIgnoreCase);
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\UriPrefixTable.cs (1)
428this.children = new Dictionary<string, SegmentHierarchyNode<TData>>(StringComparer.OrdinalIgnoreCase);
System\ServiceModel\Channels\WebSocketTransportSettings.cs (1)
191&& StringComparer.OrdinalIgnoreCase.Compare(this.SubProtocol, other.SubProtocol) == 0
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
1096Dictionary<string, object> docFromQueryInit = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase);
System\ServiceModel\Description\UniqueCodeIdentifierScope.cs (1)
23names = new SortedList<string, string>(StringComparer.OrdinalIgnoreCase);
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
59this.domainNameMap = new Dictionary<string, string>(maxDomainNameMapSize, StringComparer.OrdinalIgnoreCase);
System\ServiceModel\EndpointAddress.cs (1)
420return StringComparer.OrdinalIgnoreCase.GetHashCode(uriString);
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\IdentityModelServiceAuthorizationManager.cs (1)
744return StringComparer.OrdinalIgnoreCase.Equals(claim1.Resource, claim2.Resource);
System\ServiceModel\Security\Tokens\WindowsUserNameCachingSecurityTokenAuthenticator.cs (1)
31: base((maxCachedLogonTokens * lowWaterMarkFactor) / 100, maxCachedLogonTokens, StringComparer.OrdinalIgnoreCase, PurgingMode.TimerBasedPurge, TimeSpan.FromTicks(cachedLogonTokenLifetime.Ticks >> 2), true)
System\ServiceModel\Security\WSTrustServiceContract.cs (9)
1700if (StringComparer.Ordinal.Equals(portType.Name, WSTrustServiceContractConstants.Contracts.IWSTrustFeb2005Sync)) 1752else if (StringComparer.OrdinalIgnoreCase.Equals(portType.Name, WSTrustServiceContractConstants.Contracts.IWSTrust13Sync)) 1805else if (StringComparer.OrdinalIgnoreCase.Equals(portType.Name, WSTrustServiceContractConstants.Contracts.IWSTrustFeb2005Async)) 1858else if (StringComparer.OrdinalIgnoreCase.Equals(portType.Name, WSTrustServiceContractConstants.Contracts.IWSTrust13Async)) 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\ServiceModel\Security\WSTrustServiceHost.cs (4)
113if (StringComparer.OrdinalIgnoreCase.Equals(baseAddress.Scheme, Uri.UriSchemeHttp)) 118else if (StringComparer.OrdinalIgnoreCase.Equals(baseAddress.Scheme, Uri.UriSchemeHttps)) 123else if (StringComparer.OrdinalIgnoreCase.Equals(baseAddress.Scheme, Uri.UriSchemeNetTcp)) 127else if (StringComparer.OrdinalIgnoreCase.Equals(baseAddress.Scheme, Uri.UriSchemeNetPipe))
System\ServiceModel\StringUtil.cs (1)
14randomizedStringHashingEnabled = StringComparer.InvariantCultureIgnoreCase.GetHashCode("The quick brown fox jumps over the lazy dog.") != 0x703e662e;
System\UriTemplate.cs (5)
62this.queries = new Dictionary<string, UriTemplateQueryValue>(StringComparer.OrdinalIgnoreCase); 210this.additionalDefaults = new Dictionary<string, string>(additionalDefaults, StringComparer.OrdinalIgnoreCase); 243this.additionalDefaults = new Dictionary<string, string>(additionalDefaults.Count, StringComparer.OrdinalIgnoreCase); 948this.unescapedDefaults = new ConcurrentDictionary<string, string>(StringComparer.Ordinal); 1015this.defaults = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
System\UriTemplateCompoundPathSegment.cs (2)
159if (StringComparer.OrdinalIgnoreCase.Compare(this.firstLiteral, otherAsCompound.firstLiteral) != 0) 165if (StringComparer.OrdinalIgnoreCase.Compare(this.varLitPairs[pairIndex].Literal,
System\UriTemplateHelpers.cs (2)
40if (StringComparer.OrdinalIgnoreCase.Equals(queryKeys[i], queryKeyName)) 261Dictionary<string, byte> queryVarNamesWithLiteralVals = new Dictionary<string, byte>(StringComparer.OrdinalIgnoreCase);
System\UriTemplateLiteralPathSegment.cs (4)
88return StringComparer.OrdinalIgnoreCase.Compare(this.segment, other.segment); 102StringComparer.OrdinalIgnoreCase.Equals(this.segment, lps.segment)); 107return StringComparer.OrdinalIgnoreCase.GetHashCode(this.segment); 139Fx.Assert(StringComparer.OrdinalIgnoreCase.Compare(AsUnescapedString(), segment) == 0,
System.ServiceModel.Activation (9)
System\ServiceModel\Activation\HostedTransportConfigurationManager.cs (1)
22IDictionary<string, HostedTransportConfiguration> configurations = new Dictionary<string, HostedTransportConfiguration>(StringComparer.Ordinal);
System\ServiceModel\Activation\MetabaseSettings.cs (1)
207transportSettingsTable = new Dictionary<string, HostedServiceTransportSettings>(StringComparer.OrdinalIgnoreCase);
System\ServiceModel\Activation\ServiceParser.cs (1)
143StringComparer.OrdinalIgnoreCase);
System\ServiceModel\Activation\ServiceRouteHandler.cs (1)
36static Hashtable routeServiceTable = new Hashtable(StringComparer.CurrentCultureIgnoreCase);
System\ServiceModel\Channels\MsmqHostedTransportManager.cs (1)
112Dictionary<string, string> privateMatches = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
System\ServiceModel\ServiceHostingEnvironment.cs (4)
638this.directory = new CollectibleLRUCache<string, ServiceHostBase>(16, StringComparer.OrdinalIgnoreCase); 660this.serviceActivations = new Hashtable(StringComparer.CurrentCultureIgnoreCase); 1579buildProviders = new Dictionary<string, BuildProviderInfo>(8, StringComparer.OrdinalIgnoreCase); 1910static Hashtable pathCache = new Hashtable(StringComparer.OrdinalIgnoreCase);
System.ServiceModel.Internals (1)
System\Runtime\UrlUtility.cs (1)
480: base(StringComparer.OrdinalIgnoreCase)
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\SoapProcessingBehavior.cs (1)
169HashSet<string> headersToFlow = new HashSet<string>(StringComparer.Ordinal);
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\UriTemplateClientFormatter.cs (1)
149Dictionary<string, byte> alreadyGotVars = new Dictionary<string, byte>(StringComparer.OrdinalIgnoreCase);
System.Web (161)
Compilation\AssemblyBuilder.cs (1)
52private Hashtable _buildProviders = new Hashtable(StringComparer.OrdinalIgnoreCase);
Compilation\AssemblyResolver.cs (2)
72() => new ConcurrentDictionary<string, Version>(StringComparer.OrdinalIgnoreCase)); 163StringComparer.OrdinalIgnoreCase);
Compilation\BaseResourcesBuildProvider.cs (1)
194IDictionary resourceList = new Hashtable(StringComparer.OrdinalIgnoreCase);
Compilation\BuildManager.cs (7)
230_theBuildManager._generatedFileTable = new Dictionary<String, String>(StringComparer.OrdinalIgnoreCase); 815return new HashSet<string>(methods.Select(m => m.DeclaringType.Assembly.FullName), StringComparer.OrdinalIgnoreCase); 822return new HashSet<string>(File.ReadAllLines(path), StringComparer.OrdinalIgnoreCase); 895methodsToExecute = methodsToExecute.OrderBy(m => m.DeclaringType.AssemblyQualifiedName, StringComparer.OrdinalIgnoreCase) 896.ThenBy(m => m.Name, StringComparer.OrdinalIgnoreCase); 1031_assemblyResolveMapping = new Hashtable(StringComparer.OrdinalIgnoreCase); 1190new Dictionary<String, AssemblyReferenceInfo>(StringComparer.OrdinalIgnoreCase);
Compilation\BuildProvidersCompiler.cs (2)
159StringComparer.OrdinalIgnoreCase); 270StringComparer.OrdinalIgnoreCase);
Compilation\IImplicitResourceProvider.cs (1)
143_implicitResources = new Hashtable(StringComparer.OrdinalIgnoreCase);
Compilation\TimeStampChecker.cs (1)
19private Hashtable _timeStamps = new Hashtable(StringComparer.OrdinalIgnoreCase);
Configuration\BrowserCapabilitiesFactoryBase.cs (3)
43Hashtable browserElements = Hashtable.Synchronized(new Hashtable(StringComparer.OrdinalIgnoreCase)); 71Hashtable matchedHeaders = Hashtable.Synchronized(new Hashtable(24, StringComparer.OrdinalIgnoreCase)); 154Hashtable values = new Hashtable(180, StringComparer.OrdinalIgnoreCase);
Configuration\BrowserTree.cs (1)
38internal BrowserTree() : base(StringComparer.OrdinalIgnoreCase) {
Configuration\BuildProviderCollection.cs (1)
37: base(StringComparer.OrdinalIgnoreCase) {
Configuration\ClientTargetCollection.cs (1)
30: base(StringComparer.OrdinalIgnoreCase) {
Configuration\CodeSubDirectoriesCollection.cs (1)
36: base(StringComparer.OrdinalIgnoreCase) {
Configuration\CompilationSection.cs (2)
529Hashtable compilerLanguages = new Hashtable(StringComparer.OrdinalIgnoreCase); 530_compilerExtensions = new Hashtable(StringComparer.OrdinalIgnoreCase);
Configuration\CompilerCollection.cs (1)
42: base(StringComparer.OrdinalIgnoreCase) {
Configuration\ExpressionBuilderCollection.cs (1)
34: base(StringComparer.OrdinalIgnoreCase) {
Configuration\FolderLevelBuildProviderCollection.cs (1)
29: base(StringComparer.OrdinalIgnoreCase) {
Configuration\HttpCapabilitiesBase.cs (1)
341_adapters = new Hashtable(StringComparer.OrdinalIgnoreCase);
Configuration\HttpHandlerActionCollection.cs (1)
31: base(StringComparer.OrdinalIgnoreCase) {
Configuration\HttpModuleActionCollection.cs (1)
37: base(StringComparer.OrdinalIgnoreCase) {
Configuration\IgnoreDeviceFilterElementCollection.cs (1)
33: base(StringComparer.OrdinalIgnoreCase) {
Configuration\NamespaceCollection.cs (1)
95_namespaceEntries = new Hashtable(StringComparer.OrdinalIgnoreCase);
Configuration\OutputCacheProfileCollection.cs (1)
37: base(StringComparer.OrdinalIgnoreCase) {
Configuration\PagesSection.cs (1)
716Hashtable userControlRegisterEntries = new Hashtable(StringComparer.OrdinalIgnoreCase);
Configuration\ProvidersHelper.cs (2)
36NameValueCollection cloneParams = new NameValueCollection(pars.Count, StringComparer.Ordinal); 66NameValueCollection cloneParams = new NameValueCollection(providerSettings.Count, StringComparer.Ordinal);
Configuration\RemoteWebConfigurationHost.cs (1)
76_PathMap = new Hashtable(StringComparer.OrdinalIgnoreCase);
Configuration\TagMapCollection.cs (1)
79Hashtable tagMappings = new Hashtable(StringComparer.OrdinalIgnoreCase);
Configuration\TagPrefixCollection.cs (1)
33: base(StringComparer.OrdinalIgnoreCase) {
Configuration\TransformerInfoCollection.cs (1)
84_transformerEntries = new Hashtable(StringComparer.OrdinalIgnoreCase);
Configuration\UrlMappingCollection.cs (1)
31base(StringComparer.OrdinalIgnoreCase) {
Configuration\VirtualDirectoryMappingCollection.cs (1)
21public VirtualDirectoryMappingCollection() : base(StringComparer.OrdinalIgnoreCase) {
Configuration\WebConfigurationHost.cs (1)
517_fileChangeCallbacks = new Hashtable(StringComparer.OrdinalIgnoreCase);
FileChangesMonitor.cs (4)
583_fileMons = new Hashtable(StringComparer.OrdinalIgnoreCase); 1542_aliases = Hashtable.Synchronized(new Hashtable(StringComparer.OrdinalIgnoreCase)); 1543_dirs = new Hashtable(StringComparer.OrdinalIgnoreCase); 1544_subDirDirMons = new Hashtable(StringComparer.OrdinalIgnoreCase);
Hosting\ApplicationManager.cs (7)
76private Dictionary <string, LockableAppDomainContext> _appDomains = new Dictionary<string, LockableAppDomainContext>(StringComparer.OrdinalIgnoreCase); 529_appDomains = new Dictionary<string, LockableAppDomainContext>(StringComparer.OrdinalIgnoreCase); 720StringComparer comparer = ignoreCase ? StringComparer.InvariantCultureIgnoreCase : StringComparer.InvariantCulture; 1730return new Dictionary<string, LockableAppDomainContext>(_appDomains, StringComparer.OrdinalIgnoreCase); 1803return (StringComparer.InvariantCultureIgnoreCase.GetHashCode("The quick brown fox jumps over the lazy dog.") != 0x703e662e);
Hosting\ISAPIWorkerRequest.cs (1)
2859_serverVars = new Hashtable(_numServerVars, StringComparer.OrdinalIgnoreCase);
Hosting\MapPathBasedVirtualPathProvider.cs (2)
287_exclude = new Hashtable(StringComparer.OrdinalIgnoreCase); 298_virtualPaths = new Hashtable(StringComparer.OrdinalIgnoreCase);
HttpContext.cs (1)
353if (incomingProtocols == null || !incomingProtocols.Contains(subprotocol, StringComparer.Ordinal)) {
HttpCookieCollection.cs (4)
40: base(StringComparer.OrdinalIgnoreCase) { 52public HttpCookieCollection(): base(StringComparer.OrdinalIgnoreCase) { 59: base(StringComparer.OrdinalIgnoreCase) { 124_keysAwaitingValidation = new HashSet<string>(Keys.Cast<string>(), StringComparer.OrdinalIgnoreCase);
HttpFileCollection.cs (1)
39: base(StringComparer.InvariantCultureIgnoreCase) {
httpstaticobjectscollection.cs (1)
30private IDictionary _objects = new Hashtable(StringComparer.OrdinalIgnoreCase);
HttpValueCollection.cs (5)
34internal HttpValueCollection(): base(StringComparer.OrdinalIgnoreCase) { 40: base(StringComparer.OrdinalIgnoreCase) { 55internal HttpValueCollection(String str, bool readOnly, bool urlencoded, Encoding encoding): base(StringComparer.OrdinalIgnoreCase) { 62internal HttpValueCollection(int capacity) : base(capacity, StringComparer.OrdinalIgnoreCase) { 76_keysAwaitingValidation = new HashSet<string>(Keys.Cast<string>().Where(KeyIsCandidateForValidation), StringComparer.OrdinalIgnoreCase);
MimeMapping.cs (1)
36private readonly Dictionary<string, string> _mappings = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
ModelBinding\CookieValueProvider.cs (1)
12private readonly Dictionary<string, ValueProviderResultPlaceholder> _values = new Dictionary<string, ValueProviderResultPlaceholder>(StringComparer.OrdinalIgnoreCase);
ModelBinding\DictionaryValueProvider`1.cs (1)
9private readonly Dictionary<string, ValueProviderResult> _values = new Dictionary<string, ValueProviderResult>(StringComparer.OrdinalIgnoreCase);
ModelBinding\ModelBindingContext.cs (1)
106_propertyMetadata = ModelMetadata.Properties.ToDictionary(m => m.PropertyName, StringComparer.OrdinalIgnoreCase);
ModelBinding\ModelMetadata.cs (1)
14private Dictionary<string, object> _additionalValues = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase);
ModelBinding\ModelStateDictionary.cs (1)
10private readonly Dictionary<string, ModelState> _innerDictionary = new Dictionary<string, ModelState>(StringComparer.OrdinalIgnoreCase);
ModelBinding\MutableObjectModelBinder.cs (2)
131requiredProperties = new HashSet<string>(StringComparer.OrdinalIgnoreCase); 132skipProperties = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
ModelBinding\NameValueCollectionValueProvider.cs (1)
13private readonly Dictionary<string, ValueProviderResultPlaceholder> _values = new Dictionary<string, ValueProviderResultPlaceholder>(StringComparer.OrdinalIgnoreCase);
ModelBinding\PrefixContainer.cs (2)
21Array.Sort(_sortedValues, StringComparer.OrdinalIgnoreCase); 81return StringComparer.OrdinalIgnoreCase.Compare(x, y);
ModelBinding\SessionAttribute.cs (1)
33Dictionary<string, object> backingStore = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase);
Profile\ProfileInfo.cs (1)
76_Hashtable = new Hashtable(10, StringComparer.CurrentCultureIgnoreCase);
Routing\ParsedRoute.cs (1)
37HashSet<string> unusedNewValues = new HashSet<string>(values.Keys, StringComparer.OrdinalIgnoreCase);
Routing\RouteCollection.cs (1)
12private Dictionary<string, RouteBase> _namedMap = new Dictionary<string, RouteBase>(StringComparer.OrdinalIgnoreCase);
Routing\RouteParser.cs (1)
212HashSet<string> usedParameterNames = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
Routing\RouteValueDictionary.cs (3)
12_dictionary = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase); 16_dictionary = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase); 22_dictionary = new Dictionary<string, object>(dictionary, StringComparer.OrdinalIgnoreCase);
Security\ADMembershipProvider.cs (2)
123Hashtable attributesInUse = new Hashtable(StringComparer.OrdinalIgnoreCase); 3292Hashtable attributes = new Hashtable(StringComparer.OrdinalIgnoreCase);
Security\Membership.cs (1)
470NameValueCollection cloneParams = new NameValueCollection(pars.Count, StringComparer.Ordinal);
Security\Roles.cs (1)
541NameValueCollection cloneParams = new NameValueCollection(pars.Count, StringComparer.Ordinal);
StaticSiteMapProvider.cs (1)
80_urlTable = new Hashtable(StringComparer.OrdinalIgnoreCase);
UI\BaseTemplateParser.cs (1)
340public TagNamespaceRegisterEntryTable() : base(StringComparer.OrdinalIgnoreCase) {
UI\ChtmlTextWriter.cs (6)
26private Hashtable _recognizedAttributes = new Hashtable(StringComparer.CurrentCultureIgnoreCase); 27private Hashtable _suppressedAttributes = new Hashtable(StringComparer.CurrentCultureIgnoreCase); 28private Hashtable _globalSuppressedAttributes = new Hashtable(StringComparer.CurrentCultureIgnoreCase); 68eltAttributes = new Hashtable(StringComparer.CurrentCultureIgnoreCase); 124eltAttributes = new Hashtable(StringComparer.CurrentCultureIgnoreCase); 131eltAttributes = new Hashtable(StringComparer.CurrentCultureIgnoreCase);
UI\ClientScriptManager.cs (2)
690_registeredControlsWithExpandoAttributes = new ListDictionary(StringComparer.Ordinal); 697expandoAttributes = new ListDictionary(StringComparer.Ordinal);
UI\DataBindingCollection.cs (2)
31this.bindings = new Hashtable(StringComparer.OrdinalIgnoreCase); 95removedBindings = new Hashtable(StringComparer.OrdinalIgnoreCase);
UI\ExpressionBindingCollection.cs (2)
31this.bindings = new Hashtable(StringComparer.OrdinalIgnoreCase); 95removedBindings = new Hashtable(StringComparer.OrdinalIgnoreCase);
UI\FilteredAttributeCollection.cs (1)
26_data = new ListDictionary(StringComparer.OrdinalIgnoreCase);
UI\HTMLTagNameToTypeMapper.cs (2)
32Hashtable t = new Hashtable(10, StringComparer.OrdinalIgnoreCase); 60Hashtable t = new Hashtable(10, StringComparer.OrdinalIgnoreCase);
UI\MasterPage.cs (1)
153_contentTemplateCollection = new Hashtable(10, StringComparer.OrdinalIgnoreCase);
UI\ObjectStateFormatter.cs (1)
745_stringTable = new Hashtable(StringComparer.Ordinal);
UI\Page.cs (1)
2670_contentTemplateCollection = new Hashtable(11, StringComparer.OrdinalIgnoreCase);
UI\ParsedAttributeCollection.cs (3)
26_filterTable = new ListDictionary(StringComparer.OrdinalIgnoreCase); 35_allFiltersDictionary = new ListDictionary(StringComparer.OrdinalIgnoreCase); 93_attributeValuePositionInfo = new Dictionary<String, Pair>(StringComparer.OrdinalIgnoreCase);
UI\SkinBuilder.cs (1)
229skins = new SortedList(StringComparer.OrdinalIgnoreCase);
UI\TagNameToTypeMapper.cs (2)
342_prefixedMappers = new Hashtable(StringComparer.OrdinalIgnoreCase); 441_mappedTags = new Hashtable(StringComparer.OrdinalIgnoreCase);
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);
UI\WebControls\Content.cs (1)
97else if (attributesToPreserve.Contains(key, StringComparer.OrdinalIgnoreCase)) {
UI\WebControls\ModelDataMethodResult.cs (1)
32outputParameters = outputParameters ?? new OrderedDictionary(StringComparer.OrdinalIgnoreCase);
UI\WebControls\ModelDataSourceView.cs (6)
499IOrderedDictionary mergedParameters = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 509IDictionary pagingParameters = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 607IDictionary caseInsensitiveOldValues = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 641IDictionary caseInsensitiveNewValues = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 674IDictionary caseInsensitiveNewValues = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 1178OrderedDictionary outputParameters = new OrderedDictionary(StringComparer.OrdinalIgnoreCase);
UI\WebControls\ObjectDataSourceView.cs (13)
850IDictionary caseInsensitiveOldValues = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 875IOrderedDictionary caseInsensitiveAllValues = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 932IDictionary caseInsensitiveNewValues = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 950IOrderedDictionary caseInsensitiveAllValues = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 996IOrderedDictionary mergedParameters = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 1084IDictionary pagingParameters = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 1216IDictionary caseInsensitiveNewValues = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 1232caseInsensitiveOldValues = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 1245IDictionary caseInsensitiveNewValues = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 1270IOrderedDictionary caseInsensitiveAllValues = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 1331IDictionary outputParameters = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 1410OrderedDictionary parameters = new OrderedDictionary(2, StringComparer.OrdinalIgnoreCase); 1576parameters = new OrderedDictionary(methodParameterCount, StringComparer.OrdinalIgnoreCase);
UI\WebControls\SqlDataSourceView.cs (2)
620caseInsensitiveExclusionList = new ListDictionary(StringComparer.OrdinalIgnoreCase); 1199caseInsensitiveExclusionList = new ListDictionary(StringComparer.OrdinalIgnoreCase);
UI\WebControls\WebColorConverter.cs (1)
136Hashtable t = new Hashtable(StringComparer.OrdinalIgnoreCase);
UI\WebParts\PersonalizationStateQuery.cs (1)
21_knownPropertyTypeMappings = new Dictionary<String, Type>(StringComparer.OrdinalIgnoreCase);
UI\XhtmlTextWriter.cs (4)
20private Hashtable _elementSpecificAttributes = new Hashtable(StringComparer.CurrentCultureIgnoreCase); 21private Hashtable _suppressCommonAttributes = new Hashtable(StringComparer.CurrentCultureIgnoreCase); 144eltAttributes = new Hashtable(StringComparer.CurrentCultureIgnoreCase); 196eltAttributes = new Hashtable(StringComparer.CurrentCultureIgnoreCase);
Util\Misc.cs (3)
26static StringComparer s_caseInsensitiveInvariantKeyComparer; 28internal static StringComparer CaseInsensitiveInvariantKeyComparer { 31s_caseInsensitiveInvariantKeyComparer = StringComparer.Create(CultureInfo.InvariantCulture, true);
Util\SimpleRecyclingCache.cs (1)
33_hashtable = new Hashtable(MAX_SIZE, StringComparer.OrdinalIgnoreCase);
Util\StringUtil.cs (2)
283return ignoreCase ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(s) : s.GetHashCode(); 302return StringComparer.InvariantCultureIgnoreCase.GetHashCode(s);
VirtualPath.cs (3)
83return StringComparer.InvariantCultureIgnoreCase.Compare( 472return StringComparer.InvariantCultureIgnoreCase.Compare( 477return StringComparer.InvariantCultureIgnoreCase.GetHashCode(VirtualPathString);
WebSockets\SubprotocolUtil.cs (1)
124if (subprotocols.Distinct(StringComparer.Ordinal).Count() != subprotocols.Count) {
WorkerRequest.cs (2)
1376static private Hashtable s_requestHeadersLoookupTable = new Hashtable(StringComparer.OrdinalIgnoreCase); 1377static private Hashtable s_responseHeadersLoookupTable = new Hashtable(StringComparer.OrdinalIgnoreCase);
System.Web.ApplicationServices (1)
Security\MembershipUserCollection.cs (1)
22_Indices = new Hashtable(10, StringComparer.CurrentCultureIgnoreCase);
System.Web.DataVisualization (10)
Common\Borders3D\Borders3D.cs (2)
598internal Hashtable registeredBorderTypes = new Hashtable(StringComparer.OrdinalIgnoreCase); 599private Hashtable _createdBorderTypes = new Hashtable(StringComparer.OrdinalIgnoreCase);
Common\ChartTypes\ChartTypeRegistry.cs (2)
128internal Hashtable registeredChartTypes = new Hashtable(StringComparer.OrdinalIgnoreCase); 129private Hashtable _createdChartTypes = new Hashtable(StringComparer.OrdinalIgnoreCase);
Common\Formulas\FormulaRegistry.cs (2)
47 internal Hashtable registeredModules = new Hashtable(StringComparer.OrdinalIgnoreCase); 48private Hashtable _createdModules = new Hashtable(StringComparer.OrdinalIgnoreCase);
Common\Utilities\ImageLoader.cs (1)
172_imageData = new Hashtable(StringComparer.OrdinalIgnoreCase);
Common\Utilities\XmlSerializer.cs (2)
228protected static StringComparer hashCodeProvider = StringComparer.OrdinalIgnoreCase;
WebForm\General\ChartHttpHandler.cs (1)
1395: base(StringComparer.OrdinalIgnoreCase)
System.Web.DynamicData (3)
DynamicData\MetaModel.cs (1)
24private Dictionary<string, MetaTable> _tablesByUniqueName = new Dictionary<string, MetaTable>(StringComparer.OrdinalIgnoreCase);
DynamicData\MetaTable.cs (1)
388_columnsByName = new Dictionary<string, MetaColumn>(StringComparer.OrdinalIgnoreCase);
DynamicData\ModelProviders\EFAssociationProvider.cs (1)
66IsPrimaryKeyInThisTable = foreignKeyNames.Any(fkName => primaryKeyNames.Contains(fkName, StringComparer.OrdinalIgnoreCase));
System.Web.Extensions (32)
ApplicationServices\ApplicationServiceHelper.cs (2)
133readAccessProperties = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase); 140writeAccessProperties = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase);
Compilation\WCFModel\MapFileLoader.cs (1)
333var fileNameSet = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
Profile\ProfileService.cs (2)
52dictionary = new Dictionary<string, object>(allowedGet.Count, StringComparer.OrdinalIgnoreCase); 64dictionary = new Dictionary<string, object>(allowedGet.Count, StringComparer.OrdinalIgnoreCase);
Script\Services\WebServiceData.cs (1)
223Dictionary<string, WebServiceMethodData> methods = new Dictionary<string, WebServiceMethodData>(StringComparer.OrdinalIgnoreCase);
UI\ScriptComponentDescriptor.cs (2)
63_events = new SortedList<string, string>(StringComparer.Ordinal); 82_properties = new SortedList<string, Expression>(StringComparer.Ordinal);
UI\ScriptManager.cs (5)
87private HashSet<String> _scriptPathsDefiningSys = new HashSet<String>(StringComparer.OrdinalIgnoreCase); 1198_initialState = new Hashtable(StringComparer.Ordinal); 1212_initialState = new Hashtable(state.Count, StringComparer.Ordinal); 1392_initialState = new Hashtable(StringComparer.Ordinal); 1618HashSet<string> virtualPathsInBundles = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
UI\ScriptRegistrationManager.cs (1)
495ListDictionary uniqueEntries = new ListDictionary(StringComparer.Ordinal);
UI\ScriptResourceAttribute.cs (1)
96Dictionary<String, String> resources = new Dictionary<String, String>(StringComparer.Ordinal);
UI\WebControls\DataSourceHelper.cs (2)
34Dictionary<string, object> values = new Dictionary<string, object>(parameterValues.Count, StringComparer.OrdinalIgnoreCase); 45IOrderedDictionary destination = new OrderedDictionary(dictionary.Count, StringComparer.OrdinalIgnoreCase);
UI\WebControls\Dynamic.cs (2)
645symbols = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase); 2056Dictionary<string, object> d = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase);
UI\WebControls\LinqDataSourceValidationException.cs (1)
48_innerExceptions = new Dictionary<string, Exception>(StringComparer.OrdinalIgnoreCase);
UI\WebControls\LinqDataSourceView.cs (1)
854validateExceptions = new Dictionary<string, Exception>(StringComparer.OrdinalIgnoreCase);
UI\WebControls\QueryableDataSourceHelper.cs (2)
117StringComparer.OrdinalIgnoreCase); 134StringComparer.OrdinalIgnoreCase);
UI\WebControls\QueryableDataSourceView.cs (9)
570StringComparer.OrdinalIgnoreCase); 590_originalValues = new Hashtable(maxColumns, StringComparer.OrdinalIgnoreCase); 618IDictionary caseInsensitiveOldValues = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 656IDictionary caseInsensitiveNewValues = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 680IDictionary caseInsensitiveNewValues = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 681IDictionary caseInsensitiveOldValues = new OrderedDictionary(StringComparer.OrdinalIgnoreCase); 752IDictionary<string, Exception> errors = new Dictionary<string, Exception>(StringComparer.OrdinalIgnoreCase); 766IDictionary<string, Exception> errors = new Dictionary<string, Exception>(StringComparer.OrdinalIgnoreCase); 778IDictionary<string, Exception> errors = new Dictionary<string, Exception>(StringComparer.OrdinalIgnoreCase);
System.Web.Mobile (3)
UI\MobileControls\Design\Util\SimpleParser.cs (1)
312_table = new Hashtable(initialCapacity, StringComparer.OrdinalIgnoreCase);
UI\MobileControls\MobilePage.cs (2)
1450int pageHashCode = StringComparer.InvariantCultureIgnoreCase.GetHashCode( 1452pageHashCode += StringComparer.InvariantCultureIgnoreCase.GetHashCode(GetType().Name);
System.Windows.Forms (1)
winforms\Managed\System\Resources\ResXDataNode.cs (1)
986cachedTypes = Hashtable.Synchronized(new Hashtable(StringComparer.Ordinal));
System.Windows.Forms.DataVisualization (9)
Common\Borders3D\Borders3D.cs (2)
598internal Hashtable registeredBorderTypes = new Hashtable(StringComparer.OrdinalIgnoreCase); 599private Hashtable _createdBorderTypes = new Hashtable(StringComparer.OrdinalIgnoreCase);
Common\ChartTypes\ChartTypeRegistry.cs (2)
128internal Hashtable registeredChartTypes = new Hashtable(StringComparer.OrdinalIgnoreCase); 129private Hashtable _createdChartTypes = new Hashtable(StringComparer.OrdinalIgnoreCase);
Common\Formulas\FormulaRegistry.cs (2)
47 internal Hashtable registeredModules = new Hashtable(StringComparer.OrdinalIgnoreCase); 48private Hashtable _createdModules = new Hashtable(StringComparer.OrdinalIgnoreCase);
Common\Utilities\ImageLoader.cs (1)
172_imageData = new Hashtable(StringComparer.OrdinalIgnoreCase);
Common\Utilities\XmlSerializer.cs (2)
228protected static StringComparer hashCodeProvider = StringComparer.OrdinalIgnoreCase;
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 (4)
AuthoringOM\Compiler\CompileXomlTask.cs (2)
983static HashSet<string> validWarnings = new HashSet<string>(StringComparer.Ordinal) 1007static HashSet<string> validWarnings = new HashSet<string>(StringComparer.Ordinal)
AuthoringOM\Compiler\XomlCompilerParameters.cs (1)
265this.frameworkReferenceDirectories = new HashSet<string>(StringComparer.CurrentCultureIgnoreCase);
AuthoringOM\Design\DesignerHelpers.cs (1)
1719while (identifiers.BinarySearch(finalIdentifier.ToLowerInvariant(), StringComparer.OrdinalIgnoreCase) >= 0)
System.Xaml.Hosting (2)
System\Xaml\Hosting\Configuration\HandlerElementCollection.cs (1)
17: base(StringComparer.OrdinalIgnoreCase)
System\Xaml\Hosting\XamlHttpHandlerFactory.cs (1)
64static Hashtable pathCache = new Hashtable(StringComparer.OrdinalIgnoreCase);
WindowsBase (8)
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (2)
951new SortedDictionary<String, PackageRelationship>(StringComparer.Ordinal); 1315private static readonly Dictionary<string, string> _rsaSigMethodLookup = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase)
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);
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\ResolveAssemblyHelper.cs (1)
74this.ReferencedAssemblies = new Dictionary<string, Assembly>(StringComparer.OrdinalIgnoreCase);