1 override of ContainsKey
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (1)
1307
public override bool
ContainsKey
(object key)
67 references to ContainsKey
dotnet-svcutil-lib (6)
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceImportCollection.cs (1)
85
if (!_keys.
ContainsKey
(value.Namespace))
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (4)
468
if (_objectsInUse.
ContainsKey
(o)) throw new InvalidOperationException(string.Format(ResXml.XmlCircularReference, o.GetType().FullName));
564
if (!qnIndexes.
ContainsKey
(newIndex))
642
if (!_objectsInUse.
ContainsKey
(o)) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, "missing stack object of type " + o.GetType().FullName));
1503
while (_usedPrefixes.
ContainsKey
(++_tempNamespacePrefix)) {; }
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (1)
619
if (!s_serializationSchemaElements.
ContainsKey
(element.RefName.Name))
Microsoft.Build.Tasks.Core (3)
RedistList.cs (3)
571
if (!uniqueClientListNames.
ContainsKey
(redistName))
611
if (!denyList.
ContainsKey
(hashKey) && uniqueClientListNames.
ContainsKey
(redistName))
Microsoft.Build.Tasks.UnitTests (4)
ResolveNonMSBuildProjectOutput_Tests.cs (4)
273
Assert.True(resolvedOutputs.
ContainsKey
(Path.Combine("obj", "correct.dll")));
288
Assert.True(resolvedOutputs.
ContainsKey
(Path.Combine("obj", "correct.dll")));
289
Assert.True(resolvedOutputs.
ContainsKey
(Path.Combine("obj", "correct2.dll")));
316
Assert.True(resolvedOutputs.
ContainsKey
(Path.Combine("obj", "correct.dll")));
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TemplateXamlParser.cs (1)
1478
if (_IDTypes.
ContainsKey
(xamlPropertyNode.Value))
PresentationCore (1)
MS\Internal\FontFace\CompositeFontParser.cs (1)
308
return _namespaceMap.
ContainsKey
(xmlNamespace);
PresentationFramework (12)
MS\Internal\Globalization\BamlTreeUpdater.cs (2)
277
if (uidSubstitutions.
ContainsKey
(element.Uid))
308
if (!uidSubstitutions.
ContainsKey
(element.Uid))
MS\Internal\WeakHashSet.cs (3)
21
if (!_hashTable.
ContainsKey
(item))
34
return _hashTable.
ContainsKey
(item);
71
if (_hashTable.
ContainsKey
(item))
System\Windows\Controls\TextRangeAdaptor.cs (2)
1658
if (!_textPatternAttributes.
ContainsKey
(attribute))
1794
if (attribute == null || !_textPatternAttributes.
ContainsKey
(attribute))
System\Windows\Documents\FixedFlowMap.cs (1)
382
if (_mapping.
ContainsKey
(fn))
System\Windows\Documents\XPSS0ValidatingLoader.cs (3)
113
if (!validResources.
ContainsKey
(absTargetUri))
120
if (!validResources.
ContainsKey
(absTargetUri))
190
if (!validResources.
ContainsKey
(uri))
System\Windows\Interop\ActiveXHost.cs (1)
122
if (dp != null && invalidatorMap.
ContainsKey
(dp))
ReachFramework (1)
Packaging\XpsInterleavingPolicy.cs (1)
282
if (!_flushOrderItems.
ContainsKey
(node.GetType()) ||
System.Collections.Specialized (2)
System\Collections\Specialized\OrderedDictionary.cs (1)
585
return value != null && _objectsTable.
ContainsKey
(value);
System\Collections\Specialized\StringDictionary.cs (1)
140
return contents.
ContainsKey
(key.ToLowerInvariant());
System.ComponentModel.TypeConverter (3)
System\ComponentModel\LicenseManager.cs (1)
174
return s_providers.
ContainsKey
(type);
System\ComponentModel\ReflectTypeDescriptionProvider.cs (1)
230
if (!editorTables.
ContainsKey
(editorBaseType))
System\ComponentModel\TypeDescriptor.cs (1)
283
refreshNeeded = s_providerTable.
ContainsKey
(instance);
System.Data.Common (5)
System\Data\Common\DbConnectionStringBuilder.cs (2)
448
if (!propertyDescriptors.
ContainsKey
(displayName))
474
if (!propertyDescriptors.
ContainsKey
(keyword))
System\Data\DataTable.cs (2)
936
if (rowErrors.
ContainsKey
(rowIndex))
940
if (colErrors.
ContainsKey
(rowIndex))
System\Data\XMLSchema.cs (1)
1395
if (_constraintNodes!.
ContainsKey
(name))
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (2)
471
return
ContainsKey
(key);
1311
return _table.
ContainsKey
(key);
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
611
if (!s_serializationSchemaElements.
ContainsKey
(element.RefName.Name))
System.Private.Xml (5)
System\Xml\Serialization\XmlSerializationWriter.cs (2)
500
if (_objectsInUse.
ContainsKey
(o)) throw new InvalidOperationException(SR.Format(SR.XmlCircularReference, o.GetType().FullName));
658
if (!_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)
153
if (_attributeSetTable.
ContainsKey
(attributeSet.Name) == false)
176
if (_templateNameTable.
ContainsKey
(template.Name) == false)
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (1)
275
if (!documents.
ContainsKey
(uri))
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\ExcAncestralNamespaceContextManager.cs (1)
23
return _inclusivePrefixSet.
ContainsKey
(nsPrefix) &&
System.ServiceModel.NetFramingBase (2)
System\ServiceModel\Channels\NetFramingTransportChannelFactory.cs (2)
195
if (!s_connectionPoolRegistries.
ContainsKey
(GetType()))
199
if (!s_connectionPoolRegistries.
ContainsKey
(GetType()))
System.Text.RegularExpressions (4)
System\Collections\HashtableExtensions.cs (1)
10
if (table.
ContainsKey
(key))
System\Text\RegularExpressions\RegexParser.cs (3)
1792
if (!_caps.
ContainsKey
(boxedI))
1815
if (!_capnames.
ContainsKey
(name))
1906
return _caps.
ContainsKey
(i);
System.Text.RegularExpressions.Generator (4)
src\libraries\System.Text.RegularExpressions\src\System\Collections\HashtableExtensions.cs (1)
10
if (table.
ContainsKey
(key))
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexParser.cs (3)
1792
if (!_caps.
ContainsKey
(boxedI))
1815
if (!_capnames.
ContainsKey
(name))
1906
return _caps.
ContainsKey
(i);
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ContextMenuStripGroupCollection.cs (2)
18
if (!InnerHashtable.
ContainsKey
(key))
29
return InnerHashtable.
ContainsKey
(key);
UIAutomationClientSideProviders (8)
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (7)
84
if (_hwndTable.
ContainsKey
(hwnd))
97
eventTable[key] = eventTable.
ContainsKey
(key) ? (int)eventTable[key] + 1 : 1;
112
if (_hwndTable.
ContainsKey
(hwnd))
120
if (eventTable.
ContainsKey
(key))
274
if (eventTable.
ContainsKey
(eventId))
293
if (eventTable.
ContainsKey
(property) && (clientToo || !IsClientObject(idObject, idChild)))
315
if (eventTable.
ContainsKey
(AutomationElement.StructureChangedEvent) && !IsClientObject(idObject, idChild))
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (1)
45
return _groupManagers.
ContainsKey
(hwnd);