1 override of ContainsKey
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (1)
1307public override bool ContainsKey(object key)
81 references to ContainsKey
dotnet-svcutil-lib (6)
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceImportCollection.cs (1)
85if (!_keys.ContainsKey(value.Namespace))
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (4)
468if (_objectsInUse.ContainsKey(o)) throw new InvalidOperationException(string.Format(ResXml.XmlCircularReference, o.GetType().FullName)); 564if (!qnIndexes.ContainsKey(newIndex)) 642if (!_objectsInUse.ContainsKey(o)) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, "missing stack object of type " + o.GetType().FullName)); 1503while (_usedPrefixes.ContainsKey(++_tempNamespacePrefix)) {; }
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (1)
619if (!s_serializationSchemaElements.ContainsKey(element.RefName.Name))
Microsoft.Build.Tasks.Core (3)
RedistList.cs (3)
612if (!uniqueClientListNames.ContainsKey(redistName)) 652if (!denyList.ContainsKey(hashKey) && uniqueClientListNames.ContainsKey(redistName))
Microsoft.CSharp (3)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComTypeDesc.cs (3)
73if (Funcs.ContainsKey(name)) 94if (Puts.ContainsKey(name)) 115if (PutRefs.ContainsKey(name))
PresentationBuildTasks (1)
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TemplateXamlParser.cs (1)
1478if (_IDTypes.ContainsKey(xamlPropertyNode.Value))
PresentationCore (1)
MS\Internal\FontFace\CompositeFontParser.cs (1)
308return _namespaceMap.ContainsKey(xmlNamespace);
PresentationFramework (12)
MS\Internal\Globalization\BamlTreeUpdater.cs (2)
277if (uidSubstitutions.ContainsKey(element.Uid)) 308if (!uidSubstitutions.ContainsKey(element.Uid))
MS\Internal\WeakHashSet.cs (3)
21if (!_hashTable.ContainsKey(item)) 34return _hashTable.ContainsKey(item); 71if (_hashTable.ContainsKey(item))
System\Windows\Controls\TextRangeAdaptor.cs (2)
1658if (!_textPatternAttributes.ContainsKey(attribute)) 1794if (attribute == null || !_textPatternAttributes.ContainsKey(attribute))
System\Windows\Documents\FixedFlowMap.cs (1)
382if (_mapping.ContainsKey(fn))
System\Windows\Documents\XPSS0ValidatingLoader.cs (3)
143if (!validResources.ContainsKey(absTargetUri)) 150if (!validResources.ContainsKey(absTargetUri)) 225if (!validResources.ContainsKey(uri))
System\Windows\Interop\ActiveXHost.cs (1)
122if (dp != null && invalidatorMap.ContainsKey(dp))
ReachFramework (1)
Packaging\XpsInterleavingPolicy.cs (1)
282if (!_flushOrderItems.ContainsKey(node.GetType()) ||
System.Collections.Specialized (2)
System\Collections\Specialized\OrderedDictionary.cs (1)
585return value != null && _objectsTable.ContainsKey(value);
System\Collections\Specialized\StringDictionary.cs (1)
140return contents.ContainsKey(key.ToLowerInvariant());
System.ComponentModel.TypeConverter (2)
System\ComponentModel\LicenseManager.cs (1)
174return s_providers.ContainsKey(type);
System\ComponentModel\ReflectTypeDescriptionProvider.cs (1)
229if (!editorTables.ContainsKey(editorBaseType))
System.Data.Common (5)
System\Data\Common\DbConnectionStringBuilder.cs (2)
451if (!propertyDescriptors.ContainsKey(displayName)) 477if (!propertyDescriptors.ContainsKey(keyword))
System\Data\DataTable.cs (2)
936if (rowErrors.ContainsKey(rowIndex)) 940if (colErrors.ContainsKey(rowIndex))
System\Data\XMLSchema.cs (1)
1391if (_constraintNodes!.ContainsKey(name))
System.Data.OleDb (5)
DbConnectionOptions.cs (5)
140HasPasswordKeyword = (_parsetable.ContainsKey(KEY.Password) || _parsetable.ContainsKey(SYNONYM.Pwd)); 141HasUserIdKeyword = (_parsetable.ContainsKey(KEY.User_ID) || _parsetable.ContainsKey(SYNONYM.UID)); 323return _parsetable.ContainsKey(keyword);
System.Diagnostics.PerformanceCounter (8)
System\Diagnostics\PerformanceCounterCategory.cs (2)
346if (h.ContainsKey(counterData[i].CounterName)) 521return categorySample._instanceNameTable.ContainsKey(instanceName);
System\Diagnostics\PerformanceCounterLib.cs (6)
309return CategoryTable.ContainsKey(category); 394if (!CategoryTable.ContainsKey(category)) 664if (table.ContainsKey(category)) 1508if (!_instanceNameTable.ContainsKey(newInstanceName)) 1729if (!_categorySample._instanceNameTable.ContainsKey(instanceName)) 1736if (!_categorySample._instanceNameTable.ContainsKey(instanceName))
System.DirectoryServices (3)
System\DirectoryServices\ActiveDirectory\DirectoryEntryManager.cs (2)
117if (!_directoryEntries.ContainsKey(dn)) 144if (_directoryEntries.ContainsKey(dn))
System\DirectoryServices\Design\DirectoryEntryConverter.cs (1)
69if (s_componentsCreated.ContainsKey(path))
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (2)
471return ContainsKey(key); 1311return _table.ContainsKey(key);
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
611if (!s_serializationSchemaElements.ContainsKey(element.RefName.Name))
System.Private.Xml (4)
System\Xml\Serialization\XmlSerializationWriter.cs (1)
547if (_objectsInUse.ContainsKey(o)) throw new InvalidOperationException(SR.Format(SR.XmlCircularReference, o.GetType().FullName));
System\Xml\Xsl\XsltOld\Stylesheet.cs (2)
153if (!_attributeSetTable.ContainsKey(attributeSet.Name)) 176if (!_templateNameTable.ContainsKey(template.Name))
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (1)
275if (!documents.ContainsKey(uri))
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\ExcAncestralNamespaceContextManager.cs (1)
23return _inclusivePrefixSet.ContainsKey(nsPrefix) &&
System.ServiceModel.NetFramingBase (2)
System\ServiceModel\Channels\NetFramingTransportChannelFactory.cs (2)
195if (!s_connectionPoolRegistries.ContainsKey(GetType())) 199if (!s_connectionPoolRegistries.ContainsKey(GetType()))
System.Speech (3)
Internal\AlphabetConverter.cs (3)
272return _prefixSapiTable.ContainsKey(prefix); 276return _prefixUpsTable.ContainsKey(prefix); 321if (!prefixTable.ContainsKey(key))
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\RegexParser.cs (3)
1986if (!_caps.ContainsKey(boxedI)) 2009if (!_capnames.ContainsKey(name)) 2100return _caps.ContainsKey(i);
System.Text.RegularExpressions.Generator (3)
parent\src\System\Text\RegularExpressions\RegexParser.cs (3)
1986if (!_caps.ContainsKey(boxedI)) 2009if (!_capnames.ContainsKey(name)) 2100return _caps.ContainsKey(i);
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ContextMenuStripGroupCollection.cs (2)
18if (!InnerHashtable.ContainsKey(key)) 29return InnerHashtable.ContainsKey(key);
UIAutomationClientSideProviders (8)
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (7)
84if (_hwndTable.ContainsKey(hwnd)) 97eventTable[key] = eventTable.ContainsKey(key) ? (int)eventTable[key] + 1 : 1; 112if (_hwndTable.ContainsKey(hwnd)) 120if (eventTable.ContainsKey(key)) 274if (eventTable.ContainsKey(eventId)) 293if (eventTable.ContainsKey(property) && (clientToo || !IsClientObject(idObject, idChild))) 315if (eventTable.ContainsKey(AutomationElement.StructureChangedEvent) && !IsClientObject(idObject, idChild))
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (1)
45return _groupManagers.ContainsKey(hwnd);