Implemented interface member:
method
Contains
System.Collections.Generic.ICollection<T>.Contains(T)
281 references to Contains
PresentationFramework (1)
src\Framework\System\Windows\Markup\XamlTypeMapperSchemaContext.cs (1)
367if (!_clrNamespaces.Contains(xamlNamespace))
System.Activities (17)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (2)
363if (typeReferences.Contains(type)) 369if (isDirectReference || !VisualBasicHelper.DefaultReferencedAssemblies.Contains(type.Assembly))
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (1)
1450if (alreadyVisited.Contains(type))
System\Activities\Debugger\DebugInfo.cs (3)
269existingNames.Contains(variable.Name))) // variable name already exists in current scope 287if (!existingNames.Contains(delegateArgument.Name)) // variable name already exists in current scope 304if (!existingNames.Contains(argument.Name))
System\Activities\Debugger\DebugManager.cs (3)
183if (!visited.Contains(enumerator1.Current)) // avoid adding the same activity (e.g. some default implementation). 248while (existingNames.Contains(name)) 269if (!visited.Contains(childActivity))
System\Activities\Debugger\SourceLocationProvider.cs (2)
331if (!visited.Contains(enumerator1.Current)) // avoid adding the same activity (e.g. some default implementation). 395if (!visited.Contains(currentActivity) && sourceLocations.TryGetValue(origin, out sourceLocation))
System\Activities\Statements\Flowchart.cs (1)
133if (updatedActivities.Contains(node.ChildActivity))
System\Activities\Statements\StateMachine.cs (1)
396if (conditionalTransitionTriggers.Contains(unconditionalTransitions.Key) ||
System\Activities\XamlIntegration\ActivityBuilderXamlWriter.cs (1)
439if (!this.rootLevelPrefixes.Contains(alias))
System\Activities\XamlIntegration\CompiledDataContext.cs (2)
250return this.activities.Contains(target); 281if (!this.dataContextActivities.Contains(activity))
System\Activities\XamlIntegration\SerializableFuncDeferringLoader.cs (1)
63if (!childPrefixes.Contains(parentNamespace.Prefix) &&
System.Activities.Core.Presentation (7)
System\Activities\Core\Presentation\FlowchartDesigner.Container.cs (1)
349if (workflowElementToPaste != null && !workflowElementsPasted.Contains(workflowElementToPaste))
System\Activities\Core\Presentation\FlowchartDesigner.ModelChangeReactions.cs (1)
597if (selectedItems.Contains(shapeModelItem))
System\Activities\Core\Presentation\FlowchartDesigner.ModelChanges.cs (3)
51&& referenceUpdatedModelItems.Contains(linkModelItem)) 83&& referenceUpdatedModelItems.Contains(realFlowSwitchMI)) 120&& (updatedItems == null || !updatedItems.Contains(flowElementMI)))
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (2)
691if (selectedItems.Contains(modelItem)) 1816if (incomingConnectors.Contains(connector))
System.Activities.DurableInstancing (2)
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (2)
296if (promotedXNames.Contains(xname)) 317if (promotedXNames.Contains(xname))
System.Activities.Presentation (43)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignTimeXamlWriter.cs (2)
156if ((this.emittedNamespacesInLocalAssembly == null) || (!this.emittedNamespacesInLocalAssembly.Contains(xamlNamespace.Namespace))) 245if (!this.rootLevelNamespaces.Contains(mcAlias))
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\SourceTextScanner.cs (1)
56if (charsToSearchSet.Contains(currentPair.Item1))
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (1)
394if (idRefsSeen.Contains(idRef))
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
179while (definedPrefixes.Contains(prefix));
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\XamlObjectReaderWithSequence.cs (1)
159if (!this.VisitedObjects.Contains(mappedObject) && !(mappedObject is string))
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
101if (!this.changingProperties.Contains(e.PropertyName)) 469if (!this.changingProperties.Contains(propertyName))
System.Activities.Presentation\System\Activities\Presentation\FeatureManager.cs (1)
27if (!initializedTypes.Contains(modelType))
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectHelper.cs (1)
144while (shapeLocations.Contains(dropPoint))
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoSplitHelper.cs (1)
99while (shapeLocations.Contains(dropLocation))
System.Activities.Presentation\System\Activities\Presentation\Model\EditingScope.cs (4)
133if (this.itemsRemoved.Contains(addedItem)) 139Fx.Assert(!this.itemsAdded.Contains(addedItem), "One ModelItem should not be added more than once."); 149if (this.itemsAdded.Contains(removedItem)) 155Fx.Assert(!itemsRemoved.Contains(removedItem), "One ModelItem should not be removed more than once.");
System.Activities.Presentation\System\Activities\Presentation\Model\GraphManager.cs (4)
82if (!reachableVertices.Contains(to)) 196if (!visited.Contains(destinationVertex)) 225if (!wasReachable && !verticesBecameReachable.Contains(destinationVertex)) 267if (!unreachableVertices.Contains(to))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
300if (visited.Contains(modelItem))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (2)
419if (computedValue == null || this.objectsOnDesinger.Contains(computedValue)) 470if (!alreadyVisitedObjects.Contains(propertyValue))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (3)
427if (!alreadyVisited.Contains(neighbor)) 547if (!alreadyVisited.Contains(neighbor)) 905if (!alreadyVisitedItems.Contains(neighbor))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelUtilities.cs (1)
115if (visited.Contains(current))
System.Activities.Presentation\System\Activities\Presentation\ObjectReferenceService.cs (1)
155if (this.SubscribedForSourceLocationChanges.Contains(objectReferenceId))
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
657if (!namespaces.Contains(ns))
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\ChangeNotificationTracker.cs (1)
147if (propertyList.Contains(e.PropertyName))
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\DesignerTreeAutoExpandHelper.cs (1)
84if (modelItem == null || itemSet.Contains(modelItem) || ExtensibilityAccessor.GetAttribute<HidePropertyInOutlineViewAttribute>(modelItem) != null)
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (2)
204if (!ChildrenValueCache.Contains(childValue)) 504isUnique = parent.uniqueChildren.Contains(item);
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\UniqueModelItemHelper.cs (5)
58if (null != source.Parent && !visited.Contains(source.Parent)) 88if (null != child.Key && !visited.Contains(child.Key)) 97if (null != child.Value && !visited.Contains(child.Value)) 113if (null != child && !visited.Contains(child)) 192if (null != parent && !visited.Contains(parent))
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
1970return !variableNames.Contains(variableName.ToUpperInvariant());
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
1047if (!viewElements.Contains(this))
System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (4)
485(unresolvedTypes.Count > 1 || !unresolvedTypes.Contains(type))) 587if (currentFrame.PastMembers.Contains(member)) 1239if (!prefixes.Contains(pair.Key) && !namespaces.Contains(pair.Value))
System.Core (5)
System\Collections\Generic\HashSet.cs (5)
788if (Contains(element)) { 1122if (!Contains(element)) { 1145if (!other.Contains(item)) { 1161if (!other.Contains(item)) { 1482if (!set1.Contains(item)) {
System.Data (43)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignTimeXamlWriter.cs (1)
245if (!this.rootLevelNamespaces.Contains(mcAlias))
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\SourceTextScanner.cs (1)
56if (charsToSearchSet.Contains(currentPair.Item1))
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (1)
394if (idRefsSeen.Contains(idRef))
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
179while (definedPrefixes.Contains(prefix));
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\XamlObjectReaderWithSequence.cs (1)
159if (!this.VisitedObjects.Contains(mappedObject) && !(mappedObject is string))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
101if (!this.changingProperties.Contains(e.PropertyName)) 469if (!this.changingProperties.Contains(propertyName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FeatureManager.cs (1)
27if (!initializedTypes.Contains(modelType))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectHelper.cs (1)
144while (shapeLocations.Contains(dropPoint))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoSplitHelper.cs (1)
99while (shapeLocations.Contains(dropLocation))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\EditingScope.cs (4)
133if (this.itemsRemoved.Contains(addedItem)) 139Fx.Assert(!this.itemsAdded.Contains(addedItem), "One ModelItem should not be added more than once."); 149if (this.itemsAdded.Contains(removedItem)) 155Fx.Assert(!itemsRemoved.Contains(removedItem), "One ModelItem should not be removed more than once.");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\GraphManager.cs (4)
82if (!reachableVertices.Contains(to)) 196if (!visited.Contains(destinationVertex)) 225if (!wasReachable && !verticesBecameReachable.Contains(destinationVertex)) 267if (!unreachableVertices.Contains(to))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
300if (visited.Contains(modelItem))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (2)
419if (computedValue == null || this.objectsOnDesinger.Contains(computedValue)) 470if (!alreadyVisitedObjects.Contains(propertyValue))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (3)
427if (!alreadyVisited.Contains(neighbor)) 547if (!alreadyVisited.Contains(neighbor)) 905if (!alreadyVisitedItems.Contains(neighbor))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelUtilities.cs (1)
115if (visited.Contains(current))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ObjectReferenceService.cs (1)
155if (this.SubscribedForSourceLocationChanges.Contains(objectReferenceId))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
657if (!namespaces.Contains(ns))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\ChangeNotificationTracker.cs (1)
147if (propertyList.Contains(e.PropertyName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\DesignerTreeAutoExpandHelper.cs (1)
84if (modelItem == null || itemSet.Contains(modelItem) || ExtensibilityAccessor.GetAttribute<HidePropertyInOutlineViewAttribute>(modelItem) != null)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (2)
204if (!ChildrenValueCache.Contains(childValue)) 504isUnique = parent.uniqueChildren.Contains(item);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\UniqueModelItemHelper.cs (5)
58if (null != source.Parent && !visited.Contains(source.Parent)) 88if (null != child.Key && !visited.Contains(child.Key)) 97if (null != child.Value && !visited.Contains(child.Value)) 113if (null != child && !visited.Contains(child)) 192if (null != parent && !visited.Contains(parent))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
1970return !variableNames.Contains(variableName.ToUpperInvariant());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
1047if (!viewElements.Contains(this))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (4)
485(unresolvedTypes.Count > 1 || !unresolvedTypes.Contains(type))) 587if (currentFrame.PastMembers.Contains(member)) 1239if (!prefixes.Contains(pair.Key) && !namespaces.Contains(pair.Value))
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
513if (transientErrors.Contains(error.Number))
System.Data.Entity (75)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (1)
610if (keyNames.Contains(aggInfo.Key))
System\Data\Common\EntitySql\CqlLexerHelpers.cs (3)
417return lookAheadChar == '(' && CqlLexer.InternalCanonicalFunctionNames.Contains(symbol); 423bool invalidIdentifier = CqlLexer.InternalInvalidAliasNames.Contains(symbol); 426invalidIdentifier |= CqlLexer.InternalInvalidInlineFunctionNames.Contains(symbol);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (4)
1022if (targetEnds.Contains(targetEndId)) 2894if (projectionAliases.Contains(aliasName)) 3493if (groupPropertyNames.Contains(groupKeyAlias)) 3531if (groupPropertyNames.Contains(alternativeFullName))
System\Data\Common\EntitySql\SemanticResolver.cs (2)
1596Debug.Assert(!_groupAggregateNames.Contains(groupAggregateName), "!_groupAggregateNames.ContainsKey(groupAggregateName)"); 1601return _groupAggregateNames.Contains(groupAggregateName);
System\Data\Common\EntitySql\TypeResolver.cs (1)
259if (_namespaces.Contains(@namespace))
System\Data\Common\Internal\Materialization\CoordinatorScratchpad.cs (1)
265preCompile = _inlineDelegates.Contains(lambda);
System\Data\Common\Internal\Materialization\Shaper.cs (1)
461if (_relatedEndCache.Contains(relatedEndKey))
System\Data\Common\Utils\Set.cs (1)
113return _values.Contains(element);
System\Data\EntityModel\SchemaObjectModel\Schema.cs (4)
356return _parseableXmlNamespaces.Contains(xmlNamespaceUri); 382return validatableXmlNamespaces.Contains(xmlNamespaceUri); 387return _validatableXmlNamespaces.Contains(xmlNamespaceUri); 1265if (!schemasAlreadyAdded.Contains(schemaResource.NamespaceUri))
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (1)
336return _namespaceLookUpTable.Contains(namespaceName);
System\Data\Mapping\Update\Internal\Graph.cs (2)
114if (m_vertices.Contains(from) && m_vertices.Contains(to))
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (2)
122if (tables.Contains(target.EntitySet)&& 123tables.Contains(source.EntitySet))
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (4)
322if (resultIJDriverChildren != null && resultIJDriverChildren.Contains(child)) 340if (resultIJDriverChildren != null && resultIJDriverChildren.Contains(n)) 375if (resultIJDriverChildren == null || !resultIJDriverChildren.Contains(nodes.Single())) 427if (resultIJDriverChildren != null && resultIJDriverChildren.Contains(extentLOJ.Children[0]))
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (1)
125if ((false == view.Attributes.Contains(conditionMember))
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (3)
498IEnumerable<LeftCellWrapper> usedCells = _context.AllWrappersForExtent.Where(w => _usedViews.Contains(w.FragmentQuery)); 746if (_usedViews.Contains(leftCellWrapper.FragmentQuery)) 1086if (!usedViews.Contains(TrueViewSurrogate.Query))
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingPass.cs (1)
56if (false == recentlyUsedViews.Contains(view))
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingProcessor.cs (1)
235if (filter.Contains(t))
System\Data\Metadata\EdmValidator.cs (1)
153if ( (item.IsReadOnly && SkipReadOnlyItems) || validatedItems.Contains(item) )
System\Data\Objects\DataClasses\EntityCollection.cs (2)
424bool doFullRemove = tm.PopulatedEntityReferences.Contains(otherEnd); 425bool doRelatedEndRemove = tm.AlignedEntityReferences.Contains(otherEnd);
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (5)
381bool doFullRemove = transManager.PopulatedEntityReferences.Contains(this); 382bool doRelatedEndRemove = transManager.AlignedEntityReferences.Contains(this); 386if ((transManager.ProcessedEntities == null || !transManager.ProcessedEntities.Contains(_wrappedCachedValue)) && 611if (visited.Contains(_wrappedCachedValue)) 772if (tm == null || tm.ProcessedEntities == null || tm.ProcessedEntities.Contains(_wrappedCachedValue))
System\Data\Objects\DataClasses\RelatedEnd.cs (1)
1753_context.ObjectStateManager.TransactionManager.ProcessedEntities.Contains(wrappedEntity))
System\Data\Objects\ELinq\Funcletizer.cs (1)
206return candidates.Contains;
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
1508if (!s_supportedIntervals.Contains(intervalValue))
System\Data\Objects\EntityEntry.cs (1)
2292if (!current.Contains(o))
System\Data\Objects\Internal\EntityProxyFactory.cs (9)
278return type != null && ProxyRuntimeAssemblies.Contains(type.Assembly); 403if (!ProxyRuntimeAssemblies.Contains(typeAssembly)) 438if (ProxyRuntimeAssemblies.Contains(assembly)) // If the assembly is not a known proxy assembly, ignore it. 857return _members.Contains(member); 872if (_members.Contains(member)) 1194return _scalarMembers.Contains(member) || _relationshipMembers.Contains(member); 1199if (_scalarMembers.Contains(member)) 1205else if (_relationshipMembers.Contains(member))
System\Data\Objects\Internal\EntityProxyTypeInfo.cs (2)
158return BaseGetter != null && _propertiesWithBaseGetter.Contains(propertyName); 163return BaseSetter != null && _propertiesWithBaseSetter.Contains(propertyName);
System\Data\Objects\ObjectStateManager.cs (3)
520Debug.Assert(validEntries.Contains(entry), "The entry in the dangling foreign key store is no longer in the ObjectStateManager. Key=" + (entry.State == EntityState.Detached ? "detached" : entry.EntityKey != null ? "null" : entry.EntityKey.ConcatKeyValue())); 601return _entriesWithConceptualNulls != null && _entriesWithConceptualNulls.Contains(entry); 3631bool hasReferenceRemove = entitiesToDelete.Contains(relatedEntity);
System\Data\Query\InternalTrees\Command.cs (2)
1815!m_referencedRelProperties.Contains(relProperty)) 1836bool ret = m_referencedRelProperties.Contains(relProperty);
System\Data\Query\InternalTrees\RelPropertyHelper.cs (1)
132!_interestingRelProperties.Contains(prop))
System\Data\Query\PlanCompiler\ITreeGenerator.cs (2)
1664if (_fakeTreats.Contains(e)) 2159if (!IsIsOfFilter(e) || _processedIsOfFilters.Contains(e))
System\Data\Query\PlanCompiler\NestPullup.cs (1)
2783if (!Object.ReferenceEquals(originalChild, n.Children[i]) || changedNodes.Contains(originalChild))
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (1)
1169if (declaredProps.Contains(p.Name))
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
216if (!m_referencedEntityContainers.Contains(entitySet.EntityContainer))
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (2)
660return m_typesNeedingNullSentinel.Contains(typeInfo.Type.EdmType.Identity); 983while (fieldNames.Contains(fieldName))
System\Data\Query\PlanCompiler\TransformationRules.cs (2)
505if (!this.m_projectionPrunningRequired && TransformationRules.RulesRequiringProjectionPruning.Contains(rule)) 509if (!this.m_reapplyNullabilityRules && TransformationRules.RulesRequiringNullabilityRulesToBeReapplied.Contains(rule))
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (1)
250if (!columnsWithValues.Contains(keyMember))
System\Data\SqlClient\SqlProviderServices.cs (1)
123(paramsToForceNonUnicode.Contains(queryParameter.Key)) )
System\Data\SqlClient\SqlProviderUtilities.cs (2)
201if (ignoredEntitySets.Contains(principalEnd.EntitySet) || ignoredEntitySets.Contains(dependentEnd.EntitySet))
System.Data.Entity.Design (6)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (2)
576if (session.TryGetTvfReturnType(functionKey, out tvfReturnType) && !session.InvalidTypes.Contains(tvfReturnType)) 617if (session.InvalidTypes.Contains(tvfReturnType))
System\Data\Entity\Design\EntityStoreSchemaGenerator\EntityStoreSchemaGenerator.LoadMethodSessionState.cs (2)
71return _tablesWithoutKeys.Contains(tableKey); 104if (!_missingEntities.Contains(key))
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (2)
231if (set.Contains(member.Identity) && 264if (set.Contains(entitySet.Identity))
System.Data.Linq (11)
SqlClient\Query\Funcletizer.cs (1)
82this.isIndependent &= this.inScope.Contains(p);
SqlClient\Query\SqlBinder.cs (2)
679&& this.alreadyIncluded != null && !this.alreadyIncluded.Contains(otherType)) { 1047if (!this.alreadyIncluded.Contains(otherType)) {
SqlClient\Query\SqlColumnizer.cs (1)
48if (this.candidates.Contains(expr)) {
SqlClient\Query\SqlLiftIndependentRowExpressions.cs (1)
59bool isLockedExpression = expressionSink.ReferencedExpressions.Contains(sc);
SqlClient\Query\SqlOuterApplyReducer.cs (6)
221if (!this.columns.Contains(cref.Column)) { 255if (this.parent.aliases.Contains(cref.Column.Alias)) { 292if (e != null && this.ignoreExpressions.Contains(e)) { 298if (this.aliasesToCheck.Contains(cref.Column.Alias)) { 440bool isLockedExpression = this.referencedColumns.Contains(sc); 498if (this.liftedExpressions == null || !this.liftedExpressions.Contains(expression)) {
System.Data.Services (10)
System\Data\Services\Providers\DataServiceProviderWrapper.cs (1)
1071if (names.Contains(name))
System\Data\Services\Providers\ObjectContextServiceProvider.cs (4)
807if (!connectedTypes.Contains(resourceType)) 2599!typesInNamespace.Contains(targetType)) 2623if (!this.edmTypes.TryGetValue(typeNamespace, out typesInNamespace) || !typesInNamespace.Contains(endType)) 2787this.edmTypes[resultType.Namespace].Contains(this.workspace.GetItem<EntityType>(resultType.FullName, DataSpace.CSpace))),
System\Data\Services\Providers\ReflectionServiceProvider.cs (2)
621if (propertiesToBeIgnored.Contains(property.Name)) 868if (assemblies.Contains(assembly))
System\Data\Services\Serializers\MetadataSerializer.cs (2)
929if (!typesInNamespace.Contains(propertyType)) 1195(this.resourceTypes.ContainsKey(resultType.Namespace) && this.resourceTypes[resultType.Namespace].Contains(resultType)),
System\Data\Services\Serializers\Serializer.cs (1)
613Debug.Assert(this.complexTypeCollection.Contains(complexTypeInstance), "this.complexTypeCollection.Contains(complexTypeInstance)");
System.Data.Services.Client (4)
System\Data\Services\Client\ALinq\Evaluator.cs (1)
143if (this.candidates.Contains(exp))
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
334if (!leftElements.Contains(rightElement))
System\Data\Services\Client\Binding\BindingEntityInfo.cs (2)
189if (knownNonEntityTypes.Contains(type)) 213if (!knownNonEntityTypes.Contains(type))
System.Data.Services.Design (4)
System\Data\Entity\Design\Common\UniqueIdentifierService.cs (2)
49while (_knownIdentifiers.Contains(adjustedIdentifier)) 56Debug.Assert(!_knownIdentifiers.Contains(adjustedIdentifier), "we just made it unique");
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (2)
387if (set.Contains(Identity(member)) && 420if (set.Contains(Identity(entitySet)))
System.Runtime.DurableInstancing (8)
System\Runtime\DurableInstancing\InstanceHandle.cs (2)
280if (IsValid && (this.boundOwnerEvents == null || !this.boundOwnerEvents.Contains(persistenceEvent.Name))) 286else if (this.pendingOwnerEvents.Contains(persistenceEvent))
System\Runtime\DurableInstancing\InstanceStore.cs (6)
341Fx.Assert(!normal.PendingHandles.Contains(handle), "Should not have already pended the handle."); 342Fx.Assert(!normal.BoundHandles.Contains(handle), "Should not be able to pend an already-bound handle."); 355Fx.Assert(normal.PendingHandles.Contains(handle), "Should have already pended the handle."); 356Fx.Assert(!normal.BoundHandles.Contains(handle), "Should not be able to add a handle to an event twice."); 397Fx.Assert(normal.BoundHandles.Contains(handle) || normal.PendingHandles.Contains(handle), "Event should still have handle registration.");
System.ServiceModel (2)
System\ServiceModel\Channels\WebSocketHelper.cs (1)
181if (InvalidSeparatorSet.Contains(ch))
System\ServiceModel\ServiceChannelManager.cs (1)
472return this.hashSet.Contains(channel);
System.ServiceModel.Activities (7)
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (4)
72if (key != null && !AssociatedKeys.Contains(key)) 198if (AssociatedKeys.Contains(key) && !this.keysToDisassociate.Contains(key)) 205Fx.Assert(!this.keysToAssociate.Contains(key), "Cannot be planning to associate this key.");
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (2)
354if (!context.AssociatedKeys.Contains(key) && this.keyMap.TryGetValue(key.Value, out conflictingContext)) 365if (context.AssociatedKeys.Contains(key))
System\ServiceModel\Activities\WorkflowService.cs (1)
334if (!property.ImplementingSendRepliesRequests.Contains(recv))
System.ServiceModel.Routing (5)
System\ServiceModel\Dispatcher\EndpointNameMessageFilter.cs (1)
84if (!endpoints.Contains(this.endpointName))
System\ServiceModel\Routing\SoapProcessingBehavior.cs (4)
191if (!addressingHeadersToFlow.Contains(header.Name)) 298(addressingHeadersToFlow.Contains(header.Name) || this.manualAddressing)) 303if (understoodHeadersSet.Contains(MessageHeaderKey(header))) 335if (!understoodHeadersSet.Contains(MessageHeaderKey(header)))
System.Web (8)
Configuration\FolderLevelBuildProviderCollection.cs (1)
112return _buildProviderTypes.Contains(t);
HttpCookieCollection.cs (1)
134if (!_keysAwaitingValidation.Contains(key)) {
HttpFileCollection.cs (1)
110if (!_filesAwaitingValidation.Contains(file)) {
HttpValueCollection.cs (1)
101if (!_keysAwaitingValidation.Contains(key)) {
ModelBinding\MutableObjectModelBinder.cs (2)
120let shouldUpdateProperty = requiredProperties.Contains(propertyName) || !skipProperties.Contains(propertyName)
Routing\RouteParser.cs (1)
308if (usedParameterNames.Contains(parameterName)) {
UI\EventValidationStore.cs (1)
46return _hashes.Contains(Hash(target, argument));
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (1)
676if (!_assemblies.Contains(assembly) && !IsSystemAssembly(assembly.FullName))
System.Web.Extensions (5)
Compilation\WCFModel\HttpBindingExtension.cs (1)
52return contract != null && httpBindingContracts.Contains(contract);
Compilation\WCFModel\MapFileLoader.cs (1)
336if (!fileNameSet.Contains(fileName))
UI\ScriptManager.cs (3)
1238(script.IsAjaxFrameworkScript(this) && SplitFrameworkScripts.Contains(script.EffectiveResourceName))); 1630if (_scriptPathsDefiningSys.Contains(path)) { 1651if (!virtualPathsInBundles.Contains(effectivePath)) {
System.Workflow.ComponentModel (4)
AuthoringOM\Compiler\CompileXomlTask.cs (2)
1002return validWarnings.Contains(warning); 1027return validWarnings.Contains(warning);
AuthoringOM\Compiler\XomlCompilerParameters.cs (2)
275if (!this.frameworkReferenceDirectories.Contains(refDir)) 294return this.frameworkReferenceDirectories.Contains(dir);
System.Workflow.Runtime (7)
System\Activities\Statements\Interop.cs (3)
1068if (validationResults.Contains(InteropValidationEnum.TransactionScope)) 1096if (nestedValidationData.Contains(InteropValidationEnum.PersistOnClose) || rootValidationData.Contains(InteropValidationEnum.PersistOnClose))
System\Activities\Statements\InteropEnvironment.cs (4)
316if (propertyNames.Contains(interopPropertyActivityType) || 317propertyNames.Contains(interopPropertyActivityProperties) || 318propertyNames.Contains(interopPropertyActivityMetaProperties)) 326if (propertyNames.Contains(propertyInfo.Name + Interop.OutArgumentSuffix))
XamlBuildTask (6)
Microsoft\Build\Tasks\Xaml\NamespaceTable.cs (2)
28if (!prefixSet.Contains(ns.Prefix)) 39if (!prefixSet.Contains(ns.Prefix))
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTaskInternal.cs (2)
587while (this.markupFileNames.Contains(markupItemName)) 715return SourceFilePaths.Contains(desiredSourceFilePath);
Microsoft\Build\Tasks\Xaml\XamlStackWriter.cs (2)
51return (setMembers == null) ? false : setMembers.Contains(member); 75if (!setMembers.Contains(member))