1 override of ContainsKey
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (1)
1307public override bool ContainsKey(object key)
67 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)
571if (!uniqueClientListNames.ContainsKey(redistName)) 611if (!denyList.ContainsKey(hashKey) && uniqueClientListNames.ContainsKey(redistName))
Microsoft.Build.Tasks.UnitTests (4)
ResolveNonMSBuildProjectOutput_Tests.cs (4)
273Assert.True(resolvedOutputs.ContainsKey(Path.Combine("obj", "correct.dll"))); 288Assert.True(resolvedOutputs.ContainsKey(Path.Combine("obj", "correct.dll"))); 289Assert.True(resolvedOutputs.ContainsKey(Path.Combine("obj", "correct2.dll"))); 316Assert.True(resolvedOutputs.ContainsKey(Path.Combine("obj", "correct.dll")));
PresentationBuildTasks (1)
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)
113if (!validResources.ContainsKey(absTargetUri)) 120if (!validResources.ContainsKey(absTargetUri)) 190if (!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 (3)
System\ComponentModel\LicenseManager.cs (1)
174return s_providers.ContainsKey(type);
System\ComponentModel\ReflectTypeDescriptionProvider.cs (1)
230if (!editorTables.ContainsKey(editorBaseType))
System\ComponentModel\TypeDescriptor.cs (1)
283refreshNeeded = s_providerTable.ContainsKey(instance);
System.Data.Common (5)
System\Data\Common\DbConnectionStringBuilder.cs (2)
448if (!propertyDescriptors.ContainsKey(displayName)) 474if (!propertyDescriptors.ContainsKey(keyword))
System\Data\DataTable.cs (2)
936if (rowErrors.ContainsKey(rowIndex)) 940if (colErrors.ContainsKey(rowIndex))
System\Data\XMLSchema.cs (1)
1395if (_constraintNodes!.ContainsKey(name))
System.Private.CoreLib (2)
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 (5)
System\Xml\Serialization\XmlSerializationWriter.cs (2)
500if (_objectsInUse.ContainsKey(o)) throw new InvalidOperationException(SR.Format(SR.XmlCircularReference, o.GetType().FullName)); 658if (!_objectsInUse.ContainsKey(o)) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorDetails, "missing stack object of type " + o.GetType().FullName));
System\Xml\Xsl\XsltOld\Stylesheet.cs (2)
153if (_attributeSetTable.ContainsKey(attributeSet.Name) == false) 176if (_templateNameTable.ContainsKey(template.Name) == false)
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.Text.RegularExpressions (4)
System\Collections\HashtableExtensions.cs (1)
10if (table.ContainsKey(key))
System\Text\RegularExpressions\RegexParser.cs (3)
1792if (!_caps.ContainsKey(boxedI)) 1815if (!_capnames.ContainsKey(name)) 1906return _caps.ContainsKey(i);
System.Text.RegularExpressions.Generator (4)
src\libraries\System.Text.RegularExpressions\src\System\Collections\HashtableExtensions.cs (1)
10if (table.ContainsKey(key))
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexParser.cs (3)
1792if (!_caps.ContainsKey(boxedI)) 1815if (!_capnames.ContainsKey(name)) 1906return _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);