Implemented interface member:
method
Contains
System.Collections.Generic.ICollection<T>.Contains(T)
403 references to Contains
mscorlib (13)
system\attribute.cs (1)
289
if ((attribUsage.Inherited) && (disAllowMultiple.
Contains
(objType) == false))
system\collections\generic\list.cs (2)
335
return
Contains
((T) item);
1079
return _list.
Contains
(item);
system\diagnostics\eventing\eventsource.cs (2)
2887
if (!m_legacySessions.
Contains
(etwSession))
6609
if (!cultures.
Contains
(CultureInfo.CurrentUICulture))
System\Diagnostics\Eventing\TraceLogging\Statics.cs (1)
584
if (recursionCheck.
Contains
(dataType))
system\globalization\datetimeformatinfoscanner.cs (4)
235
if (!m_dateWords.
Contains
(temp))
241
if (!m_dateWords.
Contains
(str))
249
if (!m_dateWords.
Contains
(strWithoutDot))
376
if (!m_dateWords.
Contains
(temp))
system\reflection\emit\typebuilder.cs (1)
803
if (m_listMethods.
Contains
(method))
system\security\policy\evidence.cs (1)
1726
else if (ExpensiveEvidence.
Contains
(evidenceType))
system\security\principal\ircollection.cs (1)
108
return _Identities.
Contains
( identity );
PresentationBuildTasks (1)
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (1)
917
while (_namespacePrefixes.
Contains
(prefix))
PresentationCore (53)
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
301
if (gestures.
Contains
(gesture))
Core\CSharp\MS\Internal\Ink\Renderer.cs (2)
370
return _attachedVisuals.
Contains
(visual);
378
if (visual == null || drawingAttributes == null || _attachedVisuals == null || !_attachedVisuals.
Contains
(visual))
Core\CSharp\System\Windows\FreezableCollection.cs (1)
209
return _collection.
Contains
(value);
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (1)
62
if ( items.
Contains
(stroke) )
Core\CSharp\System\Windows\Input\Command\CommandBindingCollection.cs (1)
351
return _innerCBList.
Contains
(commandBinding) ;
Core\CSharp\System\Windows\Input\Command\InputBindingCollection.cs (1)
432
return _innerBindingList.
Contains
(key);
Core\CSharp\System\Windows\Input\Command\InputGestureCollection.cs (2)
363
if (_innerGestureList != null && _innerGestureList.
Contains
(inputGesture))
406
return _innerGestureList.
Contains
(key) ;
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
Core\CSharp\System\Windows\Media\HostVisual.cs (2)
257
&& !_connectedChannels.
Contains
(channel))
387
if (_target != null && _connectedChannels.
Contains
(channel))
PresentationFramework (27)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (4)
713
if (_owners.
Contains
(owner))
715
if (_activeOwners.
Contains
(owner))
732
if (_owners.
Contains
(owner))
757
if (_activeOwners.
Contains
(owner))
src\Framework\MS\Internal\PtsHost\PtsPage.cs (2)
1703
if(!_floatingElementList.
Contains
(floatingElement))
1711
if(_floatingElementList.
Contains
(floatingElement))
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (1)
921
if (!_ignoredNamespaces.
Contains
(namespaceUri))
src\Framework\System\Windows\Controls\CustomDictionarySources.cs (3)
100
if (_uriList.
Contains
(item))
166
if (!_uriList.
Contains
(item))
188
return _uriList.
Contains
(item);
src\Framework\System\Windows\Controls\DataGrid.cs (1)
7228
!GroupingSortDescriptionIndices.
Contains
(i)))
src\Framework\System\Windows\Controls\DefinitionBase.cs (1)
762
Debug.Assert(!_registry.
Contains
(member));
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
2657
if ( !elements.
Contains
(element) )
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
3624
!claimedContainers.
Contains
(d); },
src\Framework\System\Windows\Controls\Primitives\Popup.cs (1)
204
if (!registeredPopups.
Contains
(popup))
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
9074
Debug.Assert(!_realizedChildren.
Contains
(child), "_realizedChildren should not contain recycled containers");
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (1)
291
if (ignoreList.
Contains
(endPointer.Offset))
src\Framework\System\Windows\Markup\XamlTypeMapperSchemaContext.cs (2)
287
if (!nsList.
Contains
(ns))
297
if (!nsList.
Contains
(ns))
src\Framework\System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (2)
341
return _keyFrames.
Contains
(keyFrame);
429
if (_keyFrames.
Contains
(keyFrame))
src\Framework\System\Windows\ResourceDictionary.cs (2)
730
if (keyRecord != null && _deferredLocationList.
Contains
(keyRecord))
1027
if (_deferredLocationList.
Contains
(keyRecord))
src\Framework\System\Windows\SystemResources.cs (2)
1103
if (!_dpiAwarenessContextAndDpis.
Contains
(hwndDpiInfo))
1137
if (!_dpiAwarenessContextAndDpis.
Contains
(hwndDpiInfo))
src\Framework\System\Windows\TriggerActionCollection.cs (2)
116
return _rawList.
Contains
(value);
199
return _rawList.
Contains
(VerifyIsTriggerAction(value));
SMSvcHost (2)
System\ServiceModel\Activation\MessageQueue.cs (1)
528
Fx.Assert(paths.
Contains
(path), "Unregister: unregistering an unregistered path");
System\ServiceModel\Activation\MsmqActivation.cs (1)
517
if (this.monitors.
Contains
(monitor))
System.Activities (9)
System\Activities\HybridCollection.cs (1)
160
Fx.Assert(this.multipleItems != null && this.multipleItems.
Contains
(item), "The given item should be in this list. Something is wrong in our housekeeping.");
System\Activities\Runtime\ActivityExecutor.cs (1)
2294
Fx.Assert(this.executingSecondaryRootInstances.
Contains
(completedInstance), "An instance which is not the main root and doesn't have an execution parent must be an executing secondary root.");
System\Activities\Runtime\ActivityInstanceMap.cs (1)
98
if (secondaryRootInstances != null && secondaryRootInstances.
Contains
(instance))
System\Activities\Runtime\BookmarkScopeManager.cs (3)
382
if (this.uninitializedScopes == null || !this.uninitializedScopes.
Contains
(lookupScope))
507
Fx.Assert(this.uninitializedScopes != null && this.uninitializedScopes.
Contains
(scope), "Something is wrong with our housekeeping.");
518
Fx.Assert(this.uninitializedScopes == null || !this.uninitializedScopes.
Contains
(scope), "We shouldn't have this in the uninitialized list.");
System\Activities\Validation\ValidationHelper.cs (3)
103
if (disjointGroups != null && disjointGroups.
Contains
(groupName))
111
else if (overlappingGroups != null && overlappingGroups.
Contains
(groupName))
403
Fx.Assert(!listValues.
Contains
(listEntry), string.Format(CultureInfo.InvariantCulture, "Duplicate group entry '{0}' getting added.", listEntry));
System.Activities.Core.Presentation (9)
System\Activities\Core\Presentation\FlowchartDesigner.ModelChangeReactions.cs (1)
577
if (connectionPoints.
Contains
(this.srcConnectionPoint))
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (2)
1979
else if ((new List<Key> { Key.Left, Key.Right, Key.Up, Key.Down }).
Contains
(e.Key)
2193
if (connectionPoints.
Contains
(midPoint))
System\Activities\Core\Presentation\StateContainerEditor.ModelChangeReactions.cs (2)
84
if (!this.transitionModelItemsRemoved.
Contains
(deleted))
99
if (!this.transitionModelItemsAdded.
Contains
(item))
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (4)
658
if (connectionPoints.
Contains
(stateMachineEditor.activeSrcConnectionPoint))
856
if (viewStateDestConnPoint != null && GetEmptyConnectionPoints(dest).
Contains
(viewStateDestConnPoint))
1172
if (connectionPoints.
Contains
(this.activeSrcConnectionPoint))
2143
else if ((new List<Key> { Key.Left, Key.Right, Key.Up, Key.Down }).
Contains
(e.Key)
System.Activities.Presentation (34)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlSchemaContext.cs (2)
120
if (supportedTypes.
Contains
(xamlType.UnderlyingType))
128
if (conversionRequiredTypes.
Contains
(xamlType.UnderlyingType))
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
169
if (!mergedItemsToPaste.
Contains
(objectToPaste))
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (2)
314
if (pointsToRetain == null || !pointsToRetain.
Contains
(current))
345
if (pointsToRetain == null || !pointsToRetain.
Contains
(current))
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
277
if (toRemove.
Contains
(i))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (9)
349
return this.Items.
Contains
(item);
402
if (!this.parents.
Contains
(dataModelItem))
410
if (!this.sources.
Contains
(property))
515
bool wasInCollection = this.modelItems.
Contains
(item);
567
bool wasInCollection = this.modelItems.
Contains
(item);
597
if (!this.modelItems.
Contains
(item))
622
if (!this.modelItems.
Contains
(item))
664
if (this.parents.
Contains
(oldParent))
672
if (this.sources.
Contains
(oldModelProperty))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (4)
576
if (!this.parents.
Contains
(dataModelItem))
584
if (!this.sources.
Contains
(property))
609
if (this.parents.
Contains
(oldParent))
627
if (this.sources.
Contains
(oldModelProperty))
System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (1)
69
if (!BlackListedAssemblies.
Contains
(visualbasicImport.Assembly))
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
629
else if (!assemblyList.
Contains
(assemblyName))
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (2)
88
if (!this.views.
Contains
(view))
96
if (this.views.
Contains
(view))
System.Activities.Presentation\System\Activities\Presentation\View\Selection.cs (2)
280
if (list.
Contains
(itemToToggle)) {
316
if (list.
Contains
(itemToAdd)) {
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (2)
549
if (tracker.ChildViewModels.
Contains
(child))
575
if (tracker.ChildViewModels.
Contains
(child))
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (2)
404
if (TypePresenter.DefaultTypes.
Contains
(type))
789
if (TypePresenter.DefaultTypes.
Contains
(this.type))
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
455
if (!this.ScopesList.
Contains
((sender as ModelItem).Parent) || isUndoRedoInProgress)
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (1)
375
if (!parentContainer.children.
Contains
(this))
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (1)
724
if (null != itemsToDelete && itemsToDelete.
Contains
(this.Item))
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (2)
479
if (!this.compositeViews.
Contains
(container))
497
if (null != this.compositeViews && this.compositeViews.
Contains
(container))
System.AddIn (5)
System\Addin\Hosting\PipelineDeploymentState.cs (2)
84
if (!hostAdapter.Constructors.
Contains
(contract.TypeInfo))
91
if (!addinAdapter.Contracts.
Contains
(contract.TypeInfo))
System\Addin\Hosting\Store\AddInAdapter.cs (2)
108
if (this.Constructors.
Contains
(addInBase.TypeInfo))
116
if (this.Constructors.
Contains
(activatableAsTypeInfo))
System\Addin\Pipeline\ContractBase.cs (1)
116
while (m_lifetimeTokens.
Contains
(next))
System.Core (2)
Microsoft\Scripting\Compiler\StackSpiller.Temps.cs (2)
74
Debug.Assert(_freeTemps == null || !_freeTemps.
Contains
(temp));
85
Debug.Assert(_freeTemps == null || !_freeTemps.
Contains
(temp));
System.Data (64)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
169
if (!mergedItemsToPaste.
Contains
(objectToPaste))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (2)
314
if (pointsToRetain == null || !pointsToRetain.
Contains
(current))
345
if (pointsToRetain == null || !pointsToRetain.
Contains
(current))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
277
if (toRemove.
Contains
(i))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (9)
349
return this.Items.
Contains
(item);
402
if (!this.parents.
Contains
(dataModelItem))
410
if (!this.sources.
Contains
(property))
515
bool wasInCollection = this.modelItems.
Contains
(item);
567
bool wasInCollection = this.modelItems.
Contains
(item);
597
if (!this.modelItems.
Contains
(item))
622
if (!this.modelItems.
Contains
(item))
664
if (this.parents.
Contains
(oldParent))
672
if (this.sources.
Contains
(oldModelProperty))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (4)
576
if (!this.parents.
Contains
(dataModelItem))
584
if (!this.sources.
Contains
(property))
609
if (this.parents.
Contains
(oldParent))
627
if (this.sources.
Contains
(oldModelProperty))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
629
else if (!assemblyList.
Contains
(assemblyName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (2)
88
if (!this.views.
Contains
(view))
96
if (this.views.
Contains
(view))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\Selection.cs (2)
280
if (list.
Contains
(itemToToggle)) {
316
if (list.
Contains
(itemToAdd)) {
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (2)
549
if (tracker.ChildViewModels.
Contains
(child))
575
if (tracker.ChildViewModels.
Contains
(child))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (2)
404
if (TypePresenter.DefaultTypes.
Contains
(type))
789
if (TypePresenter.DefaultTypes.
Contains
(this.type))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
455
if (!this.ScopesList.
Contains
((sender as ModelItem).Parent) || isUndoRedoInProgress)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (1)
375
if (!parentContainer.children.
Contains
(this))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (1)
724
if (null != itemsToDelete && itemsToDelete.
Contains
(this.Item))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (2)
479
if (!this.compositeViews.
Contains
(container))
497
if (null != this.compositeViews && this.compositeViews.
Contains
(container))
fx\src\data\System\Data\DataColumn.cs (2)
1756
Debug.Assert(!dependentColumns.
Contains
(expressionColumn), "duplicate column - expected to be unique");
1762
if (dependentColumns != null && dependentColumns.
Contains
(expressionColumn)) {
fx\src\data\System\Data\DataRelation.cs (1)
443
if (!list.
Contains
(rel.ParentTable)) { // check for self nested
fx\src\data\System\Data\DataSet.cs (1)
2968
if (table.NestedParentsCount == 0 && !topTables.
Contains
(table))
fx\src\data\System\Data\DataTable.cs (13)
1739
while(j < nestedRelations.Length &&((nestedRelations[j].ParentTable == this)||(visitedTables.
Contains
(nestedRelations[j].ParentTable)))) {
1744
if (!visitedTables.
Contains
(parentTable))
4958
if (!(tableList.
Contains
(dependency[j].Table))) {
5825
if (tableList.
Contains
(fkc.Table) && tableList.
Contains
(fkc.RelatedTable)) {
5847
if (!tableList.
Contains
(dependency[j].Table)) {
5869
if (! tableList.
Contains
(r.ChildTable)) {
5878
if (tableList.
Contains
(r.ChildTable) && tableList.
Contains
(r.ParentTable)) {
6154
if (!dependentColumns.
Contains
(expressionColumn)) {
6161
if (dependentColumns != null && dependentColumns.
Contains
(expressionColumn)) {
6380
if (cachedRows != null && cachedRows.
Contains
(parentRow))
6398
if (cachedRows != null && cachedRows.
Contains
(childRow))
fx\src\data\System\Data\Filter\AggregateNode.cs (2)
136
if (!list.
Contains
(c)) {
141
if (!list.
Contains
(c)) {
fx\src\data\System\Data\Merger.cs (1)
97
if (!existingColumns.
Contains
(targetColumn)) {
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (1)
1857
if ((metaInfos[i].baseTableName != null) && !(qrytables.
Contains
(metaInfos[i].baseTableName))) {
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (1)
419
if (!listPropertySets.
Contains
(info._propertySet)) {
fx\src\data\System\Data\SqlClient\SqlDependency.cs (3)
399
if (!_eventList.
Contains
(pair)) {
821
if (!databaseServiceList.
Contains
(databaseService)) {
999
return _serverList.
Contains
(server);
fx\src\data\System\Data\SqlClient\SqlDependencyUtils.cs (1)
187
if (!dependencyList.
Contains
(dep)) {
fx\src\data\System\Data\XMLSchema.cs (4)
669
if (!qnames.
Contains
(element.QualifiedName)) {
2353
if (!tableList.
Contains
(dt)) {
2492
if ( namespacesToIgnore.
Contains
(this.NamespaceURI) ||
2511
if ( namespacesToIgnore.
Contains
(this.NamespaceURI) ||
fx\src\data\System\NewXml\XmlDataDocument.cs (3)
2773
if (!tableList.
Contains
(childTable))
2795
else if (!tableList.
Contains
(childTable)) {
2807
else if (!tableList.
Contains
(childTable)) {
System.Data.Entity (23)
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (1)
449
if (predicateColumnNames.
Contains
(propName))
System\Data\Common\EntitySql\SemanticResolver.cs (2)
1378
Debug.Assert(_containedAggregates.
Contains
(containedAggregate) == false, "containedAggregate is already registered");
1405
Debug.Assert(_containedAggregates != null && _containedAggregates.
Contains
(containedAggregate), "_containedAggregates.Contains(containedAggregate)");
System\Data\Common\Utils\ThreadSafeList.cs (1)
156
result = _list.
Contains
(item);
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
165
else if (!expectedNamespaces.
Contains
(sourceReader.NamespaceURI))
System\Data\Mapping\Update\Internal\KeyManager.cs (1)
465
Debug.Assert(!_nodeIds.
Contains
(nodeId), "don't add existing node to partition");
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (1)
173
if (!kv.Value.
Contains
(relProperty))
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (1)
609
if (false == hasDefaultValue || false == domain.
Contains
(defaultValue))
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (1)
645
if (slotsToSearchFrom.
Contains
(slotIndexes[i]))
System\Data\Metadata\EdmItemCollection.cs (1)
333
if (tempCTypeFunctionIdentity.
Contains
(cTypeFunctionIdentity))
System\Data\Objects\EntityEntry.cs (1)
3713
if (visited.
Contains
(this))
System\Data\Objects\ObjectParameterCollection.cs (1)
253
return this._parameters.
Contains
(parameter);
System\Data\Objects\ObjectViewQueryResultData.cs (1)
225
_bindingList.
Contains
((TElement)(e.Element)))
System\Data\Query\InternalTrees\Command.cs (1)
435
Debug.Assert(m_vars.
Contains
(oldVar));
System\Data\Query\PlanCompiler\CTreeGenerator.cs (2)
1760
PlanCompiler.Assert(outputAggVars.
Contains
(aggVar), "Defined aggregate Var not in Output Aggregate Vars list?");
2348
if (!prunedOutputs.
Contains
(v))
System\Data\Query\PlanCompiler\NestPullup.cs (1)
2408
if (!flattenedElementVars.
Contains
(sortKey.Var))
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
1780
if (!relProperties.
Contains
(op.RelationshipProperties[j]))
System\Data\Query\PlanCompiler\ProjectionPruner.cs (1)
544
varDefListNode.Children.RemoveAll(c => constantKeys.
Contains
(c) && constantKeyVars.IsSet(((VarDefOp)c.Op).Var));
System\Data\Query\PlanCompiler\TransformationRules.cs (1)
3235
if (op.Table.Columns.
Contains
(m_oldVar))
System\Data\Query\PlanCompiler\VarRefManager.cs (1)
164
if (listToCheck.
Contains
(var))
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
2631
if (!CurrentSelectStatement.FromExtents.
Contains
(result))
System\Data\SqlClient\SqlGen\SqlSelectStatement.cs (1)
226
if ((null != outerExtentAliases) && outerExtentAliases.
Contains
(fromAlias.Name))
System.Data.Entity.Design (6)
System\Data\Entity\Design\PluralizationService\EnglishPluralizationService.cs (5)
328
if (this.IsUninflective(word) || this._knownPluralWords.
Contains
(word.ToLower(this.Culture)))
355
if (this.IsUninflective(word) || this._knownSingluarWords.
Contains
(word.ToLower(this.Culture)))
407
if (this._knownPluralWords.
Contains
(suffixWord.ToLowerInvariant()) || this.IsPlural(suffixWord))
597
if (this._knownSingluarWords.
Contains
(suffixWord.ToLowerInvariant()))
889
_pronounList.
Contains
(word.ToLowerInvariant()))
System\Data\EntityModel\EntityClassGenerator.cs (1)
308
Debug.Assert(readers.
Contains
(sourceReader), "the source reader is not in the list of readers");
System.Data.Linq (7)
ChangeConflicts.cs (1)
63
return this.conflicts.
Contains
(item);
ChangeProcessor.cs (1)
744
if (!refs.
Contains
(to))
Mapping\AttributedMetaModel.cs (1)
901
if (!rowTypes.
Contains
(mt)) {
Mapping\MappedMetaModel.cs (1)
1365
if (!rowTypes.
Contains
(mt)) {
Mapping\MappingSource.cs (1)
315
if (IsInNamespace(reader) && reader.LocalName != xmlns && !attrList.
Contains
(reader.LocalName)) {
SqlClient\Query\SqlFormatter.cs (2)
403
if (!this.suppressedAliases.
Contains
(c.Alias) && aliasName != null && aliasName.Length != 0) {
611
if (!this.suppressedAliases.
Contains
(alias) && aliasName != null && name != aliasName) {
System.Data.Services (4)
System\Data\Services\Parsing\RequestQueryParser.cs (1)
511
if (!types.
Contains
(type))
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
254
if (!propertiesToBeIgnored.
Contains
(property.Name) && property.CanRead && property.GetIndexParameters().Length == 0)
System\Data\Services\Serializers\DictionaryContent.cs (2)
112
Debug.Assert(!this.valueNames.
Contains
(name), "!this.valueNames.Contains(name) -- otherwise repeated property set.");
125
Debug.Assert(!this.valueNames.
Contains
(name), "!this.valueNames.Contains(name) -- otherwise repeated property set.");
System.Data.Services.Client (2)
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
861
if (!re.ExpandPaths.
Contains
(path))
System\Data\Services\Client\MemberAssignmentAnalysis.cs (1)
231
if (this.pathFromEntity.
Contains
(m.Expression))
System.Data.SqlXml (2)
System\Xml\Xsl\QIL\QilXmlWriter.cs (2)
320
if (!this.backrefs.
Contains
(node) && !this.fwdrefs.
Contains
(node))
System.IdentityModel (2)
System\ServiceModel\Security\ReferenceList.cs (2)
62
return this.referredIds.
Contains
(id);
76
if (this.referredIds.
Contains
(id))
System.Runtime.Serialization (3)
System\Runtime\Serialization\DataContract.cs (1)
1332
if (!itemTypeClosure.
Contains
(argType))
System\Runtime\Serialization\DataContractSet.cs (1)
433
if (!types.
Contains
(type))
System\Runtime\Serialization\Json\JsonXmlDataContract.cs (1)
72
if (!stableNames.
Contains
(pair.Key))
System.ServiceModel (28)
System\ServiceModel\Channels\MsmqBindingMonitor.cs (1)
70
return this.filters.
Contains
(filter);
System\ServiceModel\Channels\NamedPipeTransportManager.cs (1)
101
if (!users2.
Contains
(user))
System\ServiceModel\Channels\PeerNeighborManager.cs (3)
228
if (!this.neighborList.
Contains
(nbr))
484
if (this.neighborList.
Contains
(neighbor))
620
if (this.neighborList.
Contains
(neighbor))
System\ServiceModel\Channels\PipeConnection.cs (1)
2191
Fx.Assert(this.pendingAccepts.
Contains
(pendingAccept), "An unknown PendingAccept is removing itself.");
System\ServiceModel\Channels\TransmissionStrategy.cs (1)
782
if (!this.window.GetTransferred(i) && !this.retransmissionWindow.
Contains
(sequenceNumber))
System\ServiceModel\ComIntegration\ServiceInfo.cs (1)
338
if (!udts[assemblyId].
Contains
(udt))
System\ServiceModel\Description\ConfigLoader.cs (3)
630
if (ConfigLoader.resolvedEndpoints.
Contains
(resolvedEndpointID))
803
if (ConfigLoader.resolvedEndpoints.
Contains
(resolvedEndpointID))
1132
if (ConfigLoader.resolvedBindings.
Contains
(resolvedBindingID))
System\ServiceModel\Description\DispatcherBuilder.cs (1)
63
if (!targetSerializationTypes.
Contains
(type))
System\ServiceModel\Description\TypeLoader.cs (1)
750
if (callbackType != null && !inheritedCallbackTypes.
Contains
(callbackType))
System\ServiceModel\Dispatcher\EndpointDispatcherTable.cs (1)
85
if (cachedEndpoints != null && cachedEndpoints.
Contains
(endpoint))
System\ServiceModel\MsmqIntegration\MsmqIntegrationReceiveParameters.cs (1)
24
if (! knownTypes.
Contains
(type))
System\ServiceModel\PeerResolvers\CustomPeerResolverService.cs (1)
474
if (!results.
Contains
(address))
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (2)
632
if (!this.activeNegotiationChannels1.
Contains
(channel) && !this.activeNegotiationChannels2.
Contains
(channel))
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (2)
625
if (authorizationPolicies.
Contains
(policy))
636
if (authorizationPolicies.
Contains
(currentTokenPolicies[i]))
System\ServiceModel\SynchronizedCollection.cs (1)
123
return this.items.
Contains
(item);
System\ServiceModel\SynchronizedKeyedCollection.cs (1)
162
return Items.
Contains
(item);
System\ServiceModel\XamlIntegration\XPathMessageContextMarkupExtension.cs (1)
41
if (!implicitPrefixes.
Contains
(prefix))
System\UriTemplate.cs (4)
1241
if (this.pathSegmentVariableNames.
Contains
(uppercaseVarName) ||
1242
this.queryValueVariableNames.
Contains
(uppercaseVarName))
1286
if (this.pathSegmentVariableNames.
Contains
(uppercaseVarName) ||
1287
this.queryValueVariableNames.
Contains
(uppercaseVarName))
System\UriTemplateTable.cs (1)
525
if (!slowPathCandidates.
Contains
(fastPathCandidates[i]))
System.ServiceModel.Routing (2)
System\ServiceModel\Dispatcher\StrictAndMessageFilter.cs (2)
225
if (firstPassResults.
Contains
(andFilter.filter1) && firstPassResults.
Contains
(andFilter.filter2))
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\WebHttpDispatchOperationSelector.cs (1)
276
if (!allowedMethods.
Contains
(pair.Key))
System.Web (3)
Hosting\ApplicationManager.cs (1)
1151
if (fullTrustAssemblies.
Contains
(_mwiV1StrongName)) {
UI\WebControls\MenuItemCollection.cs (1)
143
return _list.
Contains
(c);
UI\WebControls\TreeNodeCollection.cs (1)
146
return _list.
Contains
(c);
System.Web.DataVisualization (4)
Common\Formulas\FormulaHelpers.cs (2)
1467
if (seriesFields.
Contains
(formulaField))
1559
if (seriesFields.
Contains
(formulaField))
Common\General\ChartArea3D.cs (1)
1584
if(seriesNames.
Contains
(seriesName))
Common\General\ChartElement.cs (1)
1362
if (Utilities.CustomPropertyRegistry.IsXAxisQuantitativeChartTypes.
Contains
(series.ChartType) &&
System.Web.DynamicData (2)
DynamicData\MetaModel.cs (2)
222
if (_contextTypes.
Contains
(dataModelProvider.ContextType)) {
498
if (!_contextTypes.
Contains
(contextType)) {
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceView.cs (1)
911
if (!visitedProperties.
Contains
(propertyName))
System\Data\WebControls\OrderByBuilder.cs (1)
252
if (keyMemberNames.
Contains
(property.Name) && EntityDataSourceUtil.IsScalar(property.TypeUsage.EdmType))
System.Web.Extensions (13)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (1)
1164
if (refAssembly != null && !referencedAssemblies.
Contains
(refAssembly))
UI\PageRequestManager.cs (8)
543
(_updatePanelsToRefresh.
Contains
(parentUpdatePanel) || _childUpdatePanelsToRefresh.
Contains
(parentUpdatePanel))) {
579
if (_postBackControls != null && _postBackControls.
Contains
(control)) {
587
if (!_asyncPostBackControls.
Contains
(control)) {
626
if (_asyncPostBackControls != null && _asyncPostBackControls.
Contains
(control)) {
634
if (!_postBackControls.
Contains
(control)) {
644
Debug.Assert(!_allUpdatePanels.
Contains
(updatePanel),
917
if ((_allUpdatePanels == null) || !_allUpdatePanels.
Contains
(updatePanel)) {
UI\ScriptManager.cs (1)
2101
if (!Proxies.
Contains
(proxy)) {
UI\ScriptRegistrationManager.cs (2)
437
if (!entriesToRender.
Contains
(entry)) {
469
if (!entriesToRender.
Contains
(entry)) {
UI\WebControls\Dynamic.cs (1)
1444
if (!types.
Contains
(type)) {
System.Windows.Forms (7)
winforms\Managed\System\WinForms\ListView.cs (3)
2306
if (!this.savedSelectedItems.
Contains
(lvi)) {
2310
if (this.savedSelectedItems != null && this.savedSelectedItems.
Contains
(lvi)) {
5001
Debug.Assert(this.savedCheckedItems.
Contains
(item), "somehow we lost track of one item");
winforms\Managed\System\WinForms\NumericUpDownAccelerationCollection.cs (1)
65
return this.items.
Contains
(acceleration);
winforms\Managed\System\WinForms\RelatedCurrencyManager.cs (2)
129
if (IgnoreItemChangedTable.
Contains
(parentManager)) {
169
if (IgnoreItemChangedTable.
Contains
(curManager)) {
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
1164
if (!_inputFilterQueue.
Contains
(toolStrip))
System.Windows.Forms.DataVisualization (4)
Common\Formulas\FormulaHelpers.cs (2)
1467
if (seriesFields.
Contains
(formulaField))
1559
if (seriesFields.
Contains
(formulaField))
Common\General\ChartArea3D.cs (1)
1584
if(seriesNames.
Contains
(seriesName))
Common\General\ChartElement.cs (1)
1362
if (Utilities.CustomPropertyRegistry.IsXAxisQuantitativeChartTypes.
Contains
(series.ChartType) &&
System.Workflow.Activities (15)
Common\ValidationHelpers.cs (1)
154
while (requestParent != null && !responsePath.
Contains
(requestParent))
Rules\Expressions.cs (5)
1191
if (!attributedExprs.
Contains
(targetObject))
1481
if (!attributedExprs.
Contains
(targetObject))
1496
if (!attributedExprs.
Contains
(argExpr))
2460
if (!attributedExprs.
Contains
(targetObject))
2473
if (!attributedExprs.
Contains
(argExpr))
Rules\Literal.cs (4)
830
if (!candidates.
Contains
(mi))
850
if (!candidates.
Contains
(mi))
872
if (!candidates.
Contains
(liftedMethod))
891
if ((liftedMethod != null) && !candidates.
Contains
(liftedMethod))
Rules\RuleValidation.cs (3)
2230
if (!methods.
Contains
(mi))
2253
if (!methods.
Contains
(mi))
3364
if ((assembly != null) && (!seenAssemblies.
Contains
(assembly)))
StateMachineSubscriptionManager.cs (1)
134
if (subscribed.
Contains
(queueName))
Task.cs (1)
500
Debug.Assert(this.ActivityState.
Contains
(e.ChildStateInfo));
System.Workflow.ComponentModel (29)
AuthoringOM\ActivitiesCollection.cs (2)
118
return base.
Contains
(item);
123
if (!base.
Contains
(item))
AuthoringOM\ActivityExecutionContext.cs (1)
518
if (!waitingActivities.
Contains
(waitingActivity))
AuthoringOM\ActivityExecutionContextCollection.cs (1)
163
if (!this.executionContexts.
Contains
(childContext))
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (5)
96
(this.addedAssemblies == null || !this.addedAssemblies.
Contains
(path)))
119
if (this.addedAssemblies != null && this.addedAssemblies.
Contains
(path))
137
if (this.compileUnitLoaders.ContainsKey(codeCompileUnit) || (this.addedCompileUnits != null && this.addedCompileUnits.
Contains
(codeCompileUnit)))
163
if (this.addedCompileUnits != null && this.addedCompileUnits.
Contains
(codeCompileUnit))
183
if (!this.compileUnitLoaders.Contains(codeCompileUnit) && (this.addedCompileUnits != null && !this.addedCompileUnits.
Contains
(codeCompileUnit)))
AuthoringOM\Design\ActivityDesigner.cs (1)
2128
if (!customPropertyNames.
Contains
(memberInfo.Name))
AuthoringOM\Design\Connector.cs (3)
573
if (parentFreeFormDesigner != null && targetParents.
Contains
(parentFreeFormDesigner))
1346
if (!editPointsToRetain.
Contains
(current))
1377
if (!editPointsToRetain.
Contains
(current))
AuthoringOM\Design\DesignerInterfaces.cs (1)
1040
if (!verbList.
Contains
(verb))
AuthoringOM\Design\DesignerWidgets.cs (1)
2049
if (this.tabItemList.
Contains
(item))
AuthoringOM\Design\FreeFormDesigner.cs (4)
444
if (this.connectors.
Contains
(connector))
466
if (this.connectors.
Contains
(connector))
686
if (!connectorContainer.MovingActivities.
Contains
(designerToRemove))
894
Point location = (newActivities.
Contains
(designerToMove.Activity)) ? dropPoint : movedLocations[i];
AuthoringOM\Design\MessageFilters\ConnectionManager.cs (1)
555
if (!snappableConnectionPoints.
Contains
(connectionPoint))
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (3)
34
if (!this.actions.
Contains
(action))
49
return this.actions.
Contains
(action);
57
if (this.actions.
Contains
(action))
AuthoringOM\Design\MessageFilters\GlyphManager.cs (1)
226
if (!this.designerGlyphProviders.
Contains
(glyphProvider))
AuthoringOM\Design\WorkflowView.cs (1)
773
if (this.customMessageFilters.
Contains
(designerMessageFilter))
AuthoringOM\Design\XomlDesignerLoader.cs (1)
530
if (!this.designerVerbProviders.
Contains
(verbProvider))
AuthoringOM\ItemList.cs (2)
185
return base.
Contains
(item);
190
if (!base.
Contains
(item))
Shared\ValidationHelpers.cs (1)
153
while (requestParent != null && !responsePath.
Contains
(requestParent))
System.Workflow.Runtime (6)
RTTrackingProfile.cs (3)
233
if (item.Events.
Contains
(status))
301
if (_activitiesIgnore.
Contains
(activity.QualifiedName))
662
if (!allActivities.
Contains
(secondaryFlowActivity))
Tracking\SqlTrackingService.cs (1)
2607
if (!allActivities.
Contains
(secondaryFlowActivity))
Tracking\TrackPoint.cs (1)
95
if (!status.
Contains
(s))
WorkflowRuntime.cs (1)
976
if (al.
Contains
(service))
System.WorkflowServices (14)
System\ServiceModel\Security\SerializableAuthorizationContext.cs (2)
76
if (!redBitsKnownType.Contains(claimSetType) && !knownTypes.
Contains
(claimSetType))
85
if (!redBitsKnownType.Contains(claimType) && !knownTypes.
Contains
(claimType))
System\Workflow\Activities\Design\OperationPickerDialog.cs (1)
195
if (!interfacesList.
Contains
(baseInteface))
System\Workflow\Activities\Design\ServiceContractListItem.cs (1)
78
if (!cachedItem.ImplementingActivities.
Contains
(activity))
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (1)
257
while (existingNames.
Contains
(generatedName))
System\Workflow\Activities\DynamicContractTypeBuilder.cs (1)
129
if (parameterIndexs.
Contains
(operationParameterInfo.Position))
System\Workflow\Activities\OperationParameterInfoCollection.cs (2)
193
return base.
Contains
(item);
215
if (!base.
Contains
(item))
System\Workflow\Activities\ValidationHelper.cs (6)
240
if (!contractList.
Contains
(currentInterfaceType) &&
248
if (!contractList.
Contains
(baseInteface))
665
if (parameterIndexs.
Contains
(operationParameterInfo.Position))
689
if (parameterNames.
Contains
(operationParameterInfo.Name))
808
if (parameterIndexs.
Contains
(parameter.Position))
828
if (parameterNames.
Contains
(parameter.Name))
System.Xml (5)
System\Xml\Schema\DtdParser.cs (2)
774
if ( validate && !v1Compat && attrDef.Values != null && attrDef.Values.
Contains
( notationName ) && !ignoreErrors ) {
813
if ( validate && !v1Compat && attrDef.Values != null && attrDef.Values.
Contains
( nmtoken ) && !ignoreErrors ) {
System\Xml\Schema\DtdParserAsync.cs (2)
419
if ( validate && !v1Compat && attrDef.Values != null && attrDef.Values.
Contains
( notationName ) && !ignoreErrors ) {
458
if ( validate && !v1Compat && attrDef.Values != null && attrDef.Values.
Contains
( nmtoken ) && !ignoreErrors ) {
System\Xml\Schema\SchemaDeclBase.cs (1)
118
return (datatype.TokenizedType != XmlTokenizedType.NOTATION && datatype.TokenizedType != XmlTokenizedType.ENUMERATION) || values.
Contains
(pVal.ToString());