Implemented interface member:
method
Add
System.Collections.Generic.ISet<T>.Add(T)
517 references to Add
PresentationFramework (1)
src\Framework\System\Windows\Markup\XamlTypeMapperSchemaContext.cs (1)
369_clrNamespaces.Add(xamlNamespace);
System.Activities (34)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (5)
121namespacesSet.Add(ns); 132assembliesSet.Add(new AssemblyName(assm)); 224namespacesSet.Add(ns); 235assembliesSet.Add(new AssemblyName(assm)); 371typeReferences.Add(type);
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (5)
179this.referencedAssemblies.Add(loaded); 273helper.referencedAssemblies.Add(assemblyReference.Assembly); 277localReferenceAssemblies.Add(assemblyReference.AssemblyName); 491this.referencedAssemblies.Add(baseType.Assembly); 1457alreadyVisited.Add(type);
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicExpressionConverter.cs (2)
138mapping.ImportReferences.Add( 299mapping.ImportReferences.Add(newImportReference);
System\Activities\Activity.cs (1)
1400this.requiredExtensionTypes.Add(extensionType);
System\Activities\Debugger\DebugInfo.cs (3)
272existingNames.Add(variable.Name); 290existingNames.Add(delegateArgument.Name); 307existingNames.Add(argument.Name);
System\Activities\Debugger\DebugManager.cs (3)
172visited.Add(activity1); 254existingNames.Add(name); 256visited.Add(activity);
System\Activities\Debugger\SourceLocationProvider.cs (2)
308visited.Add(activity1); 406visited.Add(currentActivity);
System\Activities\Hosting\WorkflowInstanceExtensionManager.cs (2)
155extensionTypes.Add(this.SingletonExtensions[i].GetType()); 159extensionTypes.Add(this.ExtensionProviders[i].Key);
System\Activities\Statements\Flowchart.cs (1)
140updatedActivities.Add(node.ChildActivity);
System\Activities\Statements\StateMachine.cs (1)
390conditionalTransitionTriggers.Add(triggerActivity);
System\Activities\XamlIntegration\ActivityBuilderXamlWriter.cs (1)
340this.rootLevelPrefixes.Add(namespaceDeclaration.Prefix);
System\Activities\XamlIntegration\CompiledDataContext.cs (4)
275this.dataContextActivities.Add(activity); 283this.dataContextActivities.Add(activity); 292this.dataContextActivities.Add(activityDelegate.Handler); 308this.dataContextActivities.Add(activity);
System\Activities\XamlIntegration\SerializableFuncDeferringLoader.cs (1)
58childPrefixes.Add(reader.Namespace.Prefix);
System\Activities\XamlIntegration\TextExpressionCompiler.cs (3)
2072nsReferences.Add(nsReference); 2106nsReferences.Add(nsReference.Import); 2120nsReferences.Add(nsReference);
System.Activities.Core.Presentation (16)
System\Activities\Core\Presentation\FlowchartDesigner.Container.cs (2)
93updatedItems.Add(flowModelItem); 290workflowElementsPasted.Add(step.Action);
System\Activities\Core\Presentation\FlowchartDesigner.Helpers.cs (1)
227attachedConnectors.Add(connector);
System\Activities\Core\Presentation\FlowchartDesigner.ModelChangeReactions.cs (1)
119this.shapeLocations.Add((Point)e.NewValue);
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
1243this.shapeLocations.Add(locationPt);
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (1)
132connectorsToDelete.Add(connector);
System\Activities\Core\Presentation\StateContainerEditor.ModelChangeReactions.cs (1)
286this.shapeLocations.Add((Point)e.NewValue);
System\Activities\Core\Presentation\StateContainerEditor.Utilities.cs (2)
204attachedConnectors.Add(connector); 529existingTransitionNames.Add(((Transition)transitionModelItem.GetCurrentValue()).DisplayName);
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (7)
585this.shapeLocations.Add(locationPt); 1803incomingConnectors.Add(connector); 1808outgoingConnectors.Add(connector); 1818containedTransitions.Add(StateContainerEditor.GetConnectorModelItem(connector)); 1850nonSelfTransitions.Add(StateContainerEditor.GetConnectorModelItem(connector)); 1855nonSelfTransitions.Add(StateContainerEditor.GetConnectorModelItem(connector)); 2165existingStateNames.Add(((State)stateModelItem.GetCurrentValue()).DisplayName);
System.Activities.DurableInstancing (2)
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (2)
302promotedXNames.Add(xname); 323promotedXNames.Add(xname);
System.Activities.Presentation (60)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignTimeXamlWriter.cs (3)
66this.rootLevelNamespaces.Add(namespaceDeclaration.Prefix); 71this.namespacesToIgnore.Add(namespaceDeclaration.Prefix); 122if (this.emittedNamespacesInLocalAssembly.Add(namespaceDeclaration.Namespace))
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (1)
404idRefsSeen.Add(idRef);
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (2)
153definedPrefixes.Add(activityBuilderReader.Namespace.Prefix); 182definedPrefixes.Add(prefix);
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\XamlObjectReaderWithSequence.cs (1)
161this.VisitedObjects.Add(mappedObject);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\VisualTreeUtils.cs (2)
301deepElements.Add(violatingParent); 308deepElements.Add(violatingParent);
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (2)
91containers.Add(sourceContainer); 381parentModelItems.Add(view.ModelItem);
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
103this.changingProperties.Add(e.PropertyName); 473this.changingProperties.Add(propertyName);
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
572bool ret = checkingMap.Add(item); 806modelItemsToDrag.Add(modelItem);
System.Activities.Presentation\System\Activities\Presentation\FeatureManager.cs (1)
29initializedTypes.Add(modelType);
System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (1)
150assignsWithRValueToFix.Add(assignActivity);
System.Activities.Presentation\System\Activities\Presentation\Model\EditingScope.cs (2)
140this.itemsAdded.Add(addedItem); 156this.itemsRemoved.Add(removedItem);
System.Activities.Presentation\System\Activities\Presentation\Model\GraphManager.cs (8)
68reachableVertices.Add(this.Root); 84reachableVertices.Add(to); 182visited.Add(vertex); 198visited.Add(destinationVertex); 213verticesBecameReachable.Add(vertex); 227verticesBecameReachable.Add(destinationVertex); 255unreachableVertices.Add(vertex); 269unreachableVertices.Add(to);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
306visited.Add(modelItem);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (2)
120this.objectsOnDesinger.Add(item.GetCurrentValue()); 465alreadyVisitedObjects.Add(computedValue);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (3)
429alreadyVisited.Add(neighbor); 549alreadyVisited.Add(neighbor); 900alreadyVisitedItems.Add(currentItem);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelUtilities.cs (1)
113visited.Add(current);
System.Activities.Presentation\System\Activities\Presentation\ObjectReferenceService.cs (1)
105this.SubscribedForSourceLocationChanges.Add(result);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
312this.ignoreCommands.Add(cb);
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
659namespaces.Add(ns);
System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (2)
160namespacesToReturn.Add(import.Import); 174namespacesToReturn.Add(clrNamespace);
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\ChangeNotificationTracker.cs (1)
94propertyList.Add(propertyName);
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\DesignerTreeAutoExpandHelper.cs (1)
89itemSet.Add(modelItem);
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
206ChildrenValueCache.Add(childValue);
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\UniqueModelItemHelper.cs (9)
60visited.Add(source.Parent); 79retval.Add(expected); 90visited.Add(child.Key); 93retval.Add(child.Key); 99visited.Add(child.Value); 102retval.Add(child.Value); 115visited.Add(child); 118retval.Add(child); 194visited.Add(parent);
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
1991variableNames.Add(((string)variable.Properties["Name"].ComputedValue).ToUpperInvariant());
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (3)
932draggedViews.Add(view); 939if (!compViewSet.Add(container) && !(container is IMultipleDragEnabledCompositeView)) 1049viewElements.Add(this);
System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (5)
328unresolvedTypeArgs.Add(type); 593currentFrame.PastMembers.Add(member); 776target.ReferencedBy.Add(reference.Fragment); 1242prefixes.Add(pair.Key); 1243namespaces.Add(pair.Value);
System.Data (65)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (1)
404idRefsSeen.Add(idRef);
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
182definedPrefixes.Add(prefix);
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\XamlObjectReaderWithSequence.cs (1)
161this.VisitedObjects.Add(mappedObject);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\VisualTreeUtils.cs (2)
301deepElements.Add(violatingParent); 308deepElements.Add(violatingParent);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (2)
91containers.Add(sourceContainer); 381parentModelItems.Add(view.ModelItem);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
103this.changingProperties.Add(e.PropertyName); 473this.changingProperties.Add(propertyName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
572bool ret = checkingMap.Add(item); 806modelItemsToDrag.Add(modelItem);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FeatureManager.cs (1)
29initializedTypes.Add(modelType);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (1)
150assignsWithRValueToFix.Add(assignActivity);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\EditingScope.cs (2)
140this.itemsAdded.Add(addedItem); 156this.itemsRemoved.Add(removedItem);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\GraphManager.cs (8)
68reachableVertices.Add(this.Root); 84reachableVertices.Add(to); 182visited.Add(vertex); 198visited.Add(destinationVertex); 213verticesBecameReachable.Add(vertex); 227verticesBecameReachable.Add(destinationVertex); 255unreachableVertices.Add(vertex); 269unreachableVertices.Add(to);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
306visited.Add(modelItem);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (2)
120this.objectsOnDesinger.Add(item.GetCurrentValue()); 465alreadyVisitedObjects.Add(computedValue);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (3)
429alreadyVisited.Add(neighbor); 549alreadyVisited.Add(neighbor); 900alreadyVisitedItems.Add(currentItem);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelUtilities.cs (1)
113visited.Add(current);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ObjectReferenceService.cs (1)
105this.SubscribedForSourceLocationChanges.Add(result);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
312this.ignoreCommands.Add(cb);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
659namespaces.Add(ns);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (1)
174namespacesToReturn.Add(clrNamespace);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\ChangeNotificationTracker.cs (1)
94propertyList.Add(propertyName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\DesignerTreeAutoExpandHelper.cs (1)
89itemSet.Add(modelItem);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
206ChildrenValueCache.Add(childValue);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\UniqueModelItemHelper.cs (9)
60visited.Add(source.Parent); 79retval.Add(expected); 90visited.Add(child.Key); 93retval.Add(child.Key); 99visited.Add(child.Value); 102retval.Add(child.Value); 115visited.Add(child); 118retval.Add(child); 194visited.Add(parent);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
1991variableNames.Add(((string)variable.Properties["Name"].ComputedValue).ToUpperInvariant());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (3)
932draggedViews.Add(view); 939if (!compViewSet.Add(container) && !(container is IMultipleDragEnabledCompositeView)) 1049viewElements.Add(this);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (5)
328unresolvedTypeArgs.Add(type); 593currentFrame.PastMembers.Add(member); 776target.ReferencedBy.Add(reference.Fragment); 1242prefixes.Add(pair.Key); 1243namespaces.Add(pair.Value);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (10)
473transientErrors.Add(4060); 476transientErrors.Add(10928); 480transientErrors.Add(10929); 486transientErrors.Add(40197); 487transientErrors.Add(40020); 488transientErrors.Add(40143); 489transientErrors.Add(40166); 491transientErrors.Add(40540); 493transientErrors.Add(40501); 496transientErrors.Add(40613);
System.Data.Entity (173)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (1)
590keyNames.Add(keyInfo.Key);
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (1)
171principalSetsAndDependentTypes.Add(Tuple.Create(requiredSourceNavType, principalSetEnd, fkConstraint));
System\Data\Common\EntitySql\CqlLexerHelpers.cs (63)
922invalidAliasName.Add("all"); 923invalidAliasName.Add("and"); 924invalidAliasName.Add("apply"); 925invalidAliasName.Add("as"); 926invalidAliasName.Add("asc"); 927invalidAliasName.Add("between"); 928invalidAliasName.Add("by"); 929invalidAliasName.Add("case"); 930invalidAliasName.Add("cast"); 931invalidAliasName.Add("collate"); 932invalidAliasName.Add("createref"); 933invalidAliasName.Add("deref"); 934invalidAliasName.Add("desc"); 935invalidAliasName.Add("distinct"); 936invalidAliasName.Add("element"); 937invalidAliasName.Add("else"); 938invalidAliasName.Add("end"); 939invalidAliasName.Add("escape"); 940invalidAliasName.Add("except"); 941invalidAliasName.Add("exists"); 942invalidAliasName.Add("flatten"); 943invalidAliasName.Add("from"); 944invalidAliasName.Add("group"); 945invalidAliasName.Add("having"); 946invalidAliasName.Add("in"); 947invalidAliasName.Add("inner"); 948invalidAliasName.Add("intersect"); 949invalidAliasName.Add("is"); 950invalidAliasName.Add("join"); 951invalidAliasName.Add("like"); 952invalidAliasName.Add("multiset"); 953invalidAliasName.Add("navigate"); 954invalidAliasName.Add("not"); 955invalidAliasName.Add("null"); 956invalidAliasName.Add("of"); 957invalidAliasName.Add("oftype"); 958invalidAliasName.Add("on"); 959invalidAliasName.Add("only"); 960invalidAliasName.Add("or"); 961invalidAliasName.Add("overlaps"); 962invalidAliasName.Add("ref"); 963invalidAliasName.Add("relationship"); 964invalidAliasName.Add("select"); 965invalidAliasName.Add("set"); 966invalidAliasName.Add("then"); 967invalidAliasName.Add("treat"); 968invalidAliasName.Add("union"); 969invalidAliasName.Add("using"); 970invalidAliasName.Add("when"); 971invalidAliasName.Add("where"); 972invalidAliasName.Add("with"); 988invalidInlineFunctionNames.Add("anyelement"); 989invalidInlineFunctionNames.Add("element"); 990invalidInlineFunctionNames.Add("function"); 991invalidInlineFunctionNames.Add("grouppartition"); 992invalidInlineFunctionNames.Add("key"); 993invalidInlineFunctionNames.Add("ref"); 994invalidInlineFunctionNames.Add("row"); 995invalidInlineFunctionNames.Add("skip"); 996invalidInlineFunctionNames.Add("top"); 997invalidInlineFunctionNames.Add("value"); 1069canonicalFunctionNames.Add("left"); 1070canonicalFunctionNames.Add("right");
System\Data\Common\EntitySql\SemanticAnalyzer.cs (4)
1027targetEnds.Add(targetEndId); 2906projectionAliases.Add(aliasName); 3508groupPropertyNames.Add(groupKeyAlias); 3536groupPropertyNames.Add(alternativeFullName);
System\Data\Common\EntitySql\SemanticResolver.cs (1)
1597_groupAggregateNames.Add(groupAggregateName);
System\Data\Common\EntitySql\TypeResolver.cs (1)
264_namespaces.Add(@namespace);
System\Data\Common\Internal\Materialization\CoordinatorScratchpad.cs (1)
138_inlineDelegates.Add(expression);
System\Data\Common\Internal\Materialization\Shaper.cs (1)
474_relatedEndCache.Add(relatedEndKey);
System\Data\Common\Utils\Set.cs (1)
124_values.Add(element);
System\Data\EntityModel\SchemaObjectModel\EntityContainer.cs (1)
534bool alreadyExisted = !tableKeys.Add(tableKey);
System\Data\EntityModel\SchemaObjectModel\Schema.cs (3)
352_parseableXmlNamespaces.Add(schemaResource.NamespaceUri); 392hashSet.Add(schemaResource.NamespaceUri); 1270schemasAlreadyAdded.Add(schemaResource.NamespaceUri);
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (2)
304_namespaceLookUpTable.Add(this.PrimitiveSchema.Namespace); 310_namespaceLookUpTable.Add(schema.Namespace);
System\Data\Mapping\StorageMappingItemLoader.cs (1)
2032if (!columnsWithConditions.Add(condition.ColumnName))
System\Data\Mapping\StorageModificationFunctionMapping.cs (2)
202ends.Add(end); 218ends.Add(assocationSet.AssociationSetEnds[constraint.FromRole.Name]);
System\Data\Mapping\Update\Internal\FunctionMappingTranslator.cs (1)
157stateEntries.Add(candidateEntry);
System\Data\Mapping\Update\Internal\Graph.cs (2)
103m_vertices.Add(vertex); 122if (successors.Add(to))
System\Data\Mapping\Update\Internal\TableChangeProcessor.cs (1)
244dependents.Add(dependentResult.StateEntry);
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (2)
61tables.Add(command.Table); 62containers.Add(command.Table.EntityContainer);
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (1)
91if (!ViewSimplifier.TryMatchDiscriminatorPredicate(filterExpression, (equalsExp, discriminatorValue) => discriminatorDomain.Add(discriminatorValue)))
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (1)
57type.KeyMembers.All(member => associationkeys.Add(new Pair<EdmMember, EntityType>(member, type)) || true /* prevent early termination */);
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (1)
141newProjectedAttributes.Add(conditionMember);
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (4)
216type.Add(_generatedType); 317type.Add(_generatedType); 687attributes.Add(memberPath); 1099usedViews.Add(view);
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingProcessor.cs (1)
166views.Add(rewriting);
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingSimplifier.cs (3)
122remainingViews.Add(usedView); 182firstHalf.Add(remainingView); 187secondHalf.Add(remainingView);
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (2)
547slots.Add(new MemberProjectedSlot(SourceExtentMemberPath)); 550slots.Add(restriction.RestrictedMemberSlot);
System\Data\Metadata\DefaultAssemblyResolver.cs (4)
107assemblyList.Add(loadedAssembly); 118assemblyList.Add(assembly); 122assemblyList.Add(referenceAssembly); 141assemblyList.Add(referencedAssembly);
System\Data\Metadata\EdmValidator.cs (1)
160validatedItems.Add(item);
System\Data\Metadata\ObjectLayer\ObjectItemLoadingSessionData.cs (2)
179_loadersThatNeedLevel1PostSessionProcessing.Add(loader); 184_loadersThatNeedLevel2PostSessionProcessing.Add(loader);
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (2)
346manager.TransactionManager.PopulatedEntityReferences.Add(this); 615visited.Add(_wrappedCachedValue);
System\Data\Objects\DataClasses\RelatedEnd.cs (1)
1288attachedRelatedEnd.WrappedOwner.Context.ObjectStateManager.TransactionManager.ProcessedEntities.Add(attachedRelatedEnd.WrappedOwner);
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
665bool isNewInlineQuery = _inlineEntitySqlQueries.Add(inlineQuery);
System\Data\Objects\ELinq\Funcletizer.cs (3)
194candidates.Add(exp); 358if (!_funcletizer._linqExpressionStack.Add(exp)) 413parameters.Add((ParameterExpression)exp);
System\Data\Objects\ELinq\MethodCallTranslator.cs (6)
1475s_supportedIntervals.Add(ExpressionConverter.Year); 1476s_supportedIntervals.Add(ExpressionConverter.Month); 1477s_supportedIntervals.Add(ExpressionConverter.Day); 1478s_supportedIntervals.Add(ExpressionConverter.Hour); 1479s_supportedIntervals.Add(ExpressionConverter.Minute); 1480s_supportedIntervals.Add(ExpressionConverter.Second);
System\Data\Objects\ELinq\Translator.cs (2)
731memberNames.Add(memberName); 841memberNames.Add(memberName);
System\Data\Objects\EntityEntry.cs (8)
2224ObjectStateManager.TransactionManager.AlignedEntityReferences.Add(otherEndAsRef); 2278current.Add(o); 2285current.Add(val); 2400objectsInRelatedEnd.Add(relatedObject); 3558_cache.TransactionManager.PopulatedEntityReferences.Add(relatedEnd); 3569_cache.TransactionManager.PopulatedEntityReferences.Add(otherEnd); 3873entityKeys.Add(foreignKey); 3890relatedEnds.Add(reference);
System\Data\Objects\Internal\EntityProxyFactory.cs (5)
405ProxyRuntimeAssemblies.Add(typeAssembly); 850_members.Add(member); 1094_scalarMembers.Add(member); 1109_relationshipMembers.Add(member); 1114_relationshipMembers.Add(member);
System\Data\Objects\ObjectContext.cs (3)
728this.ObjectStateManager.TransactionManager.ProcessedEntities.Add(wrappedEntity); 1148this.ObjectStateManager.TransactionManager.ProcessedEntities.Add(wrappedEntity); 1179this.ObjectStateManager.TransactionManager.ProcessedEntities.Add(wrappedEntity);
System\Data\Objects\ObjectStateManager.cs (3)
490danglingEntries.Add(entry); 584_entriesWithConceptualNulls.Add(entry); 627_entriesWithConceptualNulls.Add(entry);
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
54mappedEntityTypes.Add(baseEntityType); // make sure the base type is represented
System\Data\Query\InternalTrees\Command.cs (1)
1817m_referencedRelProperties.Add(relProperty);
System\Data\Query\PlanCompiler\AggregatePushdown.cs (3)
202_groupAggregateVarInfos.Add(groupAggregateVarInfo); 235_groupAggregateVarInfos.Add(groupAggregateVarInfo); 775referencedGroupAggregateVarInfo.CandidateAggregateNodes.Add(new KeyValuePair<Node, Node>(n, templateNode));
System\Data\Query\PlanCompiler\ITreeGenerator.cs (2)
1869_processedIsOfFilters.Add(result); 1941_fakeTreats.Add(treatProjection);
System\Data\Query\PlanCompiler\NestPullup.cs (1)
2791changedNodes.Add(n);
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (1)
1165declaredProps.Add(p.Name);
System\Data\Query\PlanCompiler\PreProcessor.cs (7)
215m_referencedEntitySets.Add(entitySet); 218m_referencedEntityContainers.Add(entitySet.EntityContainer); 230m_referencedTypes.Add(type); 1203m_typesNeedingNullSentinel.Add(op.Type.EdmType.Identity); 1746m_freeFloatingEntityConstructorTypes.Add(entityType); 1847relPropertyHashSet.Add(relProperty); 2453typesNeedingNullSentinel.Add(typeUsage.EdmType.Identity);
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (1)
991fieldNames.Add(fieldName);
System\Data\Query\PlanCompiler\TransformationRules.cs (12)
727rulesRequiringProjectionPruning.Add(ApplyOpRules.Rule_OuterApplyOverProject); 729rulesRequiringProjectionPruning.Add(JoinOpRules.Rule_CrossJoinOverProject1); 730rulesRequiringProjectionPruning.Add(JoinOpRules.Rule_CrossJoinOverProject2); 731rulesRequiringProjectionPruning.Add(JoinOpRules.Rule_InnerJoinOverProject1); 732rulesRequiringProjectionPruning.Add(JoinOpRules.Rule_InnerJoinOverProject2); 733rulesRequiringProjectionPruning.Add(JoinOpRules.Rule_OuterJoinOverProject2); 735rulesRequiringProjectionPruning.Add(ProjectOpRules.Rule_ProjectWithNoLocalDefs); 737rulesRequiringProjectionPruning.Add(FilterOpRules.Rule_FilterOverProject); 738rulesRequiringProjectionPruning.Add(FilterOpRules.Rule_FilterWithConstantPredicate); 740rulesRequiringProjectionPruning.Add(GroupByOpRules.Rule_GroupByOverProject); 741rulesRequiringProjectionPruning.Add(GroupByOpRules.Rule_GroupByOpWithSimpleVarRedefinitions); 750rulesRequiringNullabilityRulesToBeReapplied.Add(FilterOpRules.Rule_FilterOverLeftOuterJoin);
System\Data\SqlClient\SqlProviderUtilities.cs (1)
235ignoredEntitySets.Add(entitySet);
System.Data.Entity.Design (9)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (5)
713session.InvalidTypes.Add(function); 883session.InvalidTypes.Add(type); 1261session.ReadOnlyEntities.Add(entityType); 1265session.InvalidTypes.Add(entityType); 1296session.InvalidTypes.Add(rowType);
System\Data\Entity\Design\EntityStoreSchemaGenerator\EntityStoreSchemaGenerator.LoadMethodSessionState.cs (2)
66_tablesWithoutKeys.Add(tableKey); 111_missingEntities.Add(key);
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (2)
239set.Add(member.Identity); 272set.Add(entitySet.Identity);
System.Data.Linq (19)
DataShape.cs (1)
216edgeTargets.Add(GetIncludeTarget(edge));
Mapping\AttributedMetaModel.cs (2)
136tables.Add(this.GetTableNoLocks(rowType)); 144tables.Add(this.GetTableNoLocks(rowType));
Mapping\MappedMetaModel.cs (5)
39this.modules.Add(this.contextType.Module); 105this.modules.Add(rowType.Module); 119this.modules.Add(rowType.Module); 656namesSeen.Add(name); 677namesSeen.Add(name);
SqlClient\Query\Funcletizer.cs (1)
77this.inScope.Add(p);
SqlClient\Query\SqlBinder.cs (2)
681this.alreadyIncluded.Add(otherType); 1048this.alreadyIncluded.Add(otherType);
SqlClient\Query\SqlColumnizer.cs (1)
83this.candidates.Add(expression);
SqlClient\Query\SqlGatherConsumedAliases.cs (1)
20Consumed.Add(a);
SqlClient\Query\SqlGatherProducedAliases.cs (1)
19 Produced.Add(a);
SqlClient\Query\SqlLiftIndependentRowExpressions.cs (1)
79expressionSink.ReferencedExpressions.Add(cref.Column);
SqlClient\Query\SqlNamer.cs (1)
257this.Names.Add(col.Name);
SqlClient\Query\SqlOuterApplyReducer.cs (2)
222this.columns.Add(cref.Column); 366this.liftedExpressions.Add(select.Where);
SqlClient\SqlProvider.cs (1)
654schemaCommands.Add(schemaCommand);
System.Data.Services (14)
System\Data\Services\DataService.cs (1)
2634if (!contentIds.Add(contentId))
System\Data\Services\DataServiceConfiguration.cs (1)
461this.accessEnabledResourceTypes.Add(typeName);
System\Data\Services\HttpContextServiceHost.cs (1)
479if (!namesFound.Add(name))
System\Data\Services\Providers\BasicExpandProvider.cs (2)
868this.projectedPropertyCandidates.Add(new ProjectedProperty(propertyName, property)); 871this.projectedOpenPropertyNames.Add(propertyName);
System\Data\Services\Providers\DataServiceProviderWrapper.cs (1)
1076names.Add(name);
System\Data\Services\Providers\ObjectContextServiceProvider.cs (4)
257containers.Add(set.Value); 792connectedTypes.Add(property.ResourceType); 2035shouldUseBasicExpandProvider |= !resourceSets.Add(childExpandedNode.ResourceSetWrapper.ResourceSet); 2720typesInSameNamespace.Add(edmType);
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
898assemblies.Add(assembly);
System\Data\Services\Providers\ServiceOperation.cs (1)
108if (!paramNames.Add(p.Name))
System\Data\Services\Serializers\MetadataSerializer.cs (1)
968return typesInSameNamespace.Add(resourceType);
System\Data\Services\Serializers\Serializer.cs (1)
331return this.complexTypeCollection.Add(complexTypeInstance);
System.Data.Services.Client (4)
System\Data\Services\Client\ALinq\Evaluator.cs (1)
246this.candidates.Add(expression);
System\Data\Services\Client\ALinq\InputBinder.cs (1)
239this.referencedInputs.Add(resource);
System\Data\Services\Client\Binding\BindingEntityInfo.cs (1)
215knownNonEntityTypes.Add(type);
System\Data\Services\Client\XmlUtil.cs (1)
255bool alreadyPresent = names.Add(localName) == false;
System.Data.Services.Design (7)
System\Data\Entity\Design\Common\UniqueIdentifierService.cs (1)
57_knownIdentifiers.Add(adjustedIdentifier);
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (3)
395set.Add(Identity(member)); 427set.Add(Identity(entitySet)); 855entitySets.Add(es);
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (3)
57used.Add("Edm"); 70used.Add(namespaceName); 99if (used.Add(namespaceName))
System.Runtime.DurableInstancing (4)
System\Runtime\DurableInstancing\InstanceHandle.cs (2)
290this.pendingOwnerEvents.Add(persistenceEvent); 544if (!this.boundOwnerEvents.Add(persistenceEvent.Name))
System\Runtime\DurableInstancing\InstanceStore.cs (2)
343normal.PendingHandles.Add(handle); 357normal.BoundHandles.Add(handle);
System.ServiceModel (1)
System\ServiceModel\ServiceChannelManager.cs (1)
449if (this.hashSet.Add(channel))
System.ServiceModel.Activities (8)
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (2)
74AssociatedKeys.Add(key); 200this.keysToDisassociate.Add(key);
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (3)
383context.AssociatedKeys.Add(key); 384keysToAssociate.Add(key); 647this.pipelinesInUse.Add(pipeline);
System\ServiceModel\Activities\WorkflowService.cs (3)
691this.receiveAndReplyPairs.Add(tuple); 1073property.ImplementingReceives.Add(receiveActivity); 1261property.ImplementingSendRepliesRequests.Add(sendReplyActivity.Request);
System.ServiceModel.Routing (6)
System\ServiceModel\Routing\RoutingBehavior.cs (1)
70endpoints.Add(endpoint.Name);
System\ServiceModel\Routing\SoapProcessingBehavior.cs (5)
170headersToFlow.Add("Action"); 171headersToFlow.Add("MessageID"); 172headersToFlow.Add("RelatesTo"); 173headersToFlow.Add("To"); 277toReturn.Add(MessageHeaderKey(header));
System.Web (9)
Compilation\BuildManager.cs (1)
280s_dynamicallyAddedReferencedAssembly.Add(assembly);
Configuration\FolderLevelBuildProviderCollection.cs (1)
93_buildProviderTypes.Add(buildProviderType);
HttpFileCollection.cs (1)
99_filesAwaitingValidation.Add((HttpPostedFile)BaseGet(i));
ModelBinding\MutableObjectModelBinder.cs (2)
145requiredProperties.Add(propertyDescriptor.Name); 149skipProperties.Add(propertyDescriptor.Name);
Routing\RouteParser.cs (1)
318usedParameterNames.Add(parameterName);
UI\EventValidationStore.cs (2)
35_hashes.Add(Hash(target, argument)); 91store._hashes.Add(entry);
WebSockets\AspNetWebSocketManager.cs (1)
60_activeSockets.Add(webSocket);
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceUtil.cs (2)
928if (!usedNames.Add(column.DisplayName)) 949interestingMembers.Add(keyMember);
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (1)
678_assemblies.Add(assembly);
System.Web.Extensions (19)
Compilation\WCFModel\HttpBindingExtension.cs (1)
70httpBindingContracts.Add(context.ContractConversionContext.Contract);
Compilation\WCFModel\MapFileLoader.cs (1)
338fileNameSet.Add(fileName);
UI\ScriptManager.cs (17)
778scripts.Add("MicrosoftAjaxComponentModel.js"); 779scripts.Add("MicrosoftAjaxComponentModel.debug.js"); 780scripts.Add("MicrosoftAjaxCore.js"); 781scripts.Add("MicrosoftAjaxCore.debug.js"); 782scripts.Add("MicrosoftAjaxGlobalization.js"); 783scripts.Add("MicrosoftAjaxGlobalization.debug.js"); 784scripts.Add("MicrosoftAjaxHistory.js"); 785scripts.Add("MicrosoftAjaxHistory.debug.js"); 786scripts.Add("MicrosoftAjaxNetwork.js"); 787scripts.Add("MicrosoftAjaxNetwork.debug.js"); 788scripts.Add("MicrosoftAjaxSerialization.js"); 789scripts.Add("MicrosoftAjaxSerialization.debug.js"); 790scripts.Add("MicrosoftAjaxWebServices.js"); 791scripts.Add("MicrosoftAjaxWebServices.debug.js"); 1045_scriptPathsDefiningSys.Add(atlasCore.EffectivePath); 1067_scriptPathsDefiningSys.Add(scriptReference.EffectivePath); 1629virtualPathsInBundles.Add(path);
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\XomlCompilerParameters.cs (1)
277this.frameworkReferenceDirectories.Add(refDir);
System.Workflow.Runtime (57)
System\Activities\Statements\Interop.cs (56)
217this.extraDynamicArguments.Add(name); 1214validationResults.Add(InteropValidationEnum.PersistOnClose); 1220validationResults.Add(InteropValidationEnum.TransactionScope); 1224validationResults.Add(InteropValidationEnum.Code); 1228validationResults.Add(InteropValidationEnum.Delay); 1232validationResults.Add(InteropValidationEnum.InvokeWebService); 1236validationResults.Add(InteropValidationEnum.InvokeWorkflow); 1240validationResults.Add(InteropValidationEnum.Policy); 1244validationResults.Add(InteropValidationEnum.Send); 1248validationResults.Add(InteropValidationEnum.SetState); 1252validationResults.Add(InteropValidationEnum.WebServiceFault); 1256validationResults.Add(InteropValidationEnum.WebServiceInput); 1260validationResults.Add(InteropValidationEnum.WebServiceOutput); 1264validationResults.Add(InteropValidationEnum.Compensate); 1268validationResults.Add(InteropValidationEnum.Suspend); 1272validationResults.Add(InteropValidationEnum.Terminate); 1276validationResults.Add(InteropValidationEnum.Throw); 1280validationResults.Add(InteropValidationEnum.ConditionedActivityGroup); 1284validationResults.Add(InteropValidationEnum.EventHandlers); 1288validationResults.Add(InteropValidationEnum.EventHandlingScope); 1292validationResults.Add(InteropValidationEnum.IfElse); 1296validationResults.Add(InteropValidationEnum.Listen); 1300validationResults.Add(InteropValidationEnum.Parallel); 1304validationResults.Add(InteropValidationEnum.Replicator); 1308validationResults.Add(InteropValidationEnum.Sequence); 1312validationResults.Add(InteropValidationEnum.CompensatableSequence); 1316validationResults.Add(InteropValidationEnum.EventDriven); 1320validationResults.Add(InteropValidationEnum.IfElseBranch); 1324validationResults.Add(InteropValidationEnum.Receive); 1328validationResults.Add(InteropValidationEnum.SequentialWorkflow); 1332validationResults.Add(InteropValidationEnum.StateFinalization); 1336validationResults.Add(InteropValidationEnum.StateInitialization); 1340validationResults.Add(InteropValidationEnum.State); 1344validationResults.Add(InteropValidationEnum.StateMachineWorkflow); 1348validationResults.Add(InteropValidationEnum.While); 1352validationResults.Add(InteropValidationEnum.CancellationHandler); 1356validationResults.Add(InteropValidationEnum.CompensatableTransactionScope); 1360validationResults.Add(InteropValidationEnum.CompensationHandler); 1364validationResults.Add(InteropValidationEnum.FaultHandler); 1368validationResults.Add(InteropValidationEnum.FaultHandlers); 1372validationResults.Add(InteropValidationEnum.SynchronizationScope); 1376validationResults.Add(InteropValidationEnum.ICompensatable); 1395validationResults.Add(InteropValidationEnum.TransactionScope); 1399validationResults.Add(InteropValidationEnum.InvokeWorkflow); 1404validationResults.Add(InteropValidationEnum.Send); 1408validationResults.Add(InteropValidationEnum.WebServiceFault); 1412validationResults.Add(InteropValidationEnum.WebServiceInput); 1416validationResults.Add(InteropValidationEnum.WebServiceOutput); 1420validationResults.Add(InteropValidationEnum.Compensate); 1424validationResults.Add(InteropValidationEnum.Suspend); 1428validationResults.Add(InteropValidationEnum.CompensatableSequence); 1433validationResults.Add(InteropValidationEnum.Receive); 1437validationResults.Add(InteropValidationEnum.CompensatableTransactionScope); 1441validationResults.Add(InteropValidationEnum.CompensationHandler); 1445validationResults.Add(InteropValidationEnum.ICompensatable); 1451validationResults.Add(InteropValidationEnum.PersistOnClose);
System\Activities\Statements\InteropEnvironment.cs (1)
313propertyNames.Add(propertyInfo.Name);
XamlBuildTask (5)
Microsoft\Build\Tasks\Xaml\NamespaceTable.cs (2)
30prefixSet.Add(ns.Prefix); 41prefixSet.Add(ns.Prefix);
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTaskInternal.cs (2)
226sourceFilePaths.Add(sourceCodeFile); 591this.markupFileNames.Add(markupItemName);
Microsoft\Build\Tasks\Xaml\XamlStackWriter.cs (1)
77setMembers.Add(member);