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