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