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