Implemented interface members:
method
ContainsKey
System.Collections.Generic.IDictionary<TKey, TValue>.ContainsKey(TKey)
method
ContainsKey
System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>.ContainsKey(TKey)
1004 references to ContainsKey
ComSvcConfig (2)
EndpointConfigContainer.cs (1)
528if (endpointConfigs.ContainsKey(serviceType))
parent\svcutil\CommandLineParser.cs (1)
135return contents.ContainsKey(key.ToLower(CultureInfo.InvariantCulture));
mscorlib (18)
system\appdomain.cs (1)
2565fReturn = new Nullable<bool>(_compatFlags != null && _compatFlags.ContainsKey(value));
system\attribute.cs (1)
376if (!types.ContainsKey(attrType))
system\collections\generic\dictionary.cs (2)
679return ContainsKey((TKey)key); 853return dictionary.ContainsKey(item);
system\collections\objectmodel\keyedcollection.cs (2)
82return dict.ContainsKey(key); 113if (dict.ContainsKey(key)) {
system\diagnostics\eventing\eventsource.cs (3)
3770if (eventsByName.ContainsKey(evtName)) 4550Contract.Assert(allListeners.ContainsKey(dispatcher.m_Listener), "EventSource has a listener not on the global list."); 6238if (!mapsTab.ContainsKey(type.Name))
system\globalization\culturedata.cs (1)
828if (RegionNames.ContainsKey(cultureName))
system\rttype.cs (1)
1151if (!ht.ContainsKey(constraint))
system\runtime\interopservices\gchandlecookietable.cs (2)
60if (m_HandleToCookieMap.ContainsKey(handle)) 126if (m_HandleToCookieMap.ContainsKey(handle))
system\runtime\interopservices\windowsruntime\eventregistrationtokentable.cs (1)
85while (m_tokens.ContainsKey(token))
system\runtime\serialization\serializationinfo.cs (1)
394if (m_nameToIndex.ContainsKey(name))
system\security\policy\evidence.cs (1)
820if (m_evidence.ContainsKey(hostEvidenceType))
system\security\policy\hash.cs (1)
376if (!m_hashes.ContainsKey(defaultHashType))
system\threading\asynclocal.cs (1)
449bool containsKey = ContainsKey(key);
PresentationBuildTasks (8)
Base\System\Windows\Markup\XmlCompatibilityReader.cs (5)
881return (_subsumingNamespaces == null ? false : _subsumingNamespaces.ContainsKey(namespaceName)); 908return (_knownNamespaces == null ? false : _knownNamespaces.ContainsKey(namespaceName)); 1799return _ignorables != null && _ignorables.ContainsKey(namespaceName); 1941return _all || (_names != null && _names.ContainsKey(elementName)); 1997return _all || (_names != null && _names.ContainsKey(itemName));
Framework\System\Windows\Markup\MarkupExtensionParser.cs (1)
1501if (bracketCharacterCache != null && bracketCharacterCache.ContainsKey(propertyName))
Framework\System\Windows\Markup\ParserContext.cs (1)
211if (!MasterBracketCharacterCache.ContainsKey(type))
Framework\System\Windows\Markup\XmlnsCache.cs (1)
408if (_compatTable.ContainsKey(oldXmlns) &&
PresentationCore (24)
Core\CSharp\MS\Internal\DeferredElementTreeState.cs (4)
13if(!_oldCoreParents.ContainsKey(element)) 23if(treeState != null && treeState._oldCoreParents.ContainsKey(element)) 75if(!_oldLogicalParents.ContainsKey(element)) 85if(treeState != null && treeState._oldLogicalParents.ContainsKey(element))
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
657if (!faces.ContainsKey(currentFontName))
Core\CSharp\MS\Internal\FontCache\FontResourceCache.cs (2)
141if (!folderResourceMap.ContainsKey(folderName)) 145Debug.Assert(!folderResourceMap.ContainsKey(resourceFullName));
Core\CSharp\MS\Internal\FontFace\CompositeFontInfo.cs (1)
76else if (!_familyMapRangesByLanguage.ContainsKey(familyMap.Language))
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (1)
62if (!convertedDictionary.ContainsKey(language))
Core\CSharp\MS\Internal\Ink\Renderer.cs (1)
461if (_visuals.ContainsKey(stroke))
Core\CSharp\MS\Internal\Media3D\GeneralTransform2Dto3Dto2D.cs (1)
869if (adjInformation.ContainsKey(edge))
Core\CSharp\MS\Internal\Resources\ContentFileHelper.cs (1)
30if (_contentFiles.ContainsKey(partName))
Core\CSharp\System\Windows\Media\FontEmbeddingManager.cs (1)
87if (_collectedGlyphTypefaces.ContainsKey(glyphTypeface))
Core\CSharp\System\Windows\Media\SolidColorBrush.cs (2)
301return revDictionary.ContainsKey(value); 306return fwdDictionary.ContainsKey(key);
Core\CSharp\System\Windows\Media\TextFormatting\TextFormatterContext.cs (1)
494return _specialCharacters.ContainsKey(c);
Core\CSharp\System\Windows\Media\Visual.cs (4)
856if (!channelsToCyclicBrushMap.ContainsKey(channel)) 887if (!cyclicBrushToChannelsMap.ContainsKey(cyclicBrush)) 919Debug.Assert(cyclicBrushToChannelsMap.ContainsKey(cyclicBrush)); 942Debug.Assert(channelsToCyclicBrushMap.ContainsKey(channel));
Core\CSharp\System\Windows\Media3D\Visual3DCollection.cs (1)
581Debug.Assert(!duplicates.ContainsKey(visual), "How did the visual get re-inserted?");
Shared\MS\Internal\SizeLimitedCache.cs (3)
104if (!_nodeLookup.ContainsKey(key)) 165if (!_nodeLookup.ContainsKey(key)) 201if (!_nodeLookup.ContainsKey(key))
PresentationFramework (41)
src\Framework\MS\Internal\Annotations\Component\AnnotationComponentManager.cs (2)
84if (!_attachedAnnotations.ContainsKey(attachedAnnotation)) 222if (!_attachedAnnotations.ContainsKey(attachedAnnotation))
src\Framework\MS\Internal\Annotations\ObservableDictionary.cs (1)
101return _nameValues.ContainsKey(key);
src\Framework\MS\Internal\Annotations\XmlElementCollection.cs (3)
155Invariant.Assert(_xmlDocsRefCounts.ContainsKey(element.OwnerDocument), "Not registered on XmlElement"); 185if (!_xmlDocsRefCounts.ContainsKey(element.OwnerDocument)) 215Invariant.Assert(_xmlDocsRefCounts.ContainsKey(sender as XmlDocument), "Not expecting a notification from this sender");
src\Framework\MS\Internal\AppModel\ResourceContainer.cs (1)
322if (_registeredResourceManagers.ContainsKey(key))
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
439if (_cachedXmlElements.ContainsKey(token))
src\Framework\MS\Internal\Data\CommitManager.cs (1)
180if (!ContainsKey(item))
src\Framework\MS\Internal\Globalization\BamlResourceDeserializer.cs (2)
361if (_propertyInheritanceTreeStack.ContainsKey(propertyName)) 385if (_propertyInheritanceTreeStack.ContainsKey(propertyName))
src\Framework\MS\Internal\Globalization\BamlTreeMap.cs (3)
462if (_classAttributeTable.ContainsKey(className)) 493if (_propertyAttributeTable.ContainsKey(fullName)) 528if (_classAttributeTable.ContainsKey(className))
src\Framework\MS\Internal\Ink\ClipboardProcessor.cs (1)
289if ( !preferredData.ContainsKey(format) )
src\Framework\MS\Internal\IO\Packaging\XamlFilter.cs (1)
871if (_lcidDictionary.ContainsKey(languageString))
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (1)
424if (_predefinedNamespaces.ContainsKey(name))
src\Framework\System\Windows\Controls\DataGrid.cs (1)
6823if (!_editingCellAutomationValueHolders.ContainsKey(cell.Column))
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (4)
502if (assignedDisplayIndexMap.ContainsKey(currentColumnDisplayIndex)) 530while (assignedDisplayIndexMap.ContainsKey(nextAvailableColumnIndex)) 549Debug.Assert(assignedDisplayIndexMap.ContainsKey(displayIndex)); 1491if (_originalWidthsForResize.ContainsKey(column))
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
2819return _set.ContainsKey(e);
src\Framework\System\Windows\Documents\FixedDSBuilder.cs (1)
59if (!_nameHashTable.ContainsKey(Name))
src\Framework\System\Windows\Documents\FixedTextContainer.cs (1)
481if (highlights.ContainsKey(page))
src\Framework\System\Windows\Documents\HighlightVisual.cs (1)
92if (_panel.Highlights.ContainsKey(_page))
src\Framework\System\Windows\Documents\Speller.cs (2)
364if (UriMap.ContainsKey(uri)) 400if (!UriMap.ContainsKey(uri))
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (2)
337if(!_spellCheckers.ContainsKey(culture)) 543if (!_customDictionaryFiles.ContainsKey(ietfLanguageTag))
src\Framework\System\Windows\Markup\BamlReader.cs (2)
2695if(_reverseXmlnsTable.ContainsKey(fullName)) 2714if (_reverseXmlnsTable.ContainsKey(fullName))
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (1)
1501if (bracketCharacterCache != null && bracketCharacterCache.ContainsKey(propertyName))
src\Framework\System\Windows\Markup\ParserContext.cs (1)
211if (!MasterBracketCharacterCache.ContainsKey(type))
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
145if (constructorArgumentAttribute != null && constructorArguments.ContainsKey(constructorArgumentAttribute.ArgumentName))
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (2)
845if (!writtenAttributes.ContainsKey(property.Name)) 959if (!writtenAttributes.ContainsKey(dependsOn.Name))
src\Framework\System\Windows\Markup\RoutedEventValueSerializer.cs (1)
51while (currentType != null && !initializedTypes.ContainsKey(currentType))
src\Framework\System\Windows\Markup\XamlTypeMapperSchemaContext.cs (1)
109if (_nsDefinitions != null && _nsDefinitions.ContainsKey(xamlNamespace) ||
src\Framework\System\Windows\Markup\XmlnsCache.cs (1)
408if (_compatTable.ContainsKey(oldXmlns) &&
src\Framework\System\Windows\SystemResources.cs (1)
1128if (!_hwndNotify.ContainsKey(hwndDpiInfo))
SMSvcHost (3)
System\ServiceModel\Activation\Diagnostics\ListenerTraceUtility.cs (1)
79Fx.Assert(traceCodes.ContainsKey(traceCode),
System\ServiceModel\Activation\ListenerAdapter.cs (2)
283if (!appManager.Apps.ContainsKey(appKey)) 349if (appManager.Apps.ContainsKey(app.AppKey))
svcutil (1)
CommandLineParser.cs (1)
135return contents.ContainsKey(key.ToLower(CultureInfo.InvariantCulture));
System (8)
compmod\microsoft\win32\SystemEvents.cs (2)
1295if (_handlers != null && _handlers.ContainsKey(key)) { 1350if (_handlers != null && _handlers.ContainsKey(key)) {
compmod\system\componentmodel\CultureInfoConverter.cs (1)
316if (cultureInfoNameMap.ContainsKey(cultureInfoDisplayName)) {
compmod\system\componentmodel\design\ServiceObjectContainer.cs (2)
112if (Services.ContainsKey(serviceType)) { 148if (Services.ContainsKey(serviceType)) {
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (2)
1896if (!eventList.ContainsKey(ed.Name)) { 1933if (!propertyList.ContainsKey(p.Name)) {
regex\system\text\regularexpressions\RegexWriter.cs (1)
172if (_stringhash.ContainsKey(str)) {
System.Activities (34)
System\Activities\Activity.cs (3)
1373if (this.activityExtensionProviders.ContainsKey(key)) 1391if (this.activityExtensionProviders != null && this.activityExtensionProviders.ContainsKey(extensionType)) 1411return this.singletonActivityNames.ContainsKey(name);
System\Activities\ActivityLocationReferenceEnvironment.cs (1)
121if (this.Declarations.ContainsKey(locationReference.Name))
System\Activities\Debugger\DebugManager.cs (4)
160if (this.states.ContainsKey(activity2)) 306if (this.states.ContainsKey(activity)) 324if (this.states.ContainsKey(activity)) 333return this.states.ContainsKey(activity);
System\Activities\Debugger\InstrumentationTracker.cs (2)
56if (!uninstrumentedSubRoots.ContainsKey(activity)) 86return this.UninstrumentedSubRoots.ContainsKey(subRoot);
System\Activities\Debugger\XamlDebuggerXmlReader.cs (1)
473if (!this.initializationValueRanges.ContainsKey(currentStartObject))
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (1)
804if (!this.expressionRootsThatCanInduceIdle.ContainsKey(expressionRoot))
System\Activities\DynamicUpdate\DynamicUpdateMapEntry.cs (1)
236if (!result.ContainsKey(pair.Key))
System\Activities\Hosting\SymbolResolver.cs (1)
138return this.symbols.ContainsKey(key);
System\Activities\Runtime\ActivityExecutor.cs (2)
3000if (this.activeOperations != null && this.activeOperations.ContainsKey(owningActivity)) 3047Fx.Assert(this.activeOperations.ContainsKey(owningInstance), "The owning instance must be in the list if we've gotten here.");
System\Activities\Runtime\BookmarkManager.cs (2)
77if (this.bookmarks != null && this.bookmarks.ContainsKey(toAdd)) 282Fx.Assert(this.bookmarks.ContainsKey(bookmark) && object.ReferenceEquals(bookmark, this.bookmarks[bookmark].Bookmark), "Something went wrong with our housekeeping - it must exist and must be our intenral reference");
System\Activities\Runtime\BookmarkScopeManager.cs (5)
194Fx.Assert(this.bookmarkManagers.ContainsKey(uninitializedScope), "We must always have the uninitialized sub instances."); 389if (this.bookmarkManagers.ContainsKey(new BookmarkScope(id))) 493if (this.bookmarkManagers == null || !this.bookmarkManagers.ContainsKey(scope)) 524Fx.Assert(this.bookmarkManagers.ContainsKey(scope), "The caller should have made sure this scope exists in the bookmark managers dictionary."); 597Fx.Assert(this.bookmarkManagers.ContainsKey(bookmark.Scope), "We should have the single bookmark's sub instance registered");
System\Activities\Runtime\ExecutionPropertyManager.cs (1)
530if (this.properties.ContainsKey(name))
System\Activities\Statements\Flowchart.cs (1)
113if (originalActivities.ContainsKey(node.ChildActivity))
System\Activities\Statements\StateMachine.cs (1)
381if (!unconditionalTransitionMapping.ContainsKey(triggerActivity))
System\Activities\Statements\TimerTable.cs (1)
320return this.dictionary.ContainsKey(bookmark);
System\Activities\Tracking\RuntimeTrackingProfile.cs (2)
213if (!this.bookmarkSubscriptions.ContainsKey(bookmarkTrackingQuery.Name)) 241if (!this.workflowEventSubscriptions.ContainsKey(state))
System\Activities\WorkflowDataContext.cs (1)
103!names.ContainsKey(reference.Name))
System\Activities\WorkflowInvoker.cs (1)
351if (this.PendingInvokes.ContainsKey(context.UserState))
System\Activities\XamlIntegration\NamespaceTable.cs (2)
100if (!localNamespaces.ContainsKey(tempNamespace.Prefix)) 110if (!localNamespaces.ContainsKey(currentNamespace.Prefix))
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
795if (!contexts.ContainsKey(name))
System.Activities.Core.Presentation (36)
System\Activities\Core\Presentation\FlowchartDesigner.Container.cs (8)
37Fx.Assert(this.modelElement.ContainsKey(modelItem), "Moved item does not exist."); 140if (nextFlowElement != null && clonedFlowElements.ContainsKey(nextFlowElement)) 156if (trueElement != null && clonedFlowElements.ContainsKey(trueElement)) 165if (falseElement != null && clonedFlowElements.ContainsKey(falseElement)) 196if (nextFlowElement != null && clonedFlowElements.ContainsKey(nextFlowElement)) 207if (!modelItems.ContainsKey(currentFlowElement)) 219if (trueElement != null && clonedFlowElements.ContainsKey(trueElement)) 228if (falseElement != null && clonedFlowElements.ContainsKey(falseElement))
System\Activities\Core\Presentation\FlowchartDesigner.Helpers.cs (1)
326modelItems.ForEach(p => { Fx.Assert(this.modelElement.ContainsKey(p), "View should be in the flowchart"); });
System\Activities\Core\Presentation\FlowchartDesigner.ModelChangeReactions.cs (7)
107if (this.modelElement.ContainsKey(itemOnCanvas)) 385if (!this.modelElement.ContainsKey(itemOnCanvas)) 418if (!modelElement.ContainsKey(dest)) 434if (!modelElement.ContainsKey(trueDestOnCanvas)) 445if (!modelElement.ContainsKey(falseDestOnCanvas)) 461if (!modelElement.ContainsKey(defaultCaseOnCanvas)) 481if (!modelElement.ContainsKey(destModelItem))
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (5)
219Fx.Assert(this.modelElement.ContainsKey(selection), "Selection is not contained in this container"); 407Fx.Assert(this.modelElement.ContainsKey(shapeModelItem), "The ModelItem does not exist."); 1980&& currentSelection.SelectedObjects.All<ModelItem>((p) => { return this.modelElement.ContainsKey(p); })) 2075if (!this.modelElement.ContainsKey(item)) 2393if (draggedModelItem != null && this.modelElement.ContainsKey(draggedModelItem))
System\Activities\Core\Presentation\GenericFlowSwitchHelper.cs (4)
63if (defaultCase != null && clonedFlowElements.ContainsKey(defaultCase)) 75if (clonedFlowElements.ContainsKey(currentFlowSwitch.Cases[key])) 112if (defaultCase != null && oldNewFlowNodeMap.ContainsKey(defaultCase)) 126if (oldNewFlowNodeMap.ContainsKey(currentFlowSwitch.Cases[key]))
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (3)
43Fx.Assert(this.modelItemToUIElement.ContainsKey(modelItem), "Moved item does not exist."); 59if (!modelItemToGuid.ContainsKey(destinationState)) 199if (!this.modelItemToUIElement.ContainsKey(sourceStateItem))
System\Activities\Core\Presentation\StateContainerEditor.ModelChangeReactions.cs (2)
43if (this.modelItemToUIElement.ContainsKey(deleted)) 276if (this.modelItemToUIElement.ContainsKey(modelItem))
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (4)
607if (!this.modelItemToUIElement.ContainsKey(modelItem)) 1952if (this.modelItemToUIElement.ContainsKey(droppedModelItem)) 2144&& currentSelection.SelectedObjects.All<ModelItem>((p) => { return this.modelItemToUIElement.ContainsKey(p); })) 2590if (draggedModelItem != null && this.modelItemToUIElement.ContainsKey(draggedModelItem))
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (2)
498if (!stateToConnectionMap.ContainsKey(stateModelItem)) 511if (stateToConnectionMap.ContainsKey(toStateModelItem))
System.Activities.DurableInstancing (2)
System\Activities\DurableInstancing\LoadWorkflowAsyncResult.cs (1)
147if (!this.associatedInstanceKeys.ContainsKey(loadByKeycommand.LookupInstanceKey))
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (1)
262if (this.definedPromotions.ContainsKey(name))
System.Activities.Presentation (41)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ResolverCache.cs (1)
26if (this.cache.ContainsKey(type))
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (2)
464if (!collectingSourceLocations.ContainsKey(obj)) 626if (nameSourceLocation.Key != null && nameSourceLocation.Value != null && !propertyValueLocationMapping.ContainsKey(nameSourceLocation.Key))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (2)
243return _currentLayer.Items.ContainsKey(itemType); 498return (_services != null && _services.ContainsKey(serviceType));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeDataCache.cs (1)
193_baseMemberFinders.ContainsKey(member.MemberType),
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\MutableAttributeTable.cs (1)
191return (_metadata.ContainsKey(type));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagStringConverter.cs (1)
50if (flagDictionary.ContainsKey(flagName))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
789if (!newCategoryEditorTypes.ContainsKey(item.Key) || !IsCategoryShown(item.Key))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\SelectionPathResolver.cs (1)
44if (_interpreters.ContainsKey(interpreter.PathTypeId))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (2)
90if (!_interfaces.ContainsKey(t)) 218if (dict.ContainsKey(a.TypeId))
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
313if (!notifyDictionary.ContainsKey(container))
System.Activities.Presentation\System\Activities\Presentation\Debugger\DebuggerService.cs (3)
628if (this.unmappedBreakpoints.ContainsKey(kvpEntry.Value)) 630if (newSourceLocationMapping.ContainsKey(kvpEntry.Key)) 665if (!this.instanceToSourceLocationMapping.ContainsKey(unresolvedObject))
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
613if (!viewItemListDictionary.ContainsKey(container))
System.Activities.Presentation\System\Activities\Presentation\Model\FakeModelPropertyImpl.cs (1)
79if (this.parentModelTreeItem.ModelPropertyStore.ContainsKey(this.Name))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (1)
569if (!dataModelProperty.IsAttached && parent.ModelPropertyStore.ContainsKey(dataModelProperty.Name))
System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (2)
135return _internalDictionary.ContainsKey(new WeakKey(key)); 417else if (_dictionary._internalDictionary.ContainsKey(_key))
System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (1)
146if ((ns != null) && visualBasicImports.ContainsKey(ns))
System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
571if (this.AvailableNamespaces.ContainsKey(ns.Namespace))
System.Activities.Presentation\System\Activities\Presentation\ObjectReferenceService.cs (2)
222Fx.Assert(this.ObjectReferenceCount.ContainsKey(objectReferenceId), "DecreaseReferenceCount should not be called when there is no reference."); 223if (this.ObjectReferenceCount.ContainsKey(objectReferenceId))
System.Activities.Presentation\System\Activities\Presentation\SQM\ActivityUsageCounter.cs (1)
125if (mapping.ContainsKey(typeName))
System.Activities.Presentation\System\Activities\Presentation\Utility\IconHelper.cs (1)
83if (!string.IsNullOrWhiteSpace(activityFullName) && IconNameMapping.ContainsKey(activityFullName))
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
425if (!this.ValidationErrors.ContainsKey(rootActivity))
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
152!MemberPathToColumnDict.ContainsKey(column.SortMemberPath)) 544if (EditorBehaviorTypeMapping.ContainsKey(controlType))
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
587if (selectionMap.ContainsKey(modelItem)) 1073if (selectionMap.ContainsKey(root))
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\UniqueModelItemHelper.cs (2)
138if (nonSources.ContainsKey(parent)) 158if (nonSources.ContainsKey(source.Parent))
System.Activities.Presentation\System\Activities\Presentation\View\TypeResolvingOptions.cs (1)
160if (!result.ContainsKey(kvp.Key))
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
878if (locationReference != null && !string.IsNullOrWhiteSpace(locationReference.Name) && !variables.ContainsKey(locationReference.Name))
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
481if (!sessionObjects.ContainsKey(key))
System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewStateService.cs (1)
126if (viewState != null && key != null && viewState.ContainsKey(key))
System.Activities.Presentation\System\Activities\Presentation\ViewStateAttachedPropertyFeature.cs (1)
78if (attachedProperties.ContainsKey(e.Key))
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
964if (!containerMovedModelItemList.ContainsKey(compView))
System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (1)
1204if (this.declaredNames.ContainsKey(name))
System.AddIn (1)
System\Addin\Hosting\AddInStore.cs (1)
800if (!StateCache.ContainsKey(path)) {
System.ComponentModel.DataAnnotations (3)
DataAnnotations\ValidationContext.cs (3)
365if (this._services.ContainsKey(serviceType)) { 385if (this._services.ContainsKey(serviceType)) { 400if (this._services.ContainsKey(serviceType)) {
System.Configuration (2)
System\Configuration\ConfigurationElement.cs (2)
877Debug.Assert( !s_perTypeValidators.ContainsKey(type)); 905if ((s_perTypeValidators != null) && (s_perTypeValidators.ContainsKey(elem.GetType()))) {
System.Core (16)
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (2)
52if (!_ids.ContainsKey(label)) { 79if (!_ids.ContainsKey(p)) {
Microsoft\Scripting\Compiler\BoundConstants.cs (1)
99if (!_indexes.ContainsKey(value)) {
Microsoft\Scripting\Compiler\CompilerScope.cs (2)
368return refCount > 2 && !_locals.ContainsKey(v); 381Debug.Assert(ShouldCache(v) && !_locals.ContainsKey(v));
Microsoft\Scripting\Compiler\LabelInfo.cs (1)
339return Labels.ContainsKey(target);
Microsoft\Scripting\Compiler\Set.cs (1)
67return _data.ContainsKey(item);
Microsoft\Scripting\Compiler\VariableBinder.cs (3)
162if (currentScope.Definitions.ContainsKey(v)) { 200if (scope.IsMethod || scope.Definitions.ContainsKey(node)) { 226if (scope.Definitions.ContainsKey(node)) {
System\Diagnostics\Eventing\Reader\ProviderMetadataCachedInformation.cs (1)
111return cache.ContainsKey(key);
System\Diagnostics\PerformanceData\CounterSet.cs (3)
115if (m_idToCounter.ContainsKey(counterId)) { 151if (m_stringToId.ContainsKey(counterName)) { 154if (m_idToCounter.ContainsKey(counterId)) {
System\Diagnostics\PerformanceData\PerfProviderCollection.cs (1)
95if (s_counterSetList.ContainsKey(counterSetGuid)) {
System\Security\Cryptography\BCryptHashAlgorithm.cs (1)
37if (m_algorithmHandles.ContainsKey(handleKey))
System.Data (70)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ResolverCache.cs (1)
26if (this.cache.ContainsKey(type))
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (2)
464if (!collectingSourceLocations.ContainsKey(obj)) 626if (nameSourceLocation.Key != null && nameSourceLocation.Value != null && !propertyValueLocationMapping.ContainsKey(nameSourceLocation.Key))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (2)
243return _currentLayer.Items.ContainsKey(itemType); 498return (_services != null && _services.ContainsKey(serviceType));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeDataCache.cs (1)
193_baseMemberFinders.ContainsKey(member.MemberType),
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\MutableAttributeTable.cs (1)
191return (_metadata.ContainsKey(type));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagStringConverter.cs (1)
50if (flagDictionary.ContainsKey(flagName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
789if (!newCategoryEditorTypes.ContainsKey(item.Key) || !IsCategoryShown(item.Key))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\SelectionPathResolver.cs (1)
44if (_interpreters.ContainsKey(interpreter.PathTypeId))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (2)
90if (!_interfaces.ContainsKey(t)) 218if (dict.ContainsKey(a.TypeId))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
313if (!notifyDictionary.ContainsKey(container))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Debugger\DebuggerService.cs (3)
628if (this.unmappedBreakpoints.ContainsKey(kvpEntry.Value)) 630if (newSourceLocationMapping.ContainsKey(kvpEntry.Key)) 665if (!this.instanceToSourceLocationMapping.ContainsKey(unresolvedObject))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
613if (!viewItemListDictionary.ContainsKey(container))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\FakeModelPropertyImpl.cs (1)
79if (this.parentModelTreeItem.ModelPropertyStore.ContainsKey(this.Name))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (1)
569if (!dataModelProperty.IsAttached && parent.ModelPropertyStore.ContainsKey(dataModelProperty.Name))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (2)
135return _internalDictionary.ContainsKey(new WeakKey(key)); 417else if (_dictionary._internalDictionary.ContainsKey(_key))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (1)
146if ((ns != null) && visualBasicImports.ContainsKey(ns))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
571if (this.AvailableNamespaces.ContainsKey(ns.Namespace))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ObjectReferenceService.cs (2)
222Fx.Assert(this.ObjectReferenceCount.ContainsKey(objectReferenceId), "DecreaseReferenceCount should not be called when there is no reference."); 223if (this.ObjectReferenceCount.ContainsKey(objectReferenceId))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\SQM\ActivityUsageCounter.cs (1)
125if (mapping.ContainsKey(typeName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Utility\IconHelper.cs (1)
83if (!string.IsNullOrWhiteSpace(activityFullName) && IconNameMapping.ContainsKey(activityFullName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
544if (EditorBehaviorTypeMapping.ContainsKey(controlType))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
587if (selectionMap.ContainsKey(modelItem)) 1073if (selectionMap.ContainsKey(root))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\UniqueModelItemHelper.cs (2)
138if (nonSources.ContainsKey(parent)) 158if (nonSources.ContainsKey(source.Parent))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeResolvingOptions.cs (1)
160if (!result.ContainsKey(kvp.Key))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
481if (!sessionObjects.ContainsKey(key))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewStateService.cs (1)
126if (viewState != null && key != null && viewState.ContainsKey(key))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ViewStateAttachedPropertyFeature.cs (1)
78if (attachedProperties.ContainsKey(e.Key))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
964if (!containerMovedModelItemList.ContainsKey(compView))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (1)
1204if (this.declaredNames.ContainsKey(name))
fx\src\data\System\Data\Common\AdapterUtil.cs (1)
2434if (!hash.ContainsKey(lowerName)) {
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (3)
89flag = CurrentValues.ContainsKey(keyword); 252return CurrentValues.ContainsKey(keyword); 317return CurrentValues.ContainsKey(keyword);
fx\src\data\System\Data\DataColumnCollection.cs (2)
298while (columnFromName.ContainsKey(newName)) { 782return (!columnFromName.ContainsKey(name));
fx\src\data\System\Data\DataView.cs (1)
1344else if (!rowViewCache.ContainsKey(row)) {
fx\src\data\System\Data\Odbc\OdbcConnectionStringbuilder.cs (1)
196return _keywords.ContainsKey(keyword) || base.ContainsKey(keyword);
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (1)
266return _keywords.ContainsKey(keyword) || base.ContainsKey(keyword);
fx\src\data\System\Data\SqlClient\SqlCommand.cs (2)
3611Debug.Assert(!describeParameterEncryptionRpcOriginalRpcDictionary.ContainsKey(rpcDescribeParameterEncryptionRequest), 3933if (!keysToBeSentToEnclave.ContainsKey(currentOrdinal)) {
fx\src\data\System\Data\SqlClient\SqlConnectionStringBuilder.cs (1)
904return _keywords.ContainsKey(keyword);
fx\src\data\System\Data\SqlClient\SqlDependency.cs (7)
801if (!_serverUserHash.ContainsKey(server)) { 812if (!identityDatabaseHash.ContainsKey(identityUser)) { 845if (_serverUserHash.ContainsKey(server)) { 850if (identityDatabaseHash.ContainsKey(identityUser)) { 898if (!_serverUserHash.ContainsKey(server)) { 903else if (!ADP.IsEmpty(failoverServer) && _serverUserHash.ContainsKey(failoverServer)) { 917if (!identityDatabaseHash.ContainsKey(identityUser)) {
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (8)
268if (_appDomainKeyHash.ContainsKey(appDomainKey)) { // Do nothing if AppDomain did not call Start! 283Debug.Assert(!_appDomainKeyHash.ContainsKey(appDomainKey), "Key not removed after AppDomainUnload!"); 285if (_appDomainKeyHash.ContainsKey(appDomainKey)) { 486if (_appDomainKeyHash.ContainsKey(appDomainKey)) { 755if (_appDomainKeyHash.ContainsKey(appDomainKey)) { // Do nothing if AppDomain did not call Start! 1489if (!_sqlDependencyPerAppDomainDispatchers.ContainsKey(appDomainKey)) { 1509if (!_connectionContainers.ContainsKey(hashHelper)) { 1581if (_connectionContainers.ContainsKey(hashHelper)) {
fx\src\data\System\Data\SqlClient\SqlDependencyUtils.cs (3)
169if (!_dependencyIdToDependencyHash.ContainsKey(dep.Id)) { // Determine if depId->dep hashtable contains dependency. If not, it's been invalidated. 341if (_dependencyIdToDependencyHash.ContainsKey(id)) { 362if (_dependencyIdToDependencyHash.ContainsKey(id)) {
fx\src\data\System\Data\XMLSchema.cs (2)
1142if (tableDictionary.ContainsKey(relation.ParentTable)) { 1519if (tableDictionary.ContainsKey(relation.ParentTable)) {
System.Data.Entity (115)
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (1)
468!discriminatorPredicates.ContainsKey(constValue))
System\Data\Common\EntitySql\CqlLexerHelpers.cs (4)
258return CqlLexer.InternalKeywordDictionary.ContainsKey(term); 377CqlLexer.InternalKeywordDictionary.ContainsKey(symbol)) 490if (InternalOperatorDictionary.ContainsKey(oper)) 507if (InternalPunctuatorDictionary.ContainsKey(punct))
System\Data\Common\EntitySql\SemanticAnalyzer.cs (2)
2549if (rowColumns.ContainsKey(aliasName)) 3622if (projectionExpressions.ContainsKey(aliasName))
System\Data\Common\EntitySql\SemanticResolver.cs (2)
183if (retParams.ContainsKey(paramDef.ParameterName)) 210if (retVars.ContainsKey(varDef.VariableName))
System\Data\Common\EntitySql\StaticContext.cs (1)
63return _scopeEntries.ContainsKey(key);
System\Data\Common\EntitySql\TypeResolver.cs (1)
246if (_aliasedNamespaces.ContainsKey(alias))
System\Data\Common\Utils\Boolean\Simplifier.cs (1)
106if (negatedChildren.ContainsKey(child))
System\Data\Common\Utils\KeyToListMap.cs (2)
67return m_map.ContainsKey(key); 98Debug.Assert(m_map.ContainsKey(key), "key not registered in map");
System\Data\Common\Utils\MetadataHelper.cs (1)
484if (graph.ContainsKey(a))
System\Data\EntityKey.cs (1)
1249if (_nameLookup.ContainsKey(name))
System\Data\EntityModel\SchemaObjectModel\EntityContainer.cs (2)
365if (entitySet != null && !baseEntitySetTypes.ContainsKey(entitySet.EntityType)) 438if (baseEntitySetTypes.ContainsKey(baseType))
System\Data\EntityModel\SchemaObjectModel\EntityContainerAssociationSet.cs (2)
158Debug.Assert( !_relationshipEnds.ContainsKey( relationshipEnd.Name ) ); 174return _relationshipEnds.ContainsKey( role );
System\Data\EntityModel\SchemaObjectModel\EntityKeyElement.cs (1)
106if (propertyLookUp.ContainsKey(property.Name))
System\Data\EntityModel\SchemaObjectModel\RelationshipEndCollection.cs (2)
85if ( EndLookup.ContainsKey(name) ) 120return EndLookup.ContainsKey(name);
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
1247Debug.Assert(schemaResourceMap.ContainsKey(namespaceName), "the namespace name is not one we have a schema set for");
System\Data\EntityModel\SchemaObjectModel\SchemaElementLookUpTable.cs (1)
55return KeyToType.ContainsKey(KeyFromName(key));
System\Data\EntityModel\SchemaObjectModel\SchemaLookupTable.cs (1)
68if (newAlias != null && _aliasToNamespaceMap.ContainsKey(newAlias))
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (2)
209&& !_facetValues.ContainsKey(EdmProviderManifest.IsStrictFacetName) 497if (_facetValues.ContainsKey(EdmProviderManifest.ConcurrencyModeFacetName))
System\Data\Mapping\DefaultObjectMappingItemCollection.cs (4)
283if ( (!cdmTypeIndexes.ContainsKey(cdmType.Identity)) && (!clrTypeIndexes.ContainsKey(clrType.Identity)) ) 390if (clrTypeIndexes.ContainsKey(clrName)) 403if (cdmTypeIndexes.ContainsKey(cdmName))
System\Data\Mapping\FunctionImportMappingNonComposable.cs (1)
212if (!columns.ContainsKey(discriminatorColumn))
System\Data\Mapping\ObjectTypeMapping.cs (1)
135Debug.Assert(!m_memberMapping.ContainsKey(memberMapping.EdmMember.Name));
System\Data\Mapping\StorageComplexTypeMapping.cs (1)
129if (!m_conditionProperties.ContainsKey(conditionMember))
System\Data\Mapping\StorageEntityContainerMapping.cs (2)
321if (!this.m_entitySetMappings.ContainsKey(setMapping.Set.Name)) 341return this.m_associationSetMappings.ContainsKey(associationSet.Name);
System\Data\Mapping\StorageMappingFragment.cs (1)
204if (!m_conditionProperties.ContainsKey(conditionMember))
System\Data\Mapping\StorageSetMapping.cs (3)
223return m_typeSpecificQueryViews.ContainsKey(key); 232Debug.Assert(!m_typeSpecificQueryViews.ContainsKey(key), "Query View already present for the given Key"); 243Debug.Assert(m_typeSpecificQueryViews.ContainsKey(key));
System\Data\Mapping\Update\Internal\KeyManager.cs (1)
338if (_valueKeyToTempKey.ContainsKey(valueKey))
System\Data\Mapping\Update\Internal\UpdateCompiler.cs (1)
385if (!whereClauses.ContainsKey(member) && // don't add to the set clause twice
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (1)
969if (!m_requiredEntities.ContainsKey(end))
System\Data\Mapping\Update\Internal\ViewLoader.cs (6)
134if (m_affectedTables.ContainsKey(entitySetBase)) 149if (m_affectedTables.ContainsKey(entitySetBase)) 232if (!m_associationSetMetadata.ContainsKey(associationSet)) 274if (!m_functionMappingTranslators.ContainsKey(entitySetBase)) 288if (!m_functionMappingTranslators.ContainsKey(associationSet)) 323if (!m_functionMappingTranslators.ContainsKey(associationSetMapping.Set))
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (2)
410!nestedExtents.ContainsKey(fkExtent) && !CheckLOJCycle(fkExtent, principalExtent, nestedExtents)) 423if (!nestedExtents.ContainsKey(m.Key))
System\Data\Mapping\ViewGeneration\CqlGenerator.cs (2)
333if (parentRequiredSlots[slotNum] && m_caseStatements.ContainsKey(member)) 349Debug.Assert(true == m_caseStatements.ContainsKey(caseMemberPath), "Constructing case for regular field?");
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (1)
786if (!memberPath.IsScalarType() && !_caseStatements.ContainsKey(memberPath))
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingPass.cs (1)
248get { return m_views.Where(view => !m_usedViews.ContainsKey(view)); }
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (3)
145if (m_conditionDomainMap.ContainsKey(member) == false && m_nonConditionDomainMap.ContainsKey(member) == false) 312return m_conditionDomainMap.ContainsKey(path);
System\Data\Metadata\EdmItemCollection.OcAssemblyCache.cs (1)
47if (_conventionalOcCache.ContainsKey(assembly))
System\Data\Metadata\ObjectLayer\LoadMessageLogger.cs (2)
47if (this._messages.ContainsKey(relatedType)) 64if (this._messages.ContainsKey(relatedType))
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (2)
139Debug.Assert(!SessionData.TypesInLoading.ContainsKey(clrType.FullName), "This should be called only after looking in typesInLoading"); 277Debug.Assert(!SessionData.TypesInLoading.ContainsKey(clrType.FullName), "Trying to load a type that is already loaded???");
System\Data\Metadata\ObjectLayer\ObjectItemCachedAssemblyLoader.cs (1)
34if (!SessionData.TypesInLoading.ContainsKey(type.Identity))
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (2)
56if (!SessionData.CspaceToOspace.ContainsKey(cspaceType)) 683if (SessionData.CspaceToOspace.ContainsKey(cspaceAssociation))
System\Data\Metadata\TypeSemantics.cs (1)
973if (otherBaseTypes.ContainsKey(ancestor))
System\Data\Objects\DataClasses\EntityCollection.cs (2)
593return _wrappedRelatedEntities == null ? false : _wrappedRelatedEntities.ContainsKey(entity); 693return _wrappedRelatedEntities == null ? false : _wrappedRelatedEntities.ContainsKey(entity);
System\Data\Objects\DataClasses\RelatedEnd.cs (1)
1284if (!attachedRelatedEnd.WrappedOwner.Context.ObjectStateManager.TransactionManager.WrappedEntities.ContainsKey(entityToAdd.Entity))
System\Data\Objects\DataClasses\RelationshipManager.cs (1)
1317if (!properties.ContainsKey(name))
System\Data\Objects\EntityEntry.cs (3)
1779Debug.Assert(!ordinal2complexObject.ContainsKey(ordinal), "shouldn't contain this ordinal yet"); 2762if (properties.ContainsKey(propertyName)) 2927if (!properties.ContainsKey(member.Name))
System\Data\Objects\Internal\ObjectSpanRewriter.cs (1)
258!tracking.FullSpannedEnds.ContainsKey(relSpan.Value))
System\Data\Objects\ObjectStateManager.cs (4)
2057Debug.Assert((null == _addedEntityStore) || !_addedEntityStore.ContainsKey(oldKey), "EntityEntry exists with OldKey"); 2058Debug.Assert((null != _unchangedEntityStore) && _unchangedEntityStore.ContainsKey(newKey), "EntityEntry does not exist with NewKey"); 2857if (!_keylessEntityStore.ContainsKey(entry.Entity)) 3032if (!_metadataMapping.ContainsKey(entitySetQualifiedType))
System\Data\Objects\SpanIndex.cs (1)
102return _spanMap.ContainsKey(spanRowType);
System\Data\Query\InternalTrees\Command.cs (1)
412if (m_parameterMap.ContainsKey(parameterName))
System\Data\Query\InternalTrees\RuleProcessor.cs (2)
108if (m_processedNodeMap.ContainsKey(subTreeId)) 114if (localProcessedMap.ContainsKey(subTreeId))
System\Data\Query\PlanCompiler\ConstraintManager.cs (1)
230if (m_entityContainerMap.ContainsKey(entityContainer))
System\Data\Query\PlanCompiler\CTreeGenerator.cs (2)
371PlanCompiler.Assert(_relOpState.ContainsKey(expr),"not a relOp expression?"); 1166while (alreadyUsedNames.ContainsKey(columnName))
System\Data\Query\PlanCompiler\ITreeGenerator.cs (5)
111internal override bool Contains(string name) { return (_arguments.ContainsKey(name)); } 116PlanCompiler.Assert(_arguments.ContainsKey(name), "LambdaScope indexer called for invalid Var"); 119if (_referencedArgs.ContainsKey(argNode)) 157PlanCompiler.Assert(_arguments.ContainsKey(name), "LambdaScope indexer called for invalid Var"); 186PlanCompiler.Assert(varMappings.ContainsKey(sourceVar), "No mapping found for Var in Var to Var map from OpCopier");
System\Data\Query\PlanCompiler\JoinElimination.cs (1)
101return !m_joinGraphUnnecessaryMap.ContainsKey(joinNode);
System\Data\Query\PlanCompiler\NestPullup.cs (1)
343if (m_definingNodeMap.ContainsKey(refVar))
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
1151if (!m_tvfResultKeys.ContainsKey(functionImportMappingComposable.TargetFunction))
System\Data\Query\PlanCompiler\PropertyRef.cs (1)
483return m_allProperties || m_propertyReferences.ContainsKey(p);
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (1)
379if (m_entitySetToEntitySetIdMap.ContainsKey(e))
System\Data\Query\PlanCompiler\TransformationRules.cs (1)
370return m_suppressions.ContainsKey(n);
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (1)
441} while (columnNames.ContainsKey(newName));
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (4)
528&& _storeFunctionHandlers.ContainsKey(e.Function.Name); 540&& _canonicalFunctionHandlers.ContainsKey(e.Function.Name); 738Debug.Assert(handlers.ContainsKey(e.Function.Name), "Special handling should be called only for functions in the list of special functions"); 855Debug.Assert(_functionNameToOperatorDictionary.ContainsKey(e.Function.Name), "The function can not be mapped to an operator");
System\Data\SqlClient\SqlGen\SqlGenerator.cs (6)
2210else if (!_candidateParametersToForceNonUnicode.ContainsKey(e.ParameterName)) 2321Debug.Assert(joinSymbol.NameToExtent.ContainsKey(e.Property.Name)); 2348if (symbolPair.Column.Columns.ContainsKey(e.Property.Name)) 3435if (columnDictionary.ContainsKey(joinColumn.Name)) 3562if (!selectStatement.OutputColumns.ContainsKey(columnName)) 3568if (columnDictionary.ContainsKey(columnName))
System\Data\SqlClient\SqlGen\SqlSelectStatement.cs (1)
235while (sqlGenerator.AllExtentNames.ContainsKey(newName));
System\Data\SqlClient\SqlGen\Symbol.cs (1)
155} while (sqlGenerator.AllColumnNames.ContainsKey(newNameCandidate));
System\Data\SqlClient\SqlGen\SymbolTable.cs (1)
59if (symbols[i].ContainsKey(name))
System\Data\SqlClient\SqlGen\SymbolUsageManager.cs (2)
39return optionalColumnUsage.ContainsKey(key); 67if (optionalColumnUsage.ContainsKey(key))
System\Data\SqlClient\SqlProviderManifest.cs (1)
345if (!base.StoreTypeNameToEdmPrimitiveType.ContainsKey(storeTypeName))
System.Data.Entity.Design (20)
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (1)
486if (_lookups.StoreEdmPropertyToModelEdmProperty.ContainsKey(storeProperty))
System\Data\Entity\Design\Common\UniqueIdentifierService.cs (4)
52Debug.Assert(!_knownIdentifiers.ContainsKey(identifier), "don't register identifiers that already exist"); 72while (_knownIdentifiers.ContainsKey(adjustedIdentifier)) 79Debug.Assert(!_knownIdentifiers.ContainsKey(adjustedIdentifier), "we just made it unique"); 84Debug.Assert(!_identifierToAdjustedIdentifier.ContainsKey(value), "should never register one value twice");
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (4)
621if (newCandidates.ContainsKey(end0Set) && 622newCandidates.ContainsKey(end1Set)) 640if (session.CandidateCollapsedAssociations.ContainsKey(end.EntitySet)) 670if (!session.FkProperties.ContainsKey(property))
System\Data\Entity\Design\EntityStoreSchemaGenerator\EntityStoreSchemaGenerator.LoadMethodSessionState.cs (1)
192if (ItemToErrorsMap.ContainsKey(type))
System\Data\Entity\Design\PluralizationService\BidirectionalDictionary.cs (3)
42if (this.FirstToSecondDictionary.ContainsKey(value)) 51if (this.SecondToFirstDictionary.ContainsKey(value)) 86if (!this.SecondToFirstDictionary.ContainsKey(secondValue))
System\Data\EntityModel\EdmToObjectNamespaceMap.cs (1)
44return _map.ContainsKey(edmNamespace);
System\Data\EntityModel\Emitters\FixUpCollection.cs (2)
92if ( ClassFixUps.ContainsKey(fixUp.Class) ) 318return ClassFixUps.ContainsKey(className);
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
142if (!cache.ContainsKey(name))
System\Data\EntityModel\Emitters\Utils.cs (2)
69if (!typeReservedNames.ContainsKey(member.Name)) 80if (typeReservedNames.ContainsKey(member.Name))
System\Data\EntityModel\EntityClassGenerator.cs (1)
303Debug.Assert(readerSourceMap.ContainsKey(sourceLoader), "the source loader didn't produce any of the xml readers...");
System.Data.Linq (23)
ChangeProcessor.cs (2)
391if (!visited.ContainsKey(item)) { 469if (!visited.ContainsKey(item)) {
ChangeTracker.cs (2)
93if (tracked != null || visited.ContainsKey(obj)) { 134return this.items.ContainsKey(obj) || this.IsFastTracked(obj);
DataServices.cs (1)
569if (keys.ContainsKey(mm)) {
DataShape.cs (2)
83return includes.ContainsKey(new MetaPosition(member)); 100if (!ds1.includes.ContainsKey(metaPosition)) {
Mapping\AttributedMetaModel.cs (2)
174if (!this.metaFunctions.ContainsKey(mp)) { 181if (!this.metaTypes.ContainsKey(it.Type)) {
Mapping\MappedMetaModel.cs (5)
100if (!this.types.ContainsKey(rowType.Name)) { 102if (!this.types.ContainsKey(rowType.Name)) { 114if (!this.types.ContainsKey(rowType.Name)) { 116if (!this.types.ContainsKey(rowType.Name)) { 142if (!this.metaTypes.ContainsKey(it.Type)) {
SqlClient\Common\SqlNodeAnnotations.cs (2)
45return this.annotationMap.ContainsKey(node); 52return this.uniqueTypes.ContainsKey(type);
SqlClient\Query\Funcletizer.cs (1)
32if (this.locals.ContainsKey(exp)) {
SqlClient\Query\SqlDeflator.cs (2)
144&& !this.referenceMap.ContainsKey(c) 287if (cref.Column.Alias != null && this.removedMap.ContainsKey(cref.Column.Alias)) {
SqlClient\Query\SqlDuplicator.cs (4)
72if (this.ingoreExternalRefs && !this.nodeMap.ContainsKey(aref.Alias)) { 151if (this.ingoreExternalRefs && !this.nodeMap.ContainsKey(cref.Column)) { 282if (this.ingoreExternalRefs && !this.nodeMap.ContainsKey(suc)) { 419if (this.ingoreExternalRefs && !this.nodeMap.ContainsKey(sref.SharedExpression)) {
System.Data.Services (10)
parent\Client\System\Data\Services\Client\BatchStream.cs (1)
595(this.contentHeaders.Count == 2 && !this.contentHeaders.ContainsKey(XmlConstants.HttpContentLength)))
System\Data\Services\DataServiceConfiguration.cs (2)
1018if (!this.readAuthorizationMethods.ContainsKey(container.Name)) 1089if (!this.writeAuthorizationMethods.ContainsKey(container.Name))
System\Data\Services\KeyInstance.cs (1)
238if (namedValues.ContainsKey(identifier))
System\Data\Services\Providers\BaseServiceProvider.cs (3)
377Debug.Assert(this.ChildTypesCache.ContainsKey(resourceType), "this.ChildTypesCache.ContainsKey(resourceType)"); 402Debug.Assert(this.ChildTypesCache.ContainsKey(resourceType), "this.ChildTypesCache.ContainsKey(resourceType)"); 722if (this.metadata.ServiceOperations.ContainsKey(method.Name))
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
2786(this.edmTypes.ContainsKey(resultType.Namespace) &&
System\Data\Services\Serializers\JsonReader.cs (1)
574if (!this.entries.ContainsKey(key))
System\Data\Services\Serializers\MetadataSerializer.cs (1)
1195(this.resourceTypes.ContainsKey(resultType.Namespace) && this.resourceTypes[resultType.Namespace].Contains(resultType)),
System.Data.Services.Client (8)
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
372else if (keyValues.ContainsKey(property))
System\Data\Services\Client\AtomMaterializer.cs (2)
1864if (collection != null && !this.nextLinkTable.ContainsKey(collection)) 1876if (collection != null && !this.nextLinkTable.ContainsKey(collection))
System\Data\Services\Client\Binding\BindingEntityInfo.cs (2)
164if (!knownObservableCollectionTypes.ContainsKey(collectionType)) 324if (!bindingEntityInfos.ContainsKey(entityType))
System\Data\Services\Client\DataServiceContext.cs (2)
1226if (this.bindings.ContainsKey(relation)) 3119Debug.Assert((null != this.identityToDescriptor) && this.identityToDescriptor.ContainsKey(entry.Identity), "should have identity tracked");
System\Data\Services\Client\DataServiceRequestArgs.cs (1)
109if (this.headers.ContainsKey(header))
System.Data.Services.Design (6)
System\Data\Entity\Design\Common\UniqueIdentifierService.cs (1)
61Debug.Assert(!_identifierToAdjustedIdentifier.ContainsKey(value), "should never register one value twice");
System\Data\EntityModel\EdmToObjectNamespaceMap.cs (1)
41return _map.ContainsKey(edmNamespace);
System\Data\EntityModel\Emitters\FixUpCollection.cs (2)
88if ( ClassFixUps.ContainsKey(fixUp.Class) ) 314return ClassFixUps.ContainsKey(className);
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
192if (!cache.ContainsKey(name))
System\Data\EntityModel\Emitters\Utils.cs (1)
73if (!typeReservedNames.ContainsKey(member.Name))
System.Data.SqlXml (16)
System\Xml\Xsl\IlGen\StaticDataManager.cs (1)
32if (!this.lookup.ContainsKey(value)) {
System\Xml\Xsl\QIL\QilVisitor.cs (1)
443if (visitedRef.ContainsKey(input))
System\Xml\Xsl\QIL\QilXmlReader.cs (6)
54if (!nameToFactoryMethod.ContainsKey(mi.Name) || nameToFactoryMethod[mi.Name].GetParameters().Length < parms.Length) 275Debug.Assert(!this.scope.ContainsKey(id), "Multiple nodes have id '" + id + "'"); 280if (this.fwdDecls.ContainsKey(id)) { 291Debug.Assert(!this.scope.ContainsKey(id), "Id '" + id + "' is already in scope"); 304Debug.Assert(this.scope.ContainsKey(id), "Id '" + id + "' is not in scope"); 364Debug.Assert(nameToFactoryMethod.ContainsKey(r.LocalName), "Method " + r.LocalName + " could not be found on QilFactory");
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (1)
657if (usedPrefixes.ContainsKey(prefix)) {
System\Xml\Xsl\XPath\XPathBuilder.cs (1)
724return FunctionTable.ContainsKey(localName);
System\Xml\Xsl\Xslt\Compiler.cs (2)
110if (!moduleOrder.ContainsKey(baseUri)) { 163if (!AllGlobalVarPars.ContainsKey(var.Name)) {
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (2)
187if (compiler.Scripts.ScriptClasses.ContainsKey(ns)) { 270return FunctionTable.ContainsKey(localName) && localName != "unparsed-entity-uri";
System\Xml\Xsl\Xslt\Stylesheet.cs (1)
87return compiler.AllGlobalVarPars.ContainsKey(var.Name);
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
884if (!compiler.AttributeSets.ContainsKey(setName)) {
System.Drawing (1)
commonui\System\Drawing\Design\ToolboxItem.cs (1)
716if (aname != null && !parents.ContainsKey(aname.FullName)) {
System.IdentityModel (15)
System\IdentityModel\BoundedCache.cs (4)
257if (_items.ContainsKey(key)) 287if (_items.ContainsKey(key) && !_items[key].IsExpired()) 318if (_items.ContainsKey(key)) 350if (!_items.ContainsKey(key))
System\IdentityModel\CryptoHelper.cs (1)
1251if (!algorithmDelegateDictionary.ContainsKey(algorithm))
System\IdentityModel\Diagnostics\TraceUtility.cs (1)
50Fx.Assert( traceCodes.ContainsKey( traceCode ),
System\IdentityModel\Privilege.cs (1)
252if (!luids.ContainsKey(privilege))
System\IdentityModel\Tokens\ConfigurationBasedIssuerNameRegistry.cs (2)
142if (_configuredTrustedIssuers.ContainsKey(thumbprint)) 193if (_configuredTrustedIssuers.ContainsKey(certificateThumbprint))
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
1182if (distinctAttributes.ContainsKey(attributeKey))
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (1)
485if (distinctAttributes.ContainsKey(attributeKey))
System\IdentityModel\Tokens\SecurityTokenHandlerCollection.cs (3)
230if (tokenType != null && this.handlersByType.ContainsKey(tokenType)) 241if (tokenTypeIdentifier != null && this.handlersByIdentifier.ContainsKey(tokenTypeIdentifier)) 712if (type != null && this.handlersByType.ContainsKey(type))
System\IdentityModel\Tokens\SecurityTokenHandlerCollectionManager.cs (1)
139return this.collections.ContainsKey(usage);
System.IO.Log (2)
System\IO\Log\ReservationCollection.cs (2)
144return this.reservations.ContainsKey(size); 210if (this.reservations.ContainsKey(item))
System.Messaging (4)
System\Messaging\MessageQueue.cs (3)
4171if (table.ContainsKey(key)) 4200if (table.ContainsKey(key)) 4227if (table.ContainsKey(key))
System\Messaging\QueueAccessMode.cs (1)
57if (holders.ContainsKey(accessMode))
System.Net (3)
net\PeerToPeer\Collaboration\ContactManager.cs (1)
1539if (m_createContactAsyncList.ContainsKey(userToken)){
net\PeerToPeer\Collaboration\Peer.cs (1)
816if (m_inviteAsyncHelperList.ContainsKey(userToken)){
net\PeerToPeer\PeerNameResolver.cs (1)
800if (m_PeerNameResolverHelperList.ContainsKey(userState))
System.Runtime.DurableInstancing (5)
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (1)
439if ((InstanceView.InstanceKeysConsistency & InstanceValueConsistency.InDoubt) == 0 && copy.ContainsKey(key))
System\Runtime\DurableInstancing\InstanceStore.cs (4)
337Fx.Assert(this.owners.ContainsKey(owner.InstanceOwnerId), "InstanceHandle called PendHandleToEvent on wrong InstanceStore!!"); 351Fx.Assert(this.owners.ContainsKey(owner.InstanceOwnerId), "InstanceHandle called AddHandleToEvent on wrong InstanceStore!!"); 368Fx.Assert(this.owners.ContainsKey(owner.InstanceOwnerId), "InstanceHandle called SelectSignaledEvents on wrong InstanceStore!!"); 391Fx.Assert(this.owners.ContainsKey(owner.InstanceOwnerId), "InstanceHandle called RemoveHandleFromEvents on wrong InstanceStore!!");
System.Runtime.Serialization (28)
System\Runtime\Serialization\CodeExporter.cs (13)
65if (clrNamespace != null && !this.clrNamespaces.ContainsKey(clrNamespace)) 111if (!this.clrNamespaces.ContainsKey(ns)) 311if (contractNamesInHierarchy.ContainsKey(classContract.StableName)) 765return (string.IsNullOrEmpty(clrNamespace) && this.clrNamespaces.ContainsKey(typeName)); 770if (!this.clrNamespaces.ContainsKey(typeName)) 957if (handledContracts.ContainsKey(dataContract)) 1001if (dataContract.StableName != pair.Key && !dataContract.KnownDataContracts.ContainsKey(pair.Key) && !pair.Value.IsBuiltInDataContract) 1360if (contractCodeDomInfo.GetMemberNames().ContainsKey(memberName)) 1366if (!contractCodeDomInfo.GetMemberNames().ContainsKey(uniqueMemberName)) 1443if (ClrNamespaces.ContainsKey(clrNamespace)) 1449if (!ClrNamespaces.ContainsKey(uniqueNamespace)) 1566if (fragments.ContainsKey(nsFragment)) 1572if (!fragments.ContainsKey(uniqueNsFragment))
System\Runtime\Serialization\DataContract.cs (3)
1324if (previousCollectionTypes.ContainsKey(itemType)) 2063if (typesChecked.ContainsKey(type)) 2292if (checkedContracts.ContainsKey(contractPairKey))
System\Runtime\Serialization\DataContractSet.cs (3)
332return ProcessedContracts.ContainsKey(dataContract); 389if (!referencedCollectionTypesDictionary.ContainsKey(genericDictionaryName) && GetReferencedTypes().ContainsKey(genericDictionaryName))
System\Runtime\Serialization\Diagnostics\TraceUtility.cs (1)
50Fx.Assert(traceCodes.ContainsKey(traceCode),
System\Runtime\Serialization\HybridObjectCache.cs (2)
44else if (!referencedObjectDictionary.ContainsKey(id)) 63return referencedObjectDictionary.ContainsKey(id);
System\Runtime\Serialization\Json\JsonClassDataContract.cs (1)
171if (memberTable.ContainsKey(traditionalClassDataContract.MemberNames[i].Value))
System\Runtime\Serialization\Json\JsonDataContract.cs (2)
315if (!knownDataContracts.ContainsKey(itemContract.StableName)) 324if (!knownDataContracts.ContainsKey(itemDataContract.StableName))
System\Runtime\Serialization\ObjectReferenceStack.cs (1)
92if (objectDictionary != null && objectDictionary.ContainsKey(obj))
System\Runtime\Serialization\SchemaImporter.cs (1)
198if (!previousCollectionTypes.ContainsKey(dataContract.OriginalUnderlyingType))
System\Xml\XmlMtomReader.cs (1)
2396if (this.parameters.ContainsKey(MtomGlobals.StartInfoParam))
System.ServiceModel (142)
System\ServiceModel\Administration\ContractInstanceProvider.cs (1)
40if (!ContractInstanceProvider.knownContracts.ContainsKey(contract.Name))
System\ServiceModel\Administration\ManagementExtension.cs (2)
83if (!services.ContainsKey(service)) 95if (services.ContainsKey(service))
System\ServiceModel\Channels\AddressHeaderCollection.cs (1)
160if (headers.ContainsKey(key))
System\ServiceModel\Channels\ConnectAlgorithms.cs (6)
121&& pendingConnectedNeighbor.ContainsKey(GetEndpointUri(epr)) == false) 299if (!nodeAddresses.ContainsKey(key) && key != GetEndpointUri(maintainer.GetListenAddress())) 319if (address != null && pendingConnectedNeighbor.ContainsKey(address)) 341if (address != null && pendingConnectedNeighbor.ContainsKey(address)) 385if (!nodeAddresses.ContainsKey(key) 386&& !pendingConnectedNeighbor.ContainsKey(key)
System\ServiceModel\Channels\DeliveryStrategy.cs (1)
136while (this.items.ContainsKey(this.windowStart))
System\ServiceModel\Channels\HttpChannelListener.cs (1)
801if (!list.ContainsKey(key))
System\ServiceModel\Channels\IdlingCommunicationPool.cs (1)
143if (!this.connectionMapping.ContainsKey(connection))
System\ServiceModel\Channels\MsmqReceiveContextLockManager.cs (1)
76if (this.messageExpiryMap.ContainsKey(lookupId))
System\ServiceModel\Channels\PeerFlooder.cs (1)
786if (tables[(active + i) % buckets].ContainsKey(key))
System\ServiceModel\Channels\PeerMaintainer.cs (3)
127if (referralCache.Count <= this.config.MaxReferralCacheSize && !referralCache.ContainsKey(key)) 560if (!alreadySeen.ContainsKey(address.ServicePath)) 616if (referralCache.ContainsKey(key))
System\ServiceModel\Channels\PeerNodeImplementation.cs (2)
779if (peerNodes.ContainsKey(baseUri)) 1876result = uri2SecurityProtocol.ContainsKey(via);
System\ServiceModel\Channels\ReliableChannelListener.cs (1)
685return (this.channelsByInput.Count == 1) ? channelsByInput.ContainsKey(inputId) : false;
System\ServiceModel\Channels\ReliableReplySessionChannel.cs (1)
310bool haveRequestInDictionary = this.requestsByRequestSequenceNumber.ContainsKey(requestSeqNum);
System\ServiceModel\Channels\SecurityBindingElementImporter.cs (4)
227if (importer.State.ContainsKey(contractAssociationName)) 240if (importer.State.ContainsKey(InSecureConversationBootstrapBindingImportMode)) 590if (importer.State.ContainsKey(InSecureConversationBootstrapBindingImportMode)) 649if ((importer.State != null) && (!importer.State.ContainsKey(MaxPolicyRedirectionsKey)))
System\ServiceModel\Channels\TransportBindingElementImporter.cs (1)
227return GetGeneratedTransportBindingElements(importer).ContainsKey(key);
System\ServiceModel\ComIntegration\ServiceInfo.cs (1)
335if (!udts.ContainsKey(assemblyId))
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (2)
170if (dataContractSerializerOperationGenerator.isNonNillableReferenceTypes.ContainsKey(part)) 228return dataContractSerializerOperationGenerator.isNonNillableReferenceTypes.ContainsKey(part);
System\ServiceModel\Description\DispatcherBuilder.cs (2)
678if (!stuffPerListenUriInfo.ContainsKey(listenUriInfo)) 766if (!endpointInfosPerEndpointAddress.ContainsKey(endpoint.Address))
System\ServiceModel\Description\MessageContractExporter.cs (2)
434if (ExportedMessages.WsdlMessages.ContainsKey(new MessageDescriptionDictionaryKey(contractContext.Contract, message))) 477if (ExportedMessages.WsdlHeaderMessages.ContainsKey(new MessageDescriptionDictionaryKey(contractContext.Contract, message)))
System\ServiceModel\Description\MessageContractImporter.cs (4)
866if (!prefixesUsed.ContainsKey(pair.Name)) 1641if (importer.State.ContainsKey(type)) 1925if (importer.State.ContainsKey(typeof(XmlSerializerImportOptions))) 1999if (importer.State.ContainsKey(type))
System\ServiceModel\Description\MetadataExchangeClient.cs (1)
636return this.usedRetrievers.ContainsKey(retriever);
System\ServiceModel\Description\MetadataExporter.cs (3)
116if (!operationBindingAssertions.ContainsKey(operation)) 127if (!messageBindingAssertions.ContainsKey(message)) 137if (!faultBindingAssertions.ContainsKey(fault))
System\ServiceModel\Description\OperationGenerator.cs (2)
745else if (this.Parent.parameterTypes.ContainsKey(setting)) 753if (this.Parent.parameterAttributes != null && this.Parent.parameterAttributes.ContainsKey(setting))
System\ServiceModel\Description\ServiceMetadataBehavior.cs (1)
416if (!resolver.BehaviorContracts.ContainsKey(MexContractName))
System\ServiceModel\Description\SoapHelper.cs (1)
178if (versions != null && ((Dictionary<WsdlNS.Binding, EnvelopeVersion>)versions).ContainsKey(wsdlBinding))
System\ServiceModel\Description\WsdlExporter.cs (4)
41if (!this.exportedContracts.ContainsKey(contract)) 154if (exportedEndpoints.ContainsKey(endpointKey)) 660if (exporter.State.ContainsKey(key) && exporter.State[key] is SupportedAddressingMode) 957if (!lookup.ContainsKey(prefix))
System\ServiceModel\Description\WsdlImporter.cs (7)
227if (!this.KnownContracts.ContainsKey(WsdlExporter.WsdlNamingHelper.GetPortTypeQName(contract))) 294return importErrors.ContainsKey(item); 1705if (unique.ContainsKey(element)) 1881if (warnings.ContainsKey(warningMessage)) 2015if (!policyDictionary.PolicySourceTable.ContainsKey(element)) 2351else if (wsdlPolicyDictionary.ContainsKey(key)) 2381if (externalPolicyDictionary.ContainsKey(key))
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (2)
181if (!partInfoTable.ContainsKey(part)) 186if (!alreadyExported.ContainsKey(membersMapping))
System\ServiceModel\Dispatcher\ActionMessageFilter.cs (2)
55if (!this.actions.ContainsKey(actions[i])) 87return this.actions.ContainsKey(act);
System\ServiceModel\Dispatcher\ActionMessageFilterTable.cs (2)
41if (this.filters.ContainsKey(filter)) 162return this.filters.ContainsKey(filter);
System\ServiceModel\Dispatcher\AndMessageFilterTable.cs (2)
33if (this.filters.ContainsKey(filter)) 125return this.filters.ContainsKey(filter);
System\ServiceModel\Dispatcher\EndpointAddressMessageFilterTable.cs (2)
87if (this.filters.ContainsKey(filter)) 286return this.filters.ContainsKey(filter);
System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (1)
203if (qnameLookup.ContainsKey(qname))
System\ServiceModel\Dispatcher\MessageFilter.cs (1)
259return this.filters.ContainsKey(key);
System\ServiceModel\Dispatcher\MessageFilterTable.cs (2)
151if (this.filters.ContainsKey(filter)) 228return this.filters.ContainsKey(filter);
System\ServiceModel\Dispatcher\MessageQueryTable.cs (1)
103return this.dictionary.ContainsKey(key);
System\ServiceModel\Dispatcher\OperationSelectorBehavior.cs (4)
50if (!operationMap.ContainsKey(operation.SyncMethod.MethodHandle)) 56if (!operationMap.ContainsKey(operation.BeginMethod.MethodHandle)) 65if (!operationMap.ContainsKey(operation.TaskMethod.MethodHandle)) 81if (this.operationMap.ContainsKey(method.MethodHandle))
System\ServiceModel\Dispatcher\QueryMatcher.cs (1)
945Fx.Assert(this.lastLookup.ContainsKey(item), "");
System\ServiceModel\Dispatcher\TransactionBehavior.cs (4)
734else if (!this.pending.ContainsKey(rpc.Transaction.Current)) 761if (this.pending.ContainsKey(transaction)) 808if (this.pending.ContainsKey(transaction)) 931if (this.pending.ContainsKey(tx))
System\ServiceModel\Dispatcher\UniqueContractNameValidationBehavior.cs (1)
31if (!contracts.ContainsKey(qname))
System\ServiceModel\Dispatcher\XPathMessageFilter.cs (1)
650if (!prefixMap.ContainsKey(nsPrefix))
System\ServiceModel\Dispatcher\XPathMessageFilterTable.cs (2)
70if (this.filters.ContainsKey(filter)) 205return this.filters.ContainsKey(filter);
System\ServiceModel\PeerResolvers\CustomPeerResolverService.cs (1)
330if (meshEntry.Service2EntryTable.ContainsKey(address.ServicePath))
System\ServiceModel\Security\ScopedMessagePartSpecification.cs (3)
96if (!this.actionParts.ContainsKey(action)) 143if (this.readOnlyNormalizedActionParts.ContainsKey(action)) 149else if (this.actionParts.ContainsKey(action))
System\ServiceModel\Security\SecurityProtocol.cs (2)
167if (action != null && this.mergedSupportingTokenProvidersMap.ContainsKey(action)) 171else if (this.mergedSupportingTokenProvidersMap.ContainsKey(MessageHeaders.WildcardAction))
System\ServiceModel\Security\SecurityProtocolFactory.cs (2)
789if (action != null && this.mergedSupportingTokenAuthenticatorsMap.ContainsKey(action)) 797else if (this.mergedSupportingTokenAuthenticatorsMap.ContainsKey(MessageHeaders.WildcardAction))
System\ServiceModel\Security\SecuritySessionFilter.cs (3)
183if (this.filterMappings.ContainsKey(filter)) 260if (this.contextMappings.ContainsKey(sessionFilter.SecurityContextTokenId)) 271return this.filterMappings.ContainsKey(filter);
System\ServiceModel\Security\SecuritySessionServerSettings.cs (4)
837if (this.pendingSessions1.ContainsKey(sessionId) || this.pendingSessions2.ContainsKey(sessionId)) 928if (this.pendingSessions1.ContainsKey(sessionId)) 933else if (pendingSessions2.ContainsKey(sessionId))
System\ServiceModel\Security\SendSecurityHeaderElementContainer.cs (1)
140if (!this.securityTokenMappedToIdentifierClause.ContainsKey(securityToken))
System\ServiceModel\Security\WSSecurityPolicy.cs (8)
591if (false == importer.State.ContainsKey(SecurityBindingElementImporter.InSecureConversationBootstrapBindingImportMode)) 2643if (exporter.State.ContainsKey(SecurityPolicyStrings.SecureConversationBootstrapBindingElementsBelowSecurityKey)) 2729if (importer.State.ContainsKey(SecurityBindingElementImporter.SecureConversationBootstrapEncryptionRequirements)) 2738if (importer.State.ContainsKey(SecurityBindingElementImporter.SecureConversationBootstrapSignatureRequirements)) 2751if (importer.State.ContainsKey(SecurityBindingElementImporter.SecureConversationBootstrapEncryptionRequirements)) 2753if (importer.State.ContainsKey(SecurityBindingElementImporter.SecureConversationBootstrapSignatureRequirements)) 2869if ((importer.State != null) && (importer.State.ContainsKey(MetadataExchangeClient.MetadataExchangeClientKey))) 2942if ((importer.State != null) && (importer.State.ContainsKey(MetadataExchangeClient.MetadataExchangeClientKey)))
System\ServiceModel\ServiceHost.cs (2)
296if (!endpointDictionary.ContainsKey(listenUriInfo)) 1636contract = this.behaviorContracts.ContainsKey(contractName) ? this.behaviorContracts[contractName] : null;
System\ServiceModel\SynchronizedKeyedCollection.cs (2)
143return this.dictionary.ContainsKey(key); 205if (this.dictionary.ContainsKey(key))
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (8)
259if (!category.AttributeExtensions.ContainsKey(Atom10Term)) 263if (!string.IsNullOrEmpty(category.Label) && !category.AttributeExtensions.ContainsKey(Atom10Label)) 267if (!string.IsNullOrEmpty(category.Scheme) && !category.AttributeExtensions.ContainsKey(Atom10Scheme)) 487if (!string.IsNullOrEmpty(link.RelationshipType) && !link.AttributeExtensions.ContainsKey(Atom10Relative)) 491if (!string.IsNullOrEmpty(link.MediaType) && !link.AttributeExtensions.ContainsKey(Atom10Type)) 495if (!string.IsNullOrEmpty(link.Title) && !link.AttributeExtensions.ContainsKey(Atom10Title)) 499if (link.Length != 0 && !link.AttributeExtensions.ContainsKey(Atom10Length)) 503if (!link.AttributeExtensions.ContainsKey(Atom10Href))
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (5)
1073if (!string.IsNullOrEmpty(category.Scheme) && !category.AttributeExtensions.ContainsKey(Rss20Domain)) 1328if (selfLink != null && !item.SourceFeed.AttributeExtensions.ContainsKey(Rss20Url)) 1438if (!link.AttributeExtensions.ContainsKey(Rss20Url)) 1442if (link.MediaType != null && !link.AttributeExtensions.ContainsKey(Rss20Type)) 1446if (link.Length != 0 && !link.AttributeExtensions.ContainsKey(Rss20Length))
System\ServiceModel\TransactionFlowAttribute.cs (1)
40if (dictionary.ContainsKey(da))
System\ServiceModel\Transactions\TransactionCache.cs (1)
71if (!cache.ContainsKey(key))
System\UriTemplate.cs (6)
194if (this.queries.ContainsKey(key)) 218if ((this.variables.DefaultValues != null) && this.variables.DefaultValues.ContainsKey(uppercaseKey)) 713if (this.queries.ContainsKey(key.ToUpperInvariant())) 1100return this.defaults.ContainsKey(key); 1298Fx.Assert(this.defaultValues.ContainsKey(varName), "Otherwise, we don't have a value to bind"); 1455if (!this.defaultValues.ContainsKey(vps.VarName))
System\UriTemplateHelpers.cs (3)
268if (!queryVarNamesWithLiteralVals.ContainsKey(kvp.Key)) 282if (!array[i].queries.ContainsKey(s) || (array[i].queries[s].Nature != UriTemplatePartType.Literal)) 336Fx.Assert(up.queries.ContainsKey(queryVarName), "query doesn't have name");
System\UriTemplateTable.cs (1)
393if (this.fastPathTable.ContainsKey(uriPath))
System\UriTemplateTrieNode.cs (4)
261currentLocation.node.nextLiteralSegment.ContainsKey(curWireSeg)) 297currentLocation.node.finalLiteralSegment.ContainsKey(curWireSeg)) 559if (this.finalLiteralSegment != null && this.finalLiteralSegment.ContainsKey(lps)) 594if (this.nextLiteralSegment != null && this.nextLiteralSegment.ContainsKey(lps))
System.ServiceModel.Activation (5)
System\ServiceModel\Activation\CollectibleLRUCache.cs (1)
126if (directory.ContainsKey(node.GetKey()))
System\ServiceModel\Activation\Diagnostics\TraceUtility.cs (1)
39Fx.Assert(traceCodes.ContainsKey(traceCode),
System\ServiceModel\Channels\MsmqHostedTransportManager.cs (1)
152return this.privateMatches.ContainsKey(processedVirtualPath);
System\ServiceModel\ServiceHostingEnvironment.cs (2)
1150if (!schemeMappings.ContainsKey(filterUri.Scheme)) 1163if (schemeMappings.ContainsKey(scheme))
System.ServiceModel.Activities (6)
System\ServiceModel\Activities\Dispatcher\BufferedReceiveManager.cs (4)
58if (this.bufferedProperties.ContainsKey(instanceKey)) 170if (this.bufferedProperties.ContainsKey(instanceKey)) 224if (this.bufferedProperties.ContainsKey(instanceKey)) 396if (!this.pendingMessages.ContainsKey(channelKey))
System\ServiceModel\Activities\WorkflowService.cs (1)
367if (operationProperties.ContainsKey(id))
System\ServiceModel\Activities\WorkflowServiceHost.cs (1)
437if (result.ContainsKey(contract.ConfigurationName))
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpOutputChannel.cs (1)
368if (this.retransmitList.ContainsKey(messageId))
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\AsyncOperationLifetimeManager.cs (1)
54if (this.activeOperations.ContainsKey(context.OperationId))
System.ServiceModel.Internals (3)
System\Runtime\Collections\ObjectCache.cs (1)
79if (this.Count >= this.settings.CacheLimit || this.cacheItems.ContainsKey(key))
System\Runtime\DuplicateDetector.cs (1)
33if (!this.items.ContainsKey(value))
System\Runtime\TypeHelper.cs (1)
138if (typesEncountered.ContainsKey(type))
System.ServiceModel.Routing (1)
System\ServiceModel\Dispatcher\StrictAndMessageFilter.cs (1)
244return this.andFilters.ContainsKey(key);
System.ServiceModel.Web (20)
System\ServiceModel\Description\WebHttpBehavior.cs (2)
917if (!pathMapping.ContainsKey(i) && !queryMapping.ContainsKey(i))
System\ServiceModel\Dispatcher\FormatSelectingMessageInspector.cs (6)
58Fx.Assert(!this.formatters.ContainsKey(operationName), "An operation should only be registered once."); 71if (!string.IsNullOrEmpty(operationName) && this.formatters.ContainsKey(operationName)) 102Fx.Assert(this.caches.ContainsKey(operationName), "The calling method is responsible for ensuring that the 'operationName' key exists in the caches dictionary."); 117Fx.Assert(this.formatters.ContainsKey(operationName), "The calling method is responsible for ensuring that the 'operationName' key exists in the formatters dictionary."); 154Fx.Assert(this.formatters.ContainsKey(operationName), "The calling method is responsible for ensuring that the 'operationName' key exists in the formatters dictionary."); 185Fx.Assert(this.formatters.ContainsKey(operationName), "The calling method is responsible for ensuring that the 'operationName' key exists in the formatters dictionary.");
System\ServiceModel\Dispatcher\JsonFormatMapping.cs (1)
46if (!JsonFormatMapping.encoders.ContainsKey(this.writeEncoding))
System\ServiceModel\Dispatcher\MultiplexingDispatchMessageFormatter.cs (3)
44Fx.Assert(this.formatters.ContainsKey(this.defaultFormat), "The default format should always be included in the dictionary of formatters."); 72if (!this.formatters.ContainsKey(format)) 115return this.formatters.ContainsKey(format);
System\ServiceModel\Dispatcher\UnwrappedTypesXmlSerializerManager.cs (1)
79if (!allTypes.ContainsKey(types[i]))
System\ServiceModel\Dispatcher\UriTemplateClientFormatter.cs (3)
62if (this.pathMapping.ContainsKey(i)) 66else if (this.queryMapping.ContainsKey(i)) 155if (alreadyGotVars.ContainsKey(parameterName))
System\ServiceModel\Dispatcher\UriTemplateDispatchFormatter.cs (2)
72if (this.pathMapping.ContainsKey(i) && utmr != null) 76else if (this.queryMapping.ContainsKey(i) && utmr != null)
System\ServiceModel\Dispatcher\WebHttpDispatchOperationSelector.cs (1)
89if (alreadyHaves.ContainsKey(wcfKey))
System\ServiceModel\Dispatcher\XmlFormatMapping.cs (1)
45if (!XmlFormatMapping.encoders.ContainsKey(this.writeEncoding))
System.Transactions (1)
System\Transactions\Oletx\HandleTable.cs (1)
56} while (handleTable.ContainsKey(handle));
System.Web (18)
Compilation\AssemblyResolver.cs (1)
347if (!AssemblyLocations.ContainsKey(a)) {
HttpApplication.cs (1)
1964if (_pipelineEventMasks.ContainsKey(eventName)) {
MimeMapping.cs (1)
46if (!_mappings.ContainsKey(".*")) {
ModelBinding\ModelBinderDictionary.cs (1)
90return _innerDictionary.ContainsKey(key);
ModelBinding\ModelBindingExecutionContext.cs (1)
50if (_services.ContainsKey(typeof(TService))) {
ModelBinding\ModelStateDictionary.cs (1)
91return _innerDictionary.ContainsKey(key);
Routing\RouteCollection.cs (1)
70if (_namedMap.ContainsKey(name)) {
Routing\RouteValueDictionary.cs (1)
78return _dictionary.ContainsKey(key);
UI\ClientScriptManager.cs (2)
1179&& resources.ContainsKey(scriptKey.Key)) { 1208systemWebResources.ContainsKey("WebForms.js")) {
UI\WebControls\MethodParametersDictionary.cs (3)
58Debug.Assert(!InnerDictionary.ContainsKey(key), "The collection was not empty when loading the viewstate"); 136return InnerDictionary.ContainsKey(key); 140if (InnerDictionary.ContainsKey(key)) {
UI\WebControls\TreeView.cs (2)
3371if (populateIndex >= 0 && !populatedNodes.ContainsKey(populateIndex)) { 3403if ((index >= 0) && populatedNodes.ContainsKey(index)) {
UI\WebControls\Wizard.cs (1)
1370if (!CustomNavigationContainers.ContainsKey(step)) {
UI\WebParts\PersonalizationStateInfoCollection.cs (1)
75if (_indices.ContainsKey(key)) {
UI\WebParts\PersonalizationStateQuery.cs (1)
78if (_knownPropertyTypeMappings.ContainsKey(queryKey)) {
System.Web.DataVisualization (4)
Common\General\Chart.cs (4)
4180if (!this._fontCache.ContainsKey(key)) 4197if (!this._fontCache.ContainsKey(key)) 4214if (!this._fontCache.ContainsKey(key)) 4232if (!this._fontCache.ContainsKey(key))
System.Web.DynamicData (3)
DynamicData\DynamicValidator.cs (1)
155_ignoredModelValidationAttributes.ContainsKey(attrib.GetType())) {
DynamicData\MetaTable.cs (1)
393if (_columnsByName.ContainsKey(column.Name)) {
DynamicData\ModelProviders\DLinqTableProvider.cs (1)
55if (!dataModel.ColumnLookup.ContainsKey(propInfo))
System.Web.Entity (4)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
1057if (!propertyValues.ContainsKey(keyProperty.DisplayName))
System\Data\WebControls\EntityDataSourceView.cs (3)
890if (!convertedValues.ContainsKey(propertyName)) 1006if (!_originalProperties.ContainsKey(propertyName)) 1056if (!localMergedKeysAndOldValues.ContainsKey(propertyName))
System.Web.Extensions (17)
ApplicationServices\ApplicationServiceHelper.cs (2)
182bool allowedReadOrWrite = _profileAllowedGet.ContainsKey(propertyName) || _profileAllowedSet.ContainsKey(propertyName);
ApplicationServices\ProfileService.cs (2)
97if (allowedGet.ContainsKey(property)) { 190if (!allowedSet.ContainsKey(propertyName)) {
ClientServices\Providers\ProxyHelper.cs (1)
84if (wrapperObject == null || !wrapperObject.ContainsKey("d")) {
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (2)
926if (sharedTypeTable.ContainsKey(sharedType)) 1536Debug.Assert(schemaList.ContainsKey(schema), "The schema list should not contain any of the schemas returned in the duplicateSchemas...");
Profile\ProfileService.cs (2)
68if(allowedGet.ContainsKey(propertyName)) { 95if (profile != null && allowedSet != null && allowedSet.ContainsKey(propertyName)) {
Script\Serialization\JavaScriptSerializer.cs (1)
116if (_converters.ContainsKey(t)) {
Script\Services\ServicesUtilities.cs (1)
34if (webServiceData.ClientTypeNameDictionary.ContainsKey(type)) {
Script\Services\WebServiceData.cs (3)
460if (!_enumTypesDictionary.ContainsKey(typeString)) { 466if (!_clientTypesDictionary.ContainsKey(typeString)) { 529if (!ClientTypeDictionary.ContainsKey(typeString))
UI\ScriptResourceInfo.cs (1)
104if (scripts.ContainsKey(scriptName)) {
UI\WebControls\Dynamic.cs (1)
676if (symbols.ContainsKey(name))
Util\OrderedDictionary.cs (1)
80return _dictionary.ContainsKey(key);
System.Windows.Forms (18)
winforms\Managed\System\WinForms\ComponentManagerBroker.cs (4)
450while (_components.ContainsKey(_nextComponentId)) { 470if (_components == null || dwLocalComponentID <= 0 || !_components.ContainsKey(dwLocalComponentID)) { 511if (_components == null || dwLocalComponentID <= 0 || !_components.ContainsKey(dwLocalComponentID)) { 532if (_components == null || dwLocalComponentID <= 0 || !_components.ContainsKey(dwLocalComponentID)) {
winforms\Managed\System\WinForms\Control.Ime.cs (1)
1197if( ImeModeConversion.ImeModeConversionBits.ContainsKey( imeMode ) ) {
winforms\Managed\System\WinForms\HtmlShim.cs (1)
155if (attachedEventList.ContainsKey(eventHandler)) {
winforms\Managed\System\WinForms\HtmlShimManager.cs (7)
43else if (!htmlDocumentShims.ContainsKey(doc)) { 63else if (!htmlWindowShims.ContainsKey(window)) { 84else if (!htmlElementShims.ContainsKey(element)) { 98if (htmlDocumentShims.ContainsKey(document)) { 108if (htmlElementShims.ContainsKey(element)) { 118if (htmlWindowShims.ContainsKey(window)) { 177if (htmlWindowShims.ContainsKey(unloadedWindow)) {
winforms\Managed\System\WinForms\TableLayoutSettings.cs (1)
611if (!controlsInfo.ContainsKey(controlName)) {
winforms\Managed\System\WinForms\ToolStripSettings.cs (4)
196if (!toolStripPanelDestinationHash.ContainsKey(destinationPanel)) { 221if (toolStripPanelDestinationHash.ContainsKey(toolStripPanelName)) { 257if (!string.IsNullOrEmpty(key) && itemLocationHash.ContainsKey(key)) { 274Debug.Assert(!itemLocationHash.ContainsKey(item.Name), "WARNING: ToolStripItem name not unique.");
System.Windows.Forms.DataVisualization (4)
Common\General\Chart.cs (4)
4180if (!this._fontCache.ContainsKey(key)) 4197if (!this._fontCache.ContainsKey(key)) 4214if (!this._fontCache.ContainsKey(key)) 4232if (!this._fontCache.ContainsKey(key))
System.Workflow.Activities (28)
Common\ValidationHelpers.cs (1)
208if (!validatedObjects.ContainsKey(obj.GetHashCode()))
ConstrainedGroup.cs (2)
145if (!conditionedInfo.ChildrenStats.ContainsKey(child.QualifiedName)) 527if (childrenStats.ContainsKey(args1.Activity.QualifiedName))
CorrelationValidator.cs (1)
371if (typesValidated.ContainsKey(interfaceType))
Designers\StateDesignerConnector.cs (10)
292if (constructionArguments.ContainsKey("EventHandlerName") && 293constructionArguments.ContainsKey("SetStateName") && 294constructionArguments.ContainsKey("TargetStateName")) 303if (constructionArguments.ContainsKey("SourceActivity") && 304constructionArguments.ContainsKey("SourceConnectionIndex") && 305constructionArguments.ContainsKey("SourceConnectionEdge") && 306constructionArguments.ContainsKey("EventHandlerName")) 317if (constructionArguments.ContainsKey("TargetActivity") && 318constructionArguments.ContainsKey("TargetConnectionIndex") && 319constructionArguments.ContainsKey("TargetConnectionEdge"))
EventSinkActivity.cs (1)
426if (parameters.ContainsKey(propertyName))
InvokeMethodActivity.cs (1)
231if (parameters.ContainsKey(propertyName))
InvokeWebService.cs (1)
362if (parameters.ContainsKey(propertyName))
LocalService\CorrelationResolver.cs (1)
299return InitializerCorrelationPropertys.ContainsKey(memberName);
LocalService\ExternalDataExchangeService.cs (1)
294if (!this.eventHandlers.ContainsKey(hash))
Role\ADRole.cs (1)
214if (!dFinal.ContainsKey(currentEntries[i].Guid))
Role\DirectoryRedirect.cs (1)
69if (!dResponse.ContainsKey(newEntry.Guid))
Rules\RuleSet.cs (1)
104if (ruleNames.ContainsKey(r.Name))
Rules\RuleValidation.cs (1)
3866if (!typesUsedAuthorized.ContainsKey(qualifiedName))
StateMachineAction.cs (1)
271queue.Enabled = this.SubscriptionManager.Subscriptions.ContainsKey(queueName);
StateMachineSubscriptionManager.cs (2)
167Debug.Assert(!this.Subscriptions.ContainsKey(queueName)); 261if ((queueName == null) || (!this.Subscriptions.ContainsKey(queueName)))
WebServiceReceive.cs (1)
423if (parameters.ContainsKey(propertyName))
WebServiceResponse.cs (1)
229if (parameters.ContainsKey(propertyName))
System.Workflow.ComponentModel (29)
AuthoringOM\ActivityExecutionContext.cs (2)
431if (!grantedLocks.ContainsKey(handle)) 500if (!grantedLocks.ContainsKey(handle))
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (2)
768if ((FilterMember(memberInfo, bindingAttr)) && (!membersDictionary.ContainsKey(memberSignature))) 792if (!membersDictionary.ContainsKey(memberSignature))
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (2)
144if (this.needRefreshCompileUnits != null && this.needRefreshCompileUnits.ContainsKey(codeCompileUnit)) 165if (this.needRefreshCompileUnits != null && this.needRefreshCompileUnits.ContainsKey(codeCompileUnit))
AuthoringOM\Compiler\XomlCompiler.cs (1)
829if (names.ContainsKey(currentActivity.QualifiedName))
AuthoringOM\ComponentFactoryHelpers.cs (2)
120if (!components.ContainsKey(component.GetType())) 135if (!components.ContainsKey(component.GetType()))
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (7)
221if (constructionArguments.ContainsKey("SourceActivity") && 222constructionArguments.ContainsKey("SourceConnectionIndex") && 223constructionArguments.ContainsKey("SourceConnectionEdge")) 232if (constructionArguments.ContainsKey("TargetActivity") && 233constructionArguments.ContainsKey("TargetConnectionIndex") && 234constructionArguments.ContainsKey("TargetConnectionEdge")) 274if (!argumentDictionary.ContainsKey(attributeName))
AuthoringOM\Design\Connector.cs (5)
1572if (!parentDesignerDictionary.ContainsKey(parentDesigner.GetHashCode())) 1586if (!parentDesignerDictionary.ContainsKey(parentDesigner.GetHashCode())) 1604!parentDesignerDictionary.ContainsKey(activityDesigner.GetHashCode()) && 1681if (!escapeEdges.ContainsKey(escapeEdge)) 1707if (escapeEdges.ContainsKey(designerEdge))
AuthoringOM\Design\DesignerInterfaces.cs (1)
1030if (!activityDesignerVerbs.ContainsKey(verb.Group))
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (2)
1086int id = (identifiers.ContainsKey(fullTypeName)) ? identifiers[fullTypeName] : 1; 1090if (identifiers.ContainsKey(fullTypeName))
AuthoringOM\Design\ExtenderHelpers.cs (1)
55if (dependencyProperyies.ContainsKey(propertyName))
AuthoringOM\Serializer\CompositeActivityMarkupSerializer.cs (1)
33if (!writtenMappings.ContainsKey(xmlQualifiedName.Namespace))
AuthoringOM\Serializer\MarkupExtensionSerializer.cs (1)
117if (attributes.Length > 0 && constructorArguments.ContainsKey((attributes[0] as ConstructorArgumentAttribute).ArgumentName))
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (1)
403if (!this.clrNamespaceBasedMappings.ContainsKey(mapping.GetHashCode()))
Shared\ValidationHelpers.cs (1)
207if (!validatedObjects.ContainsKey(obj.GetHashCode()))
System.Workflow.Runtime (36)
DebugEngine\DebugController.cs (2)
1063if (!this.typeToGuid.ContainsKey(scheduleType)) 1075if (!this.xomlHashToGuid.ContainsKey(scheduleDefHashCode))
Hosting\ManualWorkflowSchedulerService.cs (3)
113if (!scheduleRequests.ContainsKey(workflowInstanceId)) 159if (scheduleRequests.ContainsKey(workflowInstanceId)) 238retval = scheduleRequests.ContainsKey(workflowInstanceId) || HasExpiredTimer(workflowInstanceId, out timerId);
PerformanceCounterManager.cs (1)
260if (!actionStatements.ContainsKey(currentMapping.Action))
RTTrackingProfile.cs (4)
519Debug.Assert(!_activities.ContainsKey(qualifiedID), "QualifiedName is already in the activities cache"); 520if (_activities.ContainsKey(qualifiedID)) 532Debug.Assert(!_user.ContainsKey(qualifiedID), "QualifiedName is already in the user cache"); 533if (_user.ContainsKey(qualifiedID))
Tracking.cs (2)
947return _services.ContainsKey(HashHelper.HashServiceType(trackingServiceType)); 967if (!_services.ContainsKey(current))
Tracking\SqlTrackingService.cs (5)
1131if (!_activityInstanceId.ContainsKey(key)) 2164if (!_tmpActivityInstanceId.ContainsKey(key)) 2169if (!_activityInstanceId.ContainsKey(key)) 2180if (_tmpActivityInstanceId.ContainsKey(key)) 2184if (_activityInstanceId.ContainsKey(key))
WorkflowDefinitionDispenser.cs (2)
65if (this.workflowOutParameters.ContainsKey(workflowType)) 334if (this.workflowOutParameters.ContainsKey(workflowType))
WorkflowExecutor.cs (2)
1413if (this.subStateMap.ContainsKey(stateId)) 2945if (this.subStateMap.ContainsKey(stateId))
WorkflowQueuingService.cs (8)
137return this.persistedQueueStates.ContainsKey(queueName); 343if (service.persistedQueueStates.ContainsKey(pair.Key)) 415if (this.persistedQueueStates.ContainsKey(queueID)) 478if (this.persistedQueueStates.ContainsKey(mergeItem.Key)) 534if (!this.persistedQueueStates.ContainsKey(queueName)) 590if (!this.persistedQueueStates.ContainsKey(queueName)) 630if (this.persistedQueueStates.ContainsKey(queueName)) 647if (this.persistedQueueStates.ContainsKey(queueName))
WorkflowRuntime.cs (7)
211if (!_runtimes.ContainsKey(_uid)) 235if (_runtimes.ContainsKey(_uid)) 909if (_services.ContainsKey(t)) 924if (_services.ContainsKey(basetype)) 1020if (_trackingServiceReplacement.ContainsKey(previousTrackingService)) 1050if (_services.ContainsKey(serviceType)) 1086if (_services.ContainsKey(serviceType))
System.WorkflowServices (15)
System\Workflow\Activities\ContractType.cs (1)
648if ((FilterMember(memberInfo, bindingAttr)) && (!membersDictionary.ContainsKey(memberSignature)))
System\Workflow\Activities\Design\RichListBox.cs (3)
202if (itemLocations.ContainsKey(selectedItem)) 227if (!listItemViewRenderers.ContainsKey(viewType.Name)) 243if (!listItemBitmapCache.ContainsKey(viewType.Name))
System\Workflow\Activities\DynamicContractTypeBuilder.cs (2)
70if (contractTypes.ContainsKey(operationInfo.ContractName)) 107if (!types.ContainsKey(operationInfo.ContractName))
System\Workflow\Activities\ValidationHelper.cs (9)
162if (toVerify.ContainsKey(typeName) && !toAddTo.ContainsKey(typeName)) 169if (!toAddTo.ContainsKey(typeName)) 191if (!implementedServiceOperations.ContainsKey(contractType)) 205if (!implementedServiceOperations.ContainsKey(contractType)) 257if (checkedContracts.ContainsKey(currentContractType)) 275if (!implementedServiceOperations.ContainsKey(currentContractType)) 285if (!notImplementedServiceOperations.ContainsKey(currentContractType)) 319if (!notImplementedServiceOperations.ContainsKey(currentContractType))
System.Xml (54)
System\Xml\Core\QueryOutputWriter.cs (1)
160this.bitsCData.PushBit(this.lookupCDataElems.ContainsKey(this.qnameCData));
System\Xml\Core\QueryOutputWriterV1.cs (1)
146this.bitsCData.PushBit(this.lookupCDataElems.ContainsKey(this.qnameCData));
System\Xml\Core\XmlTextReaderImpl.cs (1)
7256if (currentEntities.ContainsKey(entity)) {
System\Xml\Core\XmlTextWriter.cs (1)
1270Debug.Assert(nsHashtable.ContainsKey(nsStack[i].prefix));
System\Xml\Core\XmlWellFormedWriter.cs (1)
1575Debug.Assert(nsHashtable.ContainsKey(nsStack[i].prefix));
System\Xml\Dom\XmlNodeReader.cs (3)
853if ( !dict.ContainsKey( string.Empty ) ) { 859if ( !dict.ContainsKey( localName ) ) { 877if ( dict.ContainsKey( string.Empty ) && dict[string.Empty] == string.Empty ) {
System\Xml\Resolvers\XmlPreloadedResolver.cs (1)
340if (mappings.ContainsKey(uri)) {
System\Xml\Schema\DtdParser.cs (5)
771if ( !schemaInfo.Notations.ContainsKey(notationName) ) { 1289if ( !schemaInfo.ParameterEntities.ContainsKey( entityName ) ) { 1294if ( !schemaInfo.GeneralEntities.ContainsKey( entityName ) ) { 1333if ( !schemaInfo.Notations.ContainsKey(notationName) ) { 1366if ( !schemaInfo.Notations.ContainsKey( notationName.Name ) ) {
System\Xml\Schema\DtdParserAsync.cs (5)
416if ( !schemaInfo.Notations.ContainsKey(notationName) ) { 913if ( !schemaInfo.ParameterEntities.ContainsKey( entityName ) ) { 918if ( !schemaInfo.GeneralEntities.ContainsKey( entityName ) ) { 959if ( !schemaInfo.Notations.ContainsKey(notationName) ) { 992if ( !schemaInfo.Notations.ContainsKey( notationName.Name ) ) {
System\Xml\Schema\SchemaCollectionCompiler.cs (3)
236if (!schemaInfo.Notations.ContainsKey(no.Name.Name)) { 616if (!decl.ProhibitedAttributes.ContainsKey(attribute.QualifiedName)) { 621if (!decl.AttDefs.ContainsKey(attribute.QualifiedName) && attribute.AttDef != null && attribute.AttDef.Name != XmlQualifiedName.Empty && attribute.AttDef != SchemaAttDef.Empty) {
System\Xml\Schema\SchemaInfo.cs (9)
168return targetNamespaces.ContainsKey(ns); 172return targetNamespaces.ContainsKey(ns); 183if (!attributeDecls.TryGetValue(qname, out attdef) && targetNamespaces.ContainsKey(qname.Namespace)) { 223else if (ed.ProhibitedAttributes.ContainsKey(qname)) { 294if (!targetNamespaces.ContainsKey(tns)) { 300if (!elementDecls.ContainsKey(entry.Key)) { 305if (!elementDeclsByType.ContainsKey(entry.Key)) { 310if (!attributeDecls.ContainsKey(attdef.Name)) { 315if (!Notations.ContainsKey(notation.Name.Name)) {
System\Xml\Schema\SchemaSetCompiler.cs (3)
132if (!schemaInfo.Notations.ContainsKey(no.Name.Name)) { 673if (!decl.ProhibitedAttributes.ContainsKey(attribute.QualifiedName)) { 678if (!decl.AttDefs.ContainsKey(attribute.QualifiedName) && attribute.AttDef != null && attribute.AttDef.Name != XmlQualifiedName.Empty && attribute.AttDef != SchemaAttDef.Empty) {
System\Xml\Schema\XdrBuilder.cs (4)
485if (_SchemaInfo.TargetNamespaces.ContainsKey(uri)) { 674if (builder._SchemaInfo.ElementDecls.ContainsKey(qname)) { 944if (!builder._SchemaInfo.AttributeDecls.ContainsKey(qname)) { 1056if (!builder._SchemaInfo.ElementDecls.ContainsKey(qname)) {
System\Xml\Schema\XdrValidator.cs (2)
191if(schemaInfo.TargetNamespaces.ContainsKey(context.Namespace)) { 312if (this.schemaInfo.TargetNamespaces.ContainsKey(uri)) {
System\Xml\Schema\XmlSchemaObjectTable.cs (2)
23Debug.Assert(!table.ContainsKey(name), "XmlSchemaObjectTable.Add: entry already exists"); 91return table.ContainsKey(name);
System\Xml\Schema\XsdValidator.cs (2)
138if (!SchemaInfo.TargetNamespaces.ContainsKey(inlineNS)) { 525if (SchemaInfo.TargetNamespaces.ContainsKey(uri) && nsManager.LookupPrefix(uri) != null) {
System\Xml\Serialization\CodeGenerator.cs (2)
138System.Diagnostics.Debug.Assert(argList != null && argList.ContainsKey(name)); 2545return locals.ContainsKey(key) || (parent != null && parent.ContainsKey(key));
System\Xml\Serialization\XmlSerializationILGen.cs (2)
99System.Diagnostics.Debug.Assert(methodBuilders.ContainsKey(methodName)); 567System.Diagnostics.Debug.Assert(memberInfos.ContainsKey(source.Substring(3)));
System\Xml\Serialization\XmlSerializationReaderILGen.cs (3)
254Debug.Assert(idNameFields.ContainsKey(id)); 2809Debug.Assert(memberInfos.ContainsKey(source.Substring(3))); 2881Debug.Assert(memberInfos.ContainsKey(source.Substring(3)));
System\Xml\XPath\XPathDocument.cs (3)
373if (this.mapNmsp == null || !this.mapNmsp.ContainsKey(nodeRef)) { 392if (!this.idValueMap.ContainsKey(id)) 402if (this.idValueMap == null || !this.idValueMap.ContainsKey(id)) {
System.Xml.Linq (1)
System\Xml\Linq\XNodeValidator.cs (1)
132if (!schemaInfos.ContainsKey(si)) {
WindowsBase (22)
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (2)
420if (!_propertyDictionary.ContainsKey(propertyName)) 456if (_propertyDictionary.ContainsKey(propertyenum))
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (3)
557if (partAndSelectorDictionary.ContainsKey(relationshipPartUri)) 714if (manager.TransformMapping.ContainsKey(relPartContentType)) 765if (manager.TransformMapping.ContainsKey(part.ContentType))
Base\System\IO\Packaging\Package.cs (1)
506if (seenPartUris.ContainsKey(partUri))
Base\System\IO\Packaging\ZipPackage.cs (9)
959|| (_defaultDictionary.ContainsKey(extension) 985if (_overrideDictionary.ContainsKey(partUri)) 993if (_defaultDictionary.ContainsKey(extension)) 1627if (_ignoredItemDictionary.ContainsKey(normalizedPrefixNameForThisSequence)) 1656if (_ignoredItemDictionary.ContainsKey(normalizedPartName)) 1671if (_extensionDictionary.ContainsKey(extension)) 1675if (_ignoredItemDictionary.ContainsKey(normalizedPartName)) 1692if (!_ignoredItemDictionary.ContainsKey(normalizedPrefixName)) 1707if (!_extensionDictionary.ContainsKey(extension))
Base\System\Windows\Markup\ServiceProviders.cs (2)
38if (_objDict.ContainsKey(serviceType)) 64if (_objDict.ContainsKey(serviceType) == false)
Base\System\Windows\Markup\XmlCompatibilityReader.cs (5)
881return (_subsumingNamespaces == null ? false : _subsumingNamespaces.ContainsKey(namespaceName)); 908return (_knownNamespaces == null ? false : _knownNamespaces.ContainsKey(namespaceName)); 1799return _ignorables != null && _ignorables.ContainsKey(namespaceName); 1941return _all || (_names != null && _names.ContainsKey(elementName)); 1997return _all || (_names != null && _names.ContainsKey(itemName));
WsatConfig (4)
CommandLine\ArgumentsParser.cs (4)
33if (!string.IsNullOrEmpty(lowerCaseOption) && optionsLookupTable.ContainsKey(lowerCaseOption)) 59if (optionsHitCount.ContainsKey(CommandLineOption.Network)) 64if (optionsHitCount.ContainsKey(CommandLineOption.ClusterRemoteNode)) 69if (optionsHitCount.ContainsKey(CommandLineOption.Restart))
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTask.cs (1)
307if (!referencesTimeStampCache.ContainsKey(fullPath)