Implemented interface member:
method
Contains
System.Collections.IDictionary.Contains(System.Object)
1 override of Contains
mscorlib (1)
system\collections\hashtable.cs (1)
1462public override bool Contains(Object key) {
224 references to Contains
mscorlib (14)
system\collections\dictionarybase.cs (3)
82keyExists = InnerHashtable.Contains(key); 103return InnerHashtable.Contains(key); 126if(InnerHashtable.Contains(key)) {
system\collections\hashtable.cs (1)
1463return _table.Contains(key);
system\currenttimezone.cs (2)
180if (!m_CachedDaylightChanges.Contains(objYear)) { 183if (!m_CachedDaylightChanges.Contains(objYear)) {
system\reflection\emit\xxxontypebuilderinstantiation.cs (1)
216if (type.m_hashtable.Contains(Field)) {
system\runtime\remoting\activationservices.cs (2)
427if(!_proxyTable.Contains(serverType)) 431if(!_proxyTable.Contains(serverType))
system\runtime\serialization\objectclonehelper.cs (1)
153if (!fields.Contains(fieldName))
system\security\accesscontrol\privilege.cs (2)
109if ( luids.Contains( privilege )) 156if ( !luids.Contains( privilege ))
system\security\permissiontoken.cs (2)
441if (!m_handleTable.Contains(typePtr)) 449if (!m_handleTable.Contains(typePtr))
PresentationBuildTasks (8)
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (5)
692else if (_uidTable.Contains(uid.Value)) 776if (_sequenceMaxIds.Contains(uidSequence)) 797&& (!_uidTable.Contains(uid.FrameworkElementName)) 808if (_sequenceMaxIds.Contains(sequence)) 823if (_sequenceMaxIds.Contains(sequence))
Framework\System\Windows\Markup\XamlTypeMapper.cs (2)
2509if (!_typeLookupFromXmlHashtable.Contains(hashString)) 2549if (!_typeLookupFromXmlHashtable.Contains(hashString))
Shared\System\Windows\Markup\ReflectionHelper.cs (1)
504return (_reflectionOnlyLoadedAssembliesHash.Contains(assemblyNameLookup) && _reflectionOnlyLoadedAssembliesHash[assemblyNameLookup] != null);
PresentationCore (3)
Core\CSharp\System\Windows\Automation\Peers\AutomationPeer.cs (1)
1824if(!ht.Contains(oldChildren[i]))
Core\CSharp\System\Windows\Media\Imaging\ImagingCache.cs (2)
83if (table.Contains(uri)) 125if (table.Contains(uri))
PresentationFramework (18)
src\Framework\MS\Internal\Documents\PageCache.cs (4)
972if (!_table.Contains(page)) 989if (_table.Contains(page)) 1003if (_table.Contains(page)) 1024if (_table.Contains(page))
src\Framework\MS\Internal\Globalization\BamlResourceDeserializer.cs (1)
218if (propertyOccurrences.Contains(_reader.Name))
src\Framework\MS\Internal\Globalization\BamlTreeMap.cs (4)
90if (_keyToBamlNodeIndexMap.Contains(key)) 103if (_uidToBamlNodeIndexMap.Contains(uid)) 344if (assemblyName == null || _classNameToAssemblyIndex.Contains(className)) 551if (_classNameToAssemblyIndex.Contains(className))
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (3)
732if (_keyToNewBamlNodeIndexMap.Contains(key)) 743return _keyToNewBamlNodeIndexMap.Contains(key); 752if (_uidToNewBamlNodeIndexMap.Contains(uid))
src\Framework\System\Windows\Controls\DefinitionBase.cs (1)
732Debug.Assert(_registry.Contains(key));
src\Framework\System\Windows\Documents\XPSS0ValidatingLoader.cs (1)
181if (_uniqueUriRef.Contains(uri))
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (2)
2509if (!_typeLookupFromXmlHashtable.Contains(hashString)) 2549if (!_typeLookupFromXmlHashtable.Contains(hashString))
src\Framework\System\Windows\ResourceDictionary.cs (2)
725bool result = _baseDictionary.Contains(key); 767if (_baseDictionary.Contains(key))
System (7)
compmod\system\collections\specialized\hybriddictionary.cs (1)
273return hashtable.Contains(key);
compmod\system\collections\specialized\ordereddictionary.cs (2)
183if (objectsTable.Contains(key)) { 235return objectsTable.Contains(key);
compmod\system\componentmodel\LicenseManager.cs (1)
480if (helperContext.savedLicenseKeys.Contains(type.AssemblyQualifiedName)) {
net\System\Net\HttpListener.cs (1)
714if(!m_UriPrefixes.Contains(uriPrefix)){
net\System\Net\HttpListenerPrefixCollection.cs (1)
100return m_HttpListener.m_UriPrefixes.Contains(uriPrefix);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (1)
932if (PerformanceCounterLib.libraryTable.Contains(libraryKey))
System.Activities (1)
System\Activities\Validation\ValidationHelper.cs (1)
193if (!keysVisited.Contains(entry.Key))
System.Configuration (11)
System\Configuration\ConfigurationElementCollection.cs (1)
253if (Inheritance.Contains(entry.GetKey(this))) {
System\Configuration\ConfigurationSectionCollection.cs (1)
197if (!_configRecord.SectionFactories.Contains(configKey)) {
System\Configuration\ConfigurationSectionGroupCollection.cs (1)
200if (!_configRecord.SectionFactories.Contains(configKey)) {
System\Configuration\MgmtConfigurationRecord.cs (8)
74(MgmtParent._locationTags == null || !MgmtParent._locationTags.Contains(_locationSubPath))) { 863if (RemovedSections.Contains(configKey)) { 885if (!IsLocationConfig && _factoryRecords != null && _factoryRecords.Contains(configKey)) { 891if (_sectionRecords != null && _sectionRecords.Contains(configKey)) { 1080if (RemovedSectionGroups.Contains(descendent.ConfigKey)) { 2056if (_removedSections.Contains(locationSectionRecord.ConfigKey)) { 2927if (_removedSectionGroups != null && _removedSectionGroups.Contains(configKey)) { 2946if (_removedSections != null && _removedSections.Contains(configKey)) {
System.Data (4)
fx\src\data\System\Data\Common\DbConnectionOptions.cs (1)
905if (!firstKey || !parsetable.Contains(realkeyname)) {
fx\src\data\System\Data\DataTable.cs (1)
2176if (visitedMap.Contains(sourceTable))
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (1)
1819if (!baseColumnNames.Contains(basecolumname)) {
fx\src\data\System\Data\XmlDataLoader.cs (1)
223return htableExcludedNS.Contains(ns);
System.Data.SqlXml (7)
System\Xml\Xsl\XsltOld\ActionFrame.cs (1)
102Debug.Assert(! this.withParams.Contains(name), "We should check duplicate params at compile time");
System\Xml\Xsl\XsltOld\Compiler.cs (2)
359return this.globalNamespaceAliasTable.Contains(StylesheetURI); 707else if (typeDecls.Contains(ns)) {
System\Xml\Xsl\XsltOld\InputScope.cs (2)
67return extensionNamespaces.Contains(nspace); 81return excludedNamespaces.Contains(nspace);
System\Xml\Xsl\XsltOld\SequentialOutput.cs (1)
143if (this.cdataElements != null && this.cdataElements.Contains(new XmlQualifiedName(mainNode.LocalName, mainNode.NamespaceURI)) && this.isXmlOutput) {
System\Xml\Xsl\XsltOld\Stylesheet.cs (1)
65if (this.queryKeyTable.Contains(query)) {
System.Management (1)
Instrumentation\SchemaMapping.cs (1)
265 if(mapTypeToConverterClassName.Contains(t2))
System.Messaging (1)
System\Messaging\MessageQueue.cs (1)
3984Debug.Assert(this.owner.OutstandingAsyncRequests.Contains(this));
System.Runtime.Caching (1)
System\Caching\HostFileChangeMonitor.cs (1)
49if (fcnState.Contains(path)) {
System.Runtime.Serialization (1)
System\Runtime\Serialization\DataContractSet.cs (1)
247if (!SurrogateDataTable.Contains(dataContract))
System.Security (1)
system\security\cryptography\xml\transform.cs (1)
359if (!m_propagatedNamespaces.Contains(key))
System.ServiceModel (2)
System\ServiceModel\Description\MessageContractImporter.cs (2)
1059if (references.Contains(schema)) 1070if (references.Contains(schema))
System.Web (18)
Compilation\BuildManager.cs (1)
1781if (_localResourcesAssemblies.Contains(virtualDir))
Compilation\BuildResult.cs (1)
530if (!checkedAssemblies.Contains(referencedAssembly)) {
Compilation\PageThemeCodeDomTreeGenerator.cs (1)
215if (_controlSkinTypeNameCollection.Contains(skinKey)) {
Compilation\TimeStampChecker.cs (2)
44if (_timeStamps.Contains(virtualPath)) { 78if (!_timeStamps.Contains(virtualPath))
Hosting\MapPathBasedVirtualPathProvider.cs (2)
361if (_virtualPaths != null && _virtualPaths.Contains(name)) 368if (_exclude != null && _exclude.Contains(name))
Security\ADMembershipProvider.cs (6)
3189if (attributesInUse.Contains(attributeName)) 3195if (!userObjectAttributes.Contains(attributeName)) 3314if (!attributes.Contains(attribute)) 3322if (!attributes.Contains(value)) 3348if (!attributes.Contains(attribute)) 3355if (!attributes.Contains(value))
SiteMapProvider.cs (1)
90if (providers.Contains(candidate.ParentProvider))
UI\DataBindingCollection.cs (1)
147return bindings.Contains(propertyName);
UI\ExpressionBindingCollection.cs (2)
147return bindings.Contains(propName); 216if (addToRemovedList && bindings.Contains(propertyName)) {
Util\SecUtil.cs (1)
163if (values.Contains(param[i])) {
System.Web.DataVisualization (11)
Common\Borders3D\Borders3D.cs (3)
639 if(registeredBorderTypes.Contains(name)) 679 if(!registeredBorderTypes.Contains(name)) 685 if(!_createdBorderTypes.Contains(name))
Common\ChartTypes\ChartTypeRegistry.cs (3)
169 if(registeredChartTypes.Contains(name)) 219 if(!registeredChartTypes.Contains(name)) 225 if(!_createdChartTypes.Contains(name))
Common\Formulas\FormulaRegistry.cs (3)
70 if(registeredModules.Contains(name)) 128 if(!registeredModules.Contains(name)) 134 if(!_createdModules.Contains(name))
Common\Utilities\ImageLoader.cs (1)
176if (_imageData.Contains(imageURL))
WebForm\General\ChartHttpHandler.cs (1)
1712return _storageData.Contains(key);
System.Web.Extensions (6)
ClientServices\Providers\ClientSettingsProvider.cs (2)
401if (!_KnownTypesHashtable.Contains(p.Property.PropertyType)) { 424if (!_KnownTypesHashtable.Contains(p.PropertyType)) {
Script\Services\ClientProxyGenerator.cs (3)
412if (!_registeredNamespaces.Contains(ns)) { 440if (!_registeredNamespaces.Contains(fullPath) && !_ensuredObjectParts.Contains(fullPath)) {
Script\Services\WebServiceData.cs (1)
370if (!force && _processedTypes.Contains(t))
System.Web.Mobile (6)
Mobile\DeviceFilterDictionary.cs (3)
71if(alreadyReferencedDelegates.Contains(nextDelegateName)) 135return _comparisonEvaluators.Contains(evaluatorName); 140return _delegateEvaluators.Contains(evaluatorName);
Mobile\MobileCapabilities.cs (2)
167if (_evaluatorResults.Contains(hashKey)) 174if (_evaluatorResults.Contains(hashKey))
UI\MobileControls\Design\Util\SimpleParser.cs (1)
322return (_table.Contains(key));
System.Web.Services (7)
System\Web\Services\Description\ProtocolImporter.cs (3)
265if (supportedBindings.Contains(binding)) 283if (unsupportedBindings.Contains(binding)) continue; 311if (IsBindingSupported() && !supportedBindings.Contains(binding)) {
System\Web\Services\Description\ServiceDescriptionImporter.cs (2)
538if (references.Contains(schema)) { 546if (references.Contains(schema)) {
System\Web\Services\Discovery\DynamicDiscoSearcher.cs (1)
60return excludedUrlsTable.Contains( url.ToLower(CultureInfo.InvariantCulture) );
System\Web\Services\Protocols\SoapReflector.cs (1)
475if (headerTypes.Contains(soapHeader.headerType)) {
System.Windows.Forms (18)
winforms\Managed\System\Resources\ResXDataNode.cs (2)
929if (cachedAssemblies.Contains(name)) { 989if (cachedTypes.Contains(name)) {
winforms\Managed\System\WinForms\AxHost.cs (5)
5394if (containerCache.Contains(ctl)) 5423if (containerCache.Contains(ctl)) { 5593if (checkHashTable && !components.Contains(ctls[i])) { 5610if (ctl != this.parent && !components.Contains(ctl)) 6885if (!bag.Contains(pszPropName))
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
235bool dontProcess = typeGuid != Guid.Empty && processedLibraries != null && processedLibraries.Contains(typeGuid);
winforms\Managed\System\WinForms\Control.cs (1)
18807if (!bag.Contains(pszPropName))
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
529if (controlError.Contains(errBindings[j].Control))
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
1309if (eventTypes != null && eventTypes.Contains(objType)) {
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
1518if ((t != null) && t.Shortcuts.Contains(shortcut)) {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (2)
493if (owner.Shortcuts.Contains(value)) { 1037if (Owner.Shortcuts.Contains(shortcut)) {
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (1)
1100if (!themeHandles.Contains(className)) { // see if it is already in cache
winforms\Managed\System\WinForms\WebBrowserContainer.cs (3)
240if (checkHashTable && !components.Contains(ctls[i])) { 257if (ctl != this.parent && !components.Contains(ctl)) 297if (containerCache.Contains(ctl))
System.Windows.Forms.DataVisualization (10)
Common\Borders3D\Borders3D.cs (3)
639 if(registeredBorderTypes.Contains(name)) 679 if(!registeredBorderTypes.Contains(name)) 685 if(!_createdBorderTypes.Contains(name))
Common\ChartTypes\ChartTypeRegistry.cs (3)
169 if(registeredChartTypes.Contains(name)) 219 if(!registeredChartTypes.Contains(name)) 225 if(!_createdChartTypes.Contains(name))
Common\Formulas\FormulaRegistry.cs (3)
70 if(registeredModules.Contains(name)) 128 if(!registeredModules.Contains(name)) 134 if(!_createdModules.Contains(name))
Common\Utilities\ImageLoader.cs (1)
176if (_imageData.Contains(imageURL))
System.Workflow.Activities (4)
CorrelationValidator.cs (4)
511if (correlationAliasAttrs.Contains(paramName)) 549if (correlationAliasAttrs.Contains(paramName)) 591if (correlationAliasAttrs.Contains(paramName)) 689if (correlationAliasAttrs.Contains(aliasAttribute.Name))
System.Workflow.ComponentModel (16)
AuthoringOM\ActivityExecutor.cs (2)
185if (!typeToExecutorMapping.Contains(activityExecutorsObjects[index].GetType())) 189if (!typeToExecutorMapping.Contains(activityExecutorsObjects[index].GetType()))
AuthoringOM\Compiler\CodeGeneration\CodeGenerationManager.cs (1)
49if (this.hashOfGenerators.Contains(type))
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (10)
57if (!rawAssemblyLoaders.Contains(assembly)) 183if (!this.compileUnitLoaders.Contains(codeCompileUnit) && (this.addedCompileUnits != null && !this.addedCompileUnits.Contains(codeCompileUnit))) 362if (this.hashOfDTTypes.Contains(name)) 402if (!this.typeLoadErrors.Contains(dictionaryEntry.Key)) 430if (!this.typeLoadErrors.Contains(dictionaryEntry.Key)) 474if (this.hashOfRTTypes.Contains(returnType)) 522if (this.typeLoadErrors.Contains(dictionaryEntry.Key)) 550if (this.typeLoadErrors.Contains(dictionaryEntry.Key)) 916if (!this.designTimeTypes.Contains(typeName)) 925Debug.Assert(this.designTimeTypes.Contains(typeName), "How come you are removing type which you did not push in.");
AuthoringOM\Compiler\Validation\ValidationManager.cs (1)
64if (this.hashOfValidators.Contains(type))
AuthoringOM\Design\DocumentOutline.cs (1)
350if (this.activityToNodeMapping.Contains(activity))
Shared\XomlSerializationHelpers.cs (1)
410if (!definedNamespaces.Contains(standardNS))//add only new imports
System.Xml (38)
System\Xml\Dom\XmlDocument.cs (2)
218if (htElementIdMap == null || !htElementIdMap.Contains(id)) { 234if (htElementIdMap != null && htElementIdMap.Contains(id)) {
System\Xml\Dom\XmlLoader.cs (1)
616if ( attr.Prefix == doc.strXmlns && prefixes.Contains( attr.LocalName ) == false ) {
System\Xml\Schema\Inference\Infer.cs (1)
909if (table.Contains(qname))
System\Xml\Schema\NamespaceList.cs (10)
145return !sub.set.Contains(super.targetNamespace); 150if (!super.set.Contains(ns)) { 186if (o1.set.Contains(o2.targetNamespace)) { 197else if (o1.set.Contains(string.Empty)) { //clause 6.1 - set S includes absent, o2 is not(absent) 207if (o2.set.Contains(o2.targetNamespace)) { 218else if (o2.set.Contains(string.Empty)) { //clause 6.1 - set S includes absent, o2 is not(absent) 232if (this.set.Contains(other.targetNamespace)) { //S contains negated ns 233if (this.set.Contains(string.Empty)) { // AND S contains absent 240else if (this.set.Contains(string.Empty)) { //clause 5.3 - Not expressible 278if (o2.set.Contains(ns)) {
System\Xml\Schema\XmlSchemaValidator.cs (5)
894if (!attPresence.Contains(attdef.Name)) { 2001else if (constraints[i].qualifiedTable.Contains (ks)) { 2019if (constraints[i].qualifiedTable.Contains (ks)) { 2035if (! ks.IsQualified() || constraints[i].qualifiedTable.Contains (ks)) { 2058if (!vcs[i].qualifiedTable.Contains(ks)) {
System\Xml\Schema\XsdValidator.cs (5)
449if (HasIdentityConstraints && !attPresence.Contains(attdef.Name)) { 898else if (constraints[i].qualifiedTable.Contains (ks)) { 914if (constraints[i].qualifiedTable.Contains (ks)) { 929if (! ks.IsQualified() || constraints[i].qualifiedTable.Contains (ks)) { 951if (! vcs[i].qualifiedTable.Contains (ks)) {
System\Xml\Serialization\CodeExporter.cs (1)
181if (ShouldInclude(arrayMapping) && !typesIncluded.Contains(arrayMapping.TypeDesc.FullName)) {
System\Xml\Serialization\CodeIdentifiers.cs (2)
138return identifiers.Contains(identifier) || reservedIdentifiers.Contains(identifier);
System\Xml\Serialization\XmlReflectionImporter.cs (2)
1810if (choiceTypes.Contains(type)) { 1819if (choiceTypes.Contains(typeof(XmlElement)) && a.XmlAnyElements.Count > 0) {
System\Xml\Serialization\XmlSchemas.cs (1)
733return References.Contains(parent);
System\Xml\Serialization\XmlSerializationReader.cs (4)
1410if (!targets.Contains(id)) 1449if (referencedTargets == null || !referencedTargets.Contains(target.Value)) { 1456if (referencedTargets == null || !referencedTargets.Contains(o)) { 2150if (GeneratedMethods.Contains(mapping))
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
203if (GeneratedMethods.Contains(mapping))
System\Xml\Serialization\XmlSerializationWriter.cs (2)
776if (references != null) return references.Contains(o); 1342if (GeneratedMethods.Contains(mapping))
System\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
45if (GeneratedMethods.Contains(mapping))
UIAutomationClientsideProviders (6)
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (1)
188if (_hwndTable.Contains(hwnd))
MS\Internal\AutomationProxies\WindowsMenu.cs (5)
82if (!_expandedMenus.Contains(IntPtr.Zero)) 98if (!_expandedMenus.Contains(hwnd)) 112if (!_expandedMenus.Contains(hwnd)) 984while (_expandedMenus.Contains(hwnd) && parent == null) 1025if (parent == null && _expandedMenus.Contains(IntPtr.Zero))
WindowsBase (4)
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (2)
647return _dataSpaceDefinitions.Contains( dataSpaceLabel ); 789return _transformDefinitions.Contains( transformLabel );
Base\System\Windows\DependencyProperty.cs (2)
270if (PropertyFromName.Contains(key)) 795if (PropertyFromName.Contains(key))