Implemented interface member:
method
Add
System.Collections.Generic.ICollection<T>.Add(T)
1894 references to Add
mscorlib (4)
system\appdomain.cs (1)
1183args.ResolvedAssemblies.Add(Assembly.ReflectionOnlyLoadFrom(fileName));
system\collections\objectmodel\collection.cs (1)
276Add((T)value);
system\security\principal\genericprincipal.cs (2)
80firstNonNullIdentity.ExternalClaims.Add(new RoleClaimProvider(ClaimsIdentity.DefaultIssuer, m_roles, firstNonNullIdentity).Claims); 108claimsIdentity.ExternalClaims.Add(new RoleClaimProvider(ClaimsIdentity.DefaultIssuer, roles, claimsIdentity).Claims);
PresentationCore (15)
Core\CSharp\System\Windows\Ink\IncrementalHitTester.cs (2)
447strokesHit.Add(strokeInfo.Stroke); 457strokesUnhit.Add(strokeInfo.Stroke);
Core\CSharp\System\Windows\Ink\Stroke.cs (4)
765leftovers.Add(this.Clone()); //clip and erase always return clones 796leftovers.Add(stroke); 860leftovers.Add(stroke); 870leftovers.Add(stroke);
Core\CSharp\System\Windows\Ink\Stroke2.cs (1)
671strokes.Add(this.Clone()); //clip and erase always return clones for this condition
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (2)
285clone.Add(s.Clone()); 495strokesToReplace.Add(strokeToReplace);
Core\CSharp\System\Windows\Ink\StrokeCollection2.cs (5)
120lassoedStrokes.Add(stroke); 139lassoedStrokes.Add(stroke); 192hits.Add(stroke); 241hits.Add(stroke); 491hits.Add(stroke);
Core\CSharp\System\Windows\Input\TouchDevice.cs (1)
1249points.Add(device.GetTouchPoint(relativeTo));
PresentationFramework (125)
src\Framework\MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (1)
185locator.Parts.Add(newLocatorPart);
src\Framework\MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (1)
152locator.Parts.Add(locatorPart);
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
820ContentLocatorGroup.Locators.Add(locator);
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (6)
509cargo.Contents.Add(root); 773cargo.Contents.Add(root); 778_annotation.Cargos.Add(cargo); 878cargo.Contents.Add(root); 882sncAnnotation._annotation.Cargos.Add(cargo); 1338attachedAnnotation.Annotation.Cargos.Add(cargo);
src\Framework\MS\Internal\Data\CollectionViewGroupInternal.cs (1)
182ProtectedItems.Add(item);
src\Framework\MS\Internal\Data\EnumerableCollectionView.cs (2)
414_snapshot.Add(args.NewItems[i]); 546_snapshot.Add(ie.Current);
src\Framework\MS\Internal\Data\LiveShapingList.cs (1)
203groupingProperties.Add(pgd.PropertyName);
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
1575documentPageViews.Add(((DocumentGridPage)visiblePages[i]).DocumentPageView);
src\Framework\MS\Internal\Ink\ClipboardProcessor.cs (1)
138orderedStrokes.Add(strokes[j]);
src\Framework\MS\Internal\Ink\EraserBehavior.cs (1)
415strokesToReplace.Add(e.HitStroke);
src\Framework\MS\Internal\Ink\LassoSelectionBehavior.cs (1)
286selectedStrokes.Add(tappedStroke);
src\Framework\System\Windows\Annotations\Annotation.cs (3)
327_anchors.Add(anchor); 342_cargos.Add(cargo); 364_authors.Add(node.InnerText);
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (6)
755locator.Parts.Add(FixedPageProcessor.CreateLocatorPart(pageNumber)); 918annotation.Authors.Add(author); 1052cargo.Contents.Add(colorsElement); 1054annotation.Cargos.Add(cargo); 1088anchor.ContentLocators.Add(locator); 1092annot.Anchors.Add(anchor);
src\Framework\System\Windows\Annotations\AnnotationResource.cs (3)
206InternalLocators.Add(locator); 211InternalLocators.Add(locator); 216InternalContents.Add(element);
src\Framework\System\Windows\Annotations\AnnotationService.cs (1)
1707_views.Add(view);
src\Framework\System\Windows\Annotations\LocatorGroup.cs (3)
87clone.Locators.Add((ContentLocator)loc.Clone()); 162_locators.Add(locator); 265this.Locators.Add(list);
src\Framework\System\Windows\Annotations\LocatorPartList.cs (7)
145clone.Parts.Add(newPart); 322_parts.Add(part); 403loc.Parts.Add(additionalLocatorParts[i]); 407this.Parts.Add(additionalLocatorParts[0]); 447newGroup.Locators.Add(clone); 456newGroup.Locators.Add(this); 483this.Parts.Add((ContentLocatorPart)part.Clone());
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
765this.OwningCalendar.SelectedDates.Add(Date);
src\Framework\System\Windows\Controls\AccessText.cs (2)
561trigger.Setters.Add(new Setter(TextDecorationsProperty, System.Windows.TextDecorations.Underline)); 562accessKeyStyle.Triggers.Add(trigger);
src\Framework\System\Windows\Controls\Calendar.cs (2)
565c.SelectedDates.Add(addedDate.Value); 1640this.SelectedDates.Add(lastSelectedDate.Value);
src\Framework\System\Windows\Controls\CalendarBlackoutDatesCollection.cs (1)
44this.Add(new CalendarDateRange(DateTime.MinValue, DateTime.Today.AddDays(-1)));
src\Framework\System\Windows\Controls\DataGrid.cs (5)
958_defaultBindingGroup.ValidationRules.Add(rule); 979_defaultBindingGroup.ValidationRules.Add(rule); 7243Items.SortDescriptions.Add(sortDescription); 7906dataGrid.Columns.Add(eventArgs.Column); 7911columnCollection.Add(dataGridColumn);
src\Framework\System\Windows\Controls\DataGridCheckBoxColumn.cs (6)
41style.Setters.Add(new Setter(UIElement.IsHitTestVisibleProperty, false)); 42style.Setters.Add(new Setter(UIElement.FocusableProperty, false)); 43style.Setters.Add(new Setter(CheckBox.HorizontalAlignmentProperty, HorizontalAlignment.Center)); 44style.Setters.Add(new Setter(CheckBox.VerticalAlignmentProperty, VerticalAlignment.Top)); 66style.Setters.Add(new Setter(CheckBox.HorizontalAlignmentProperty, HorizontalAlignment.Center)); 67style.Setters.Add(new Setter(CheckBox.VerticalAlignmentProperty, VerticalAlignment.Top));
src\Framework\System\Windows\Controls\DataGridComboBoxColumn.cs (1)
232style.Setters.Add(new Setter(ComboBox.IsSynchronizedWithCurrentItemProperty, false));
src\Framework\System\Windows\Controls\DataGridTextColumn.cs (3)
43style.Setters.Add(new Setter(TextBlock.MarginProperty, new Thickness(2.0, 0.0, 2.0, 0.0))); 65style.Setters.Add(new Setter(TextBox.BorderThicknessProperty, new Thickness(0.0))); 66style.Setters.Add(new Setter(TextBox.PaddingProperty, new Thickness(0.0)));
src\Framework\System\Windows\Controls\DatePicker.cs (2)
462addedItems.Add(addedDate.Value); 467removedItems.Add(removedDate.Value);
src\Framework\System\Windows\Controls\GridView.cs (1)
62Columns.Add(c);
src\Framework\System\Windows\Controls\Image.cs (1)
424style.Setters.Add (new Setter(FlowDirectionProperty, FlowDirection.LeftToRight));
src\Framework\System\Windows\Controls\InkCanvas.cs (13)
120defaultStyle.Setters.Add(new Setter(InkCanvas.BackgroundProperty, 123defaultStyle.Setters.Add(new Setter(Stylus.IsFlicksEnabledProperty, false)); 125defaultStyle.Setters.Add(new Setter(Stylus.IsTapFeedbackEnabledProperty, false)); 127defaultStyle.Setters.Add(new Setter(Stylus.IsTouchFeedbackEnabledProperty, false)); 136trigger.Setters.Add(setter); 137defaultStyle.Triggers.Add(trigger); 146trigger.Setters.Add(setter); 147defaultStyle.Triggers.Add(trigger); 1095strokes.Add(e.Stroke); 1148this.Strokes.Add(e.Stroke); 1157this.Strokes.Add(e.Stroke); 2381_dynamicallySelectedStrokes.Add(s); 2578validStrokes.Add(stroke);
src\Framework\System\Windows\Controls\MediaElement.cs (1)
115style.Setters.Add (new Setter(FlowDirectionProperty, FlowDirection.LeftToRight));
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (1)
788this.Owner.SelectedDates.Add(selectedDate);
src\Framework\System\Windows\Controls\SelectedDatesCollection.cs (9)
122this.Add(current); 187addedItems.Add(item); 200this._addedItems.Add(item); 232removedItems.Add(this[index]); 284removedItems.Add(this[index]); 288addedItems.Add(item); 331this.Add(current); 358_removedItems.Add(item); 407Add(date);
src\Framework\System\Windows\Controls\StickyNote.cs (2)
1505inkCanvasEditingMode.Bindings.Add(stickyNoteInkEditingMode); 1511inkCanvasEditingMode.Bindings.Add(stickyNoteIsKeyboardFocusWithin);
src\Framework\System\Windows\Controls\ToolBarTray.cs (1)
294ToolBars.Add(toolBar);
src\Framework\System\Windows\Controls\Validation.cs (2)
519validationErrors.Add(validationError); 525validationErrors.Add(validationError);
src\Framework\System\Windows\Data\BindingExpression.cs (1)
2173values.Add(new ProposedValue(this, rawValue, convertedValue));
src\Framework\System\Windows\Data\BindingExpressionBase.cs (3)
1821bg.BindingExpressions.Add(root); 2461tempList.Add(commonSources[i]); 2489tempList.Add(candidate);
src\Framework\System\Windows\Data\BindingGroup.cs (7)
873_itemsRW.Add(newItems[i]); 983oldErrors.Add(error); 1452binding.ValidationRules.Add(rules[j]); 1634_table.Add(new GetValueTableEntry(bindingExpressionBase)); 1646_table.Add(new GetValueTableEntry(bindingExpression)); 1829_table.Add(new ProposedValueEntry(item, propertyName, rawValue, convertedValue, bindExpr)); 1981_dependents.Add(dependent);
src\Framework\System\Windows\Data\CollectionViewSource.cs (5)
1000view.SortDescriptions.Add(SortDescriptions[i]); 1030view.GroupDescriptions.Add(GroupDescriptions[i]); 1052properties.Add(s); 1071properties.Add(s); 1090properties.Add(s);
src\Framework\System\Windows\Data\MultiBinding.cs (2)
64Bindings.Add(binding); 410clone._bindingCollection.Add(_bindingCollection[i].Clone(mode));
src\Framework\System\Windows\Data\MultiBindingExpression.cs (2)
935values.Add(childValues[k]); 1015MutableBindingExpressions.Add(bindExpr);
src\Framework\System\Windows\Data\PriorityBinding.cs (2)
59Bindings.Add(binding); 126clone._bindingCollection.Add(_bindingCollection[i].Clone(mode));
src\Framework\System\Windows\Data\PriorityBindingExpression.cs (1)
528MutableBindingExpressions.Add(bindExpr);
src\Framework\System\Windows\DataTrigger.cs (1)
125Setters.Add(Trigger.CheckChildIsSetter(value));
src\Framework\System\Windows\MultiDataTrigger.cs (1)
75Setters.Add(Trigger.CheckChildIsSetter(value));
src\Framework\System\Windows\MultiTrigger.cs (1)
65Setters.Add(Trigger.CheckChildIsSetter(value));
src\Framework\System\Windows\PropertyPath.cs (2)
421parameters.Add(_earlyBoundPathParts[i]); 446parameters.Add(info.value);
src\Framework\System\Windows\Style.cs (1)
426Setters.Add(sb);
src\Framework\System\Windows\Trigger.cs (1)
157Setters.Add(Trigger.CheckChildIsSetter(value));
src\Framework\System\Windows\VisualStateGroup.cs (1)
126CurrentStoryboards.Add(newStoryboards[index]);
System (24)
compmod\system\componentmodel\BindingList.cs (1)
350Add((T) newItem);
net\System\Net\mail\MailAddressCollection.cs (1)
51this.Add(result[i]);
net\System\Net\mail\MailMessage.cs (10)
313part.Parts.Add(bodyView.MimePart); 319part.Parts.Add(attachment.MimePart); 334viewsPart.Parts.Add(bodyView.MimePart); 347wholeView.Parts.Add(view.MimePart); 354wholeView.Parts.Add(resource.MimePart); 356viewsPart.Parts.Add(wholeView); 360viewsPart.Parts.Add(view.MimePart); 368part.Parts.Add(viewsPart); 377attachmentsPart.Parts.Add(attachment.MimePart); 380part.Parts.Add(attachmentsPart);
net\System\Net\mail\Message.cs (1)
60this.To.Add(to);
net\System\Net\mail\SmtpClient.cs (6)
464recipients.Add(address); 469recipients.Add(address); 474recipients.Add(address); 599recipients.Add(address); 604recipients.Add(address); 609recipients.Add(address);
net\System\Net\NetworkInformation\GatewayIPAddressInformationCollection.cs (1)
47addresses.Add(address);
net\System\Net\NetworkInformation\IPAddressCollection.cs (1)
37addresses.Add(address);
net\System\Net\NetworkInformation\IPAddressInformationCollection.cs (1)
40addresses.Add(address);
net\System\Net\NetworkInformation\MulticastIPAddressInformationCollection.cs (1)
40addresses.Add(address);
net\System\Net\NetworkInformation\UnicastIPAddressInformationCollection.cs (1)
40addresses.Add(address);
System.Activities (71)
System\Activities\Activity.cs (1)
1665list.Add(data);
System\Activities\ActivityBuilder.cs (1)
216Add(value);
System\Activities\ActivityUtilities.cs (1)
1138collection.Add(data);
System\Activities\DynamicUpdate\ActivityBlockingUpdate.cs (2)
147blockingActivities.Add(blockingActivity); 158blockingActivities.Add(blockingActivity);
System\Activities\DynamicUpdate\DynamicUpdateServices.cs (3)
227result.Properties.Add(property); 231result.Attributes.Add(attrib); 235result.Constraints.Add(constraint);
System\Activities\Expressions\ExpressionServices.cs (1)
1297invokeMethod.GenericTypeArguments.Add(type);
System\Activities\Expressions\InvokeMethod.cs (2)
116arguments.Add(targetObjectArgument); 120arguments.Add(this.resultArgument);
System\Activities\Expressions\MethodCallExpressionHelper.cs (14)
34assignVariablesExpressions.Add(Expression.Assign(variable, 41assignVariablesExpressions.Add(Expression.Assign(variable, 48assignVariablesBackExpressions.Add(Expression.Assign(Expression.ArrayAccess(objectArray, Expression.Constant(i)), 53assignVariablesBackExpressions.Add(Expression.Assign(Expression.ArrayAccess(objectArray, Expression.Constant(i)), 57variables.Add(variable); 109expressions.Add(expression); 113variables.Add(result); 126expressions.Add(resultAssign); 130expressions.Add(callExpression); 134expressions.Add(expression); 139expressions.Add(result); 161variables.Add(tempInstance); 162assignVariablesExpressions.Add(assignTempInstanceExpression); 163assignVariablesBackExpressions.Add(Expression.Assign(targetInstance, Expression.Convert(tempInstance, typeof(object))));
System\Activities\Statements\AddToCollection.cs (2)
42arguments.Add(collectionArgument); 46arguments.Add(itemArgument);
System\Activities\Statements\Assign.cs (4)
59arguments.Add(valueArgument); 60arguments.Add(toArgument); 115arguments.Add(valueArgument); 116arguments.Add(toArgument);
System\Activities\Statements\CompensableActivity.cs (2)
183implementationChildren.Add(workflowCompensationBehavior); 190implementationChildren.Add(CompensationParticipant);
System\Activities\Statements\CompensationParticipant.cs (5)
91children.Add(CompensationHandler); 96children.Add(ConfirmationHandler); 101children.Add(CancellationHandler); 108implementationChildren.Add(DefaultCompensation); 111implementationChildren.Add(DefaultConfirmation);
System\Activities\Statements\Flowchart.cs (1)
237this.reachableNodes.Add(node);
System\Activities\Statements\InternalState.cs (2)
413internalTransition.TransitionDataList.Add(transitionData); 831this.internalTransitions.Add(internalTransition);
System\Activities\Statements\InvokeDelegate.cs (1)
64arguments.Add(argument);
System\Activities\Statements\InvokeMethod.cs (2)
125arguments.Add(targetObjectArgument); 136arguments.Add(resultArgument);
System\Activities\Statements\MethodResolver.cs (1)
459methods.Add(instantiatedMethod);
System\Activities\Statements\NoPersistScope.cs (5)
31this.Constraints.Add(NoPersistScope.Constraint); 140runtimeArguments.Add(noPersistScopeArgument); 144runtimeArguments.Add(descendantActivitiesArgument); 148runtimeArguments.Add(constraintViolationMessageArgument); 152runtimeArguments.Add(resultArgument);
System\Activities\Statements\Parallel.cs (2)
118children.Add(branch); 123children.Add(this.CompletionCondition);
System\Activities\Statements\Pick.cs (1)
111this.branchBodies.Add(pickBranchBody);
System\Activities\Statements\Rethrow.cs (1)
18base.Constraints.Add(new Constraint<Rethrow>
System\Activities\Statements\StateMachine.cs (2)
445this.internalStates.Add(internalState); 462this.internalStateFuncs.Add(activityFunc);
System\Activities\Statements\StateMachineEventManager.cs (1)
117this.activeBookmarks.Add(bookmark);
System\Activities\Statements\Switch.cs (2)
101children.Add(child); 106children.Add(Default);
System\Activities\Statements\TerminateWorkflow.cs (2)
32arguments.Add(reasonArgument); 33arguments.Add(exceptionArgument);
System\Activities\Statements\TransactionScope.cs (2)
47base.Constraints.Add(ProcessParentChainConstraints()); 48base.Constraints.Add(ProcessChildSubtreeConstraints());
System\Activities\Statements\TryCatch.cs (1)
139delegates.Add(catchDelegate);
System\Activities\Validation\AddValidationError.cs (3)
42arguments.Add(messageArgument); 46arguments.Add(isWarningArgument); 50arguments.Add(propertyNameArgument);
System\Activities\Validation\AssertValidation.cs (4)
51arguments.Add(assertionArgument); 55arguments.Add(messageArgument); 59arguments.Add(isWarningArgument); 63arguments.Add(propertyNameArgument);
System.Activities.Core.Presentation (19)
System\Activities\Core\Presentation\CaseKeyBox.ViewModel.cs (1)
206this.ComboBoxItems.Add(Empty);
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (2)
886bindings.Bindings.Add(sizeBinding); 887bindings.Bindings.Add(locationBinding);
System\Activities\Core\Presentation\FlowSwitchLink.cs (1)
408result.Bindings.Add(new Binding { Source = this, Mode = BindingMode.OneWay, Path = new PropertyPath(this.DefaultCaseDisplayNameProperty) });
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (2)
1044bindings.Bindings.Add(sizeBinding); 1045bindings.Bindings.Add(locationBinding);
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (4)
148this.TransitionsSharingTrigger.Add(new ExpandableItemWrapper() 157this.TransitionsSharingTrigger.Add(wrapper); 185this.TransitionsSharingTrigger.Add(new ExpandableItemWrapper() 195this.TransitionsSharingTrigger.Add(wrapper);
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (3)
415wrappers.Add(new DynamicArgumentWrapperObject(item.Properties["Key"].ComputedValue as string, item.Properties["Value"].Value)); 424wrappers.Add(new DynamicArgumentWrapperObject(null, item)); 650this.DynamicArguments.Add(wrapper);
System\Activities\Presentation\TypeCollectionDesigner.xaml.cs (1)
146this.wrapperCollection.Add(newEntry);
System\ServiceModel\Activities\Presentation\CorrelationDataDesigner.xaml.cs (1)
105this.CorrelationInitializeData.Add(wrapper);
System\ServiceModel\Activities\Presentation\CorrelationInitializerDesigner.xaml.cs (1)
121source.Add(wrapper);
System\ServiceModel\Activities\Presentation\InitializeCorrelationDesigner.xaml.cs (1)
107wrapperCollection.Add(new CorrelationDataWrapper((string)entry.Properties["Key"].ComputedValue, entry.Properties["Value"].Value));
System\ServiceModel\Activities\Presentation\MessageQuerySetDesigner.xaml.cs (1)
152this.dataSource.Add(wrapper);
System\ServiceModel\Activities\Presentation\ServiceContractImporter.cs (1)
168receive.CorrelationInitializers.Add(new RequestReplyCorrelationInitializer { CorrelationHandle = new InArgument<CorrelationHandle>(handle) });
System.Activities.Presentation (74)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ActivityBuilderExtensions.cs (2)
33bodyPlaceholder.Attributes.Add(attribute); 39bodyPlaceholder.Properties.Add(property);
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (1)
136this.Arguments.Add(this.ActivityDelegate.Properties[argument.Name].Value);
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegateUtilities.cs (1)
43metadata.Add(argument);
System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (1)
104this.ActivityDelegates.Add(entry);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\SubPropertyEditor.cs (3)
470_quickTypeCollection.Add(factoryModel); 497_quickTypeCollection.Add(defaultItemFactoryTypeModel); 512_quickTypeCollection.Add(nullTypeFactoryTypeModel);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ObservableCollection.cs (1)
34this.Add(item);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (2)
495this.advancedCategoryEditors.Add(editor); 500this.basicCategoryEditors.Add(editor);
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
743binding.Bindings.Add(new Binding()); 744binding.Bindings.Add(new Binding() { Path = new PropertyPath("Tag.Timestamp"), Mode = BindingMode.OneWay, RelativeSource = RelativeSource.Self });
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (2)
299this.parents.Add(dataModelItem); 322this.sources.Add(property);
System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (2)
121assemblies.Add(assembly); 137assemblies.Add(assembly);
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategory.cs (1)
62this.tools.Add(tool);
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategoryItems.cs (1)
53this.categories.Add(item);
System.Activities.Presentation\System\Activities\Presentation\Toolbox\TreeViewContainerStyleSelector.cs (9)
52visibilityBinding.Bindings.Add(searchTextBinding); 53visibilityBinding.Bindings.Add(toolItemBinding); 60this.styleForToolboxItem.Setters.Add(visibilitySetter); 72this.styleForToolboxItem.Setters.Add(automationIdSetter); 81enableTrigger.Setters.Add(enableSetter); 87this.styleForToolboxItem.Setters.Add(mouseMoveSetter); 92this.styleForToolboxItem.Setters.Add(mouseDoubleClickSetter); 95this.styleForToolboxItem.Triggers.Add(enableTrigger); 117this.styleForCategoryItem.Setters.Add(automationIdSetter);
System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeResolver.xaml.cs (1)
186this.GenericTypeMapping.Add(tkv);
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (3)
138this.argumentWrapperCollection.Add(wrapper); 181this.argumentWrapperCollection.Add(new DesignTimeArgument(argument, this)); 369this.argumentWrapperCollection.Add(wrapper);
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (11)
177this.dataGrid.Items.SortDescriptions.Add(new SortDescription(e.Column.SortMemberPath, direction)); 181this.dataGrid.Items.SortDescriptions.Add(new SortDescription(this.dataGrid.Columns[0].SortMemberPath, ListSortDirection.Ascending)); 827style.Setters.Add(new EventSetter(DataGridCell.PreviewMouseLeftButtonDownEvent, new MouseButtonEventHandler(this.OnPreviewCellMouseLeftButtonDown))); 829style.Setters.Add(new Setter(DataGridCell.WidthProperty, new Binding("Column.ActualWidth") 835style.Setters.Add(new Setter(AutomationProperties.AutomationIdProperty, new Binding("Column.Header") 857style.Setters.Add(keyDownSetter); 869multiBinding.Bindings.Add(objectWrapperBinding); 870multiBinding.Bindings.Add(hasErrorsBinding); 871multiBinding.Bindings.Add(rowBinding); 879errorTooltipTrigger.Setters.Add(new Setter(DataGridRow.TagProperty, null)); 881style.Triggers.Add(errorTooltipTrigger);
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
746binding.ValidationRules.Add(rule);
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
330this.importedNamespacesItem.ImportedNamespaces.Add(namespaceData.Namespace);
System.Activities.Presentation\System\Activities\Presentation\View\ImportedNamespaceContextItem.cs (1)
49this.ImportedNamespaces.Add(import.Properties[NamespaceListPropertyDescriptor.NamespacePropertyName].ComputedValue as string);
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemKeyValuePairModelItemViewModel.cs (1)
24this.InternalChildren.Add(TreeViewItemViewModel.DummyNode);
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelItemViewModel.cs (1)
59this.InternalChildren.Add(TreeViewItemViewModel.DummyNode);
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelPropertyViewModel.cs (1)
31this.InternalChildren.Add(TreeViewItemViewModel.DummyNode);
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (5)
136this.localAssemblies.Add(new AssemblyNode(local, true, this.filter, this.Context)); 167this.referenceAssemblies.Add(new AssemblyNode(assembly, false, this.filter, this.Context)); 422this.GenericTypeMapping.Add(new TypeKeyValue(t, null)); 592namespaces.Add(lastNamespace); 595lastNamespace.Types.Add(new TypeNode(type));
System.Activities.Presentation\System\Activities\Presentation\View\TypeKeyValue.cs (1)
181this.subTypes.Add(entry);
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (4)
178automationNameBinding.Bindings.Add(labelBinding); 181automationNameBinding.Bindings.Add(typeBinding); 659MostRecentlyUsedTypes.Add(result); 883this.typePresenter.MostRecentlyUsedTypes.Add((Type)value);
System.Activities.Presentation\System\Activities\Presentation\View\TypeResolvingOptions.cs (2)
31this.MostRecentlyUsedTypes.Add(item); 133collection.Add(t);
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (3)
124this.variableWrapperCollection.Add(wrapperObject); 259this.variableWrapperCollection.Add(new DesignTimeVariable(variable, this)); 425this.variableWrapperCollection.Add(wrapper);
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (2)
124Application.Current.Resources.MergedDictionaries.Add(WorkflowDesignerColors.FontAndColorResources); 125Application.Current.Resources.MergedDictionaries.Add(WorkflowDesignerIcons.IconResourceDictionary);
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (8)
239multiBinding.Bindings.Add(modelItemBinding); 240multiBinding.Bindings.Add(isRootDesignerBinding); 241multiBinding.Bindings.Add(expandAllBinding); 242multiBinding.Bindings.Add(collapseAllBinding); 243multiBinding.Bindings.Add(expandStateBinding); 244multiBinding.Bindings.Add(pinStateBinding); 245multiBinding.Bindings.Add(selfBinding); 246multiBinding.Bindings.Add(containerBinding);
System.AddIn (35)
System\Addin\Hosting\AddInStore.cs (10)
539collection.Add(pipeline); 629validPipelines.Add(pipeline); 880warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.NoAddInBaseFound, addInBaseDir)); 941warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.NoAddInFound, singleAddinDir)); 945warnings.Add(ex.Message); 959warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.FileInAddInFolder, file)); 1164warnings.Add(warning); 1231warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.InspectingAssemblyThrew, e.GetType().Name, e.Message, assemblyFileName)); 1241warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.NoAddInModelPartsFound, PipelineComponentType.HostAdapter, assemblyFileName)); 1339warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.InspectingAssemblyThrew, e.GetType().Name, e.Message, assemblyFileName));
System\Addin\Hosting\AddInToken.cs (1)
357warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.ComponentInWrongLocation, fileName, location));
System\Addin\Hosting\InspectionWorker.cs (7)
234retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AssemblyLoadFileNotFound, fnf.Message, fnf.FileName)); 239retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AssemblyLoadThrew, e.GetType().Name, e.Message, _assemblyFileName)); 271retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInInAddInViewFolder, type.Name, _assemblyFileName)); 313retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AssemblyLoadFileNotFound, fnf.Message, fnf.FileName)); 318retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.NotImplementedFeatureBadCtorParamOrAssembly, 324retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.InspectingAssemblyThrew, e.GetType().Name, e.Message, _assemblyFileName)); 332retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.NoAddInModelPartsFound, componentType, _assemblyFileName));
System\Addin\Hosting\PipelineDeploymentState.cs (2)
121warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.CouldntConnectNInvalidParts, unconnectedParts)); 131warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.CouldntConnectOnePart, part.ToString()));
System\Addin\Hosting\Store\AddIn.cs (3)
176warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.UnknownNamedAddInAttributeParameter, namedArg.Name, type.FullName, type.Assembly.ModuleName)); 184warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInMustSpecifyName, type.FullName, type.Assembly.ModuleName)); 252warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.NoDefaultConstructor, type.FullName, type.Assembly.ModuleName));
System\Addin\Hosting\Store\AddInAdapter.cs (5)
57warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInAdapterMustBeMBRO, type.AssemblyQualifiedName)); 64warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInAdapterMustImplementAnAddInContract, type.AssemblyQualifiedName)); 76warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInAdapterMustImplementAnAddInContract, type.AssemblyQualifiedName)); 85warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInAdapterOneUnusableConstructor, type.AssemblyQualifiedName)); 92warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInAdapterNoUsableConstructors, type.AssemblyQualifiedName));
System\Addin\Hosting\Store\AddInBase.cs (1)
46warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInBaseMustBeSubclassable, Name));
System\Addin\Hosting\Store\ContractComponent.cs (2)
41warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.ContractMustImplementIContract, Name)); 47warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.ContractMustBeInterface, Name));
System\Addin\Hosting\Store\HostAdapter.cs (3)
70warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.HostAdapterUnusableCtorMultipleParams, type.AssemblyQualifiedName)); 92warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.HostAdapterUnusableCtorBadParam, type.AssemblyQualifiedName, paramType.FullName)); 98warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.HostAdapterNoValidCtors, type.AssemblyQualifiedName));
System\Addin\Hosting\Store\PipelineComponent.cs (1)
253warnings.Add(String.Format(System.Globalization.CultureInfo.CurrentCulture, Res.ComponentUnusableBecauseItIsGeneric, type.Name));
System.Core (1)
System\Security\Cryptography\RsaCng.cs (1)
102creationParameters.Parameters.Add(keySizeProperty);
System.Data (37)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (1)
136this.Arguments.Add(this.ActivityDelegate.Properties[argument.Name].Value);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDelegateUtilities.cs (1)
43metadata.Add(argument);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (1)
104this.ActivityDelegates.Add(entry);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\SubPropertyEditor.cs (3)
470_quickTypeCollection.Add(factoryModel); 497_quickTypeCollection.Add(defaultItemFactoryTypeModel); 512_quickTypeCollection.Add(nullTypeFactoryTypeModel);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ObservableCollection.cs (1)
34this.Add(item);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (2)
495this.advancedCategoryEditors.Add(editor); 500this.basicCategoryEditors.Add(editor);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (2)
299this.parents.Add(dataModelItem); 322this.sources.Add(property);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (2)
121assemblies.Add(assembly); 137assemblies.Add(assembly);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategory.cs (1)
62this.tools.Add(tool);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategoryItems.cs (1)
53this.categories.Add(item);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeResolver.xaml.cs (1)
186this.GenericTypeMapping.Add(tkv);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (3)
138this.argumentWrapperCollection.Add(wrapper); 181this.argumentWrapperCollection.Add(new DesignTimeArgument(argument, this)); 369this.argumentWrapperCollection.Add(wrapper);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
330this.importedNamespacesItem.ImportedNamespaces.Add(namespaceData.Namespace);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportedNamespaceContextItem.cs (1)
49this.ImportedNamespaces.Add(import.Properties[NamespaceListPropertyDescriptor.NamespacePropertyName].ComputedValue as string);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemKeyValuePairModelItemViewModel.cs (1)
24this.InternalChildren.Add(TreeViewItemViewModel.DummyNode);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelItemViewModel.cs (1)
59this.InternalChildren.Add(TreeViewItemViewModel.DummyNode);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelPropertyViewModel.cs (1)
31this.InternalChildren.Add(TreeViewItemViewModel.DummyNode);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (5)
136this.localAssemblies.Add(new AssemblyNode(local, true, this.filter, this.Context)); 167this.referenceAssemblies.Add(new AssemblyNode(assembly, false, this.filter, this.Context)); 422this.GenericTypeMapping.Add(new TypeKeyValue(t, null)); 592namespaces.Add(lastNamespace); 595lastNamespace.Types.Add(new TypeNode(type));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeKeyValue.cs (1)
181this.subTypes.Add(entry);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (2)
659MostRecentlyUsedTypes.Add(result); 883this.typePresenter.MostRecentlyUsedTypes.Add((Type)value);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeResolvingOptions.cs (2)
31this.MostRecentlyUsedTypes.Add(item); 133collection.Add(t);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (3)
124this.variableWrapperCollection.Add(wrapperObject); 259this.variableWrapperCollection.Add(new DesignTimeVariable(variable, this)); 425this.variableWrapperCollection.Add(wrapper);
System.Data.Entity (5)
System\Data\Mapping\FunctionImportMapping.cs (2)
147isOfTypeEntityTypeColumnsRenameMapping[isOfType].Add(rename); 158entityTypeColumnsRenameMapping[entityType].Add(rename);
System\Data\Mapping\FunctionImportMapping.ReturnTypeRenameMapping.cs (2)
282this._columnListForType.Add(renamedColumn); 286_columnListForIsTypeOfType.Add(renamedColumn);
System\Data\Mapping\StorageMappingItemLoader.cs (1)
2073columnRenameMappings.Add(new FunctionImportReturnTypeScalarPropertyMapping(memberName, columnName, lineInfo));
System.Data.Linq (1)
SqlClient\Common\SqlServer2KCompatibilityCheck.cs (1)
35reasons.Add(annotation.Message);
System.Data.Services (10)
System\Data\Services\Epm\EpmContentSerializer.cs (1)
111this.targetItem.Authors.Add(new SyndicationPerson(null, String.Empty, null));
System\Data\Services\Epm\EpmSyndicationContentSerializer.cs (2)
74this.Target.Authors.Add(this.author); 229this.Target.Contributors.Add(new SyndicationPerson());
System\Data\Services\Serializers\SyndicationSerializer.cs (7)
146item.Links.Add(link); 321item.Categories.Add(new SyndicationCategory(fullName, XmlConstants.DataWebSchemeNamespace, null)); 347item.Links.Add(link); 487target.Authors.Add(EmptyPerson); 584feed.Links.Add(link); 589feed.Authors.Add(EmptyPerson); 1079item.Links.Add(link);
System.Data.Services.Client (2)
System\Data\Services\Client\Binding\DataServiceCollectionOfT.cs (2)
452this.Add(item); 618this.Add(item);
System.Data.SqlXml (2)
System\Xml\Xsl\Xslt\XsltLoader.cs (2)
741compiler.Keys.Add(defList); 821compiler.DecimalFormats.Add(format);
System.IdentityModel (95)
System\IdentityModel\Claims\AuthorizationContext.cs (2)
44_resource.Add( new System.Security.Claims.Claim( ClaimTypes.Name, resource ) ); 47_action.Add( new System.Security.Claims.Claim( ClaimTypes.Name, action ) );
System\IdentityModel\Claims\WindowsClaimSet.cs (2)
291base.Add(Claim.CreateWindowsSidClaim(new SecurityIdentifier(group.Sid))); 295base.Add(Claim.CreateDenyOnlyWindowsSidClaim(new SecurityIdentifier(group.Sid)));
System\IdentityModel\Configuration\IdentityConfiguration.cs (3)
498handlerCollection.Add(CustomTypeElement.Resolve<SecurityTokenHandler>(handlerElement)); 563handlerConfiguration.AudienceRestriction.AllowedAudienceUris.Add(new Uri(audienceUriElement.Value, UriKind.RelativeOrAbsolute)); 664handlerConfiguration.AudienceRestriction.AllowedAudienceUris.Add(new Uri(audienceUriElement.Value, UriKind.RelativeOrAbsolute));
System\IdentityModel\Metadata\MetadataSerializer.cs (9)
1283resultOrg.Names.Add(ReadLocalizedName(reader)); 1287resultOrg.DisplayNames.Add(ReadLocalizedName(reader)); 1291resultOrg.Urls.Add(ReadLocalizedUri(reader)); 1516securityTokenServiceDescriptor.SecurityTokenServiceEndpoints.Add(address); 1527securityTokenServiceDescriptor.PassiveRequestorEndpoints.Add(address); 1677singleSignOnDescriptor.SingleLogoutServices.Add(ReadProtocolEndpoint(reader)); 3237attribute.Values.Add(null); 3242attribute.Values.Add(""); 3246attribute.Values.Add(reader.ReadElementString());
System\IdentityModel\Protocols\WSTrust\EndpointReference.cs (1)
111er._details.Add( doc.DocumentElement );
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (1)
226rst.Claims.Add(new RequestClaim(claimType, isOptional, value));
System\IdentityModel\Tokens\MruSessionSecurityTokenCache.cs (1)
298tokens.Add(entry.Value);
System\IdentityModel\Tokens\Saml2Attribute.cs (1)
54this.values.Add(value);
System\IdentityModel\Tokens\Saml2AttributeStatement.cs (1)
54this.attributes.Add(attribute);
System\IdentityModel\Tokens\Saml2AudienceRestriction.cs (1)
58this.audiences.Add(audience);
System\IdentityModel\Tokens\Saml2AuthorizationDecisionStatement.cs (1)
73this.actions.Add(action);
System\IdentityModel\Tokens\Saml2Evidence.cs (3)
44this.assertions.Add(assertion); 58this.assertionIdReferences.Add(idReference); 72this.assertionUriReferences.Add(uriReference);
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (33)
279assertion.Statements.Add(statement); 777clauses.Add(encryptedKeyClause); 1023conditions.AudienceRestrictions.Add(new Saml2AudienceRestriction(new Uri(relyingPartyAddress))); 1186distinctAttributes[attributeKey].Values.Add(attributeValue); 1301statements.Add(attributeStatement); 1307statements.Add(authenticationStatement); 1485subjectConfirmation.SubjectConfirmationData.KeyIdentifiers.Add(tokenDescriptor.Proof.KeyIdentifier); 1488saml2Subject.SubjectConfirmations.Add(subjectConfirmation); 1941claims.Add(claim); 2020authnStatements.Add(authnStatement); 2496advice.AssertionIdReferences.Add(ReadSimpleNCNameElement(reader)); 2500advice.AssertionUriReferences.Add(ReadSimpleUriElement(reader)); 2504advice.Assertions.Add(this.ReadAssertion(reader)); 2508advice.Assertions.Add(this.ReadAssertion(reader)); 2739assertion.Statements.Add(statement); 3077attribute.Values.Add(null); 3082attribute.Values.Add(string.Empty); 3086attribute.Values.Add(this.ReadAttributeValue(reader, attribute)); 3332statement.Attributes.Add(this.ReadAttribute(reader)); 3458audienceRestriction.Audiences.Add(ReadSimpleUriElement(reader, UriKind.RelativeOrAbsolute, true)); 3593authnContext.AuthenticatingAuthorities.Add(ReadSimpleUriElement(reader)); 3918statement.Actions.Add(this.ReadAction(reader)); 4068conditions.AudienceRestrictions.Add(this.ReadAudienceRestriction(reader)); 4097conditions.AudienceRestrictions.Add(this.ReadAudienceRestriction(reader)); 4241evidence.AssertionIdReferences.Add(ReadSimpleNCNameElement(reader)); 4245evidence.AssertionUriReferences.Add(ReadSimpleUriElement(reader)); 4249evidence.Assertions.Add(this.ReadAssertion(reader)); 4253evidence.Assertions.Add(this.ReadAssertion(reader)); 4715saml2NameIdentifier.ExternalEncryptedKeys.Add(clause); 4813proxyRestriction.Audiences.Add(ReadSimpleUriElement(reader)); 5021subject.SubjectConfirmations.Add(this.ReadSubjectConfirmation(reader)); 5321confirmationData.KeyIdentifiers.Add(this.ReadSubjectKeyInfo(reader)); 5326confirmationData.KeyIdentifiers.Add(this.ReadSubjectKeyInfo(reader));
System\IdentityModel\Tokens\Saml2Subject.cs (1)
51this.subjectConfirmations.Add(subjectConfirmation);
System\IdentityModel\Tokens\SamlAdvice.cs (4)
48this.assertionIdReferences.Add(idReference); 59this.assertions.Add(assertion); 124this.assertionIdReferences.Add(reader.ReadString()); 132this.assertions.Add(assertion);
System\IdentityModel\Tokens\SamlAssertion.cs (2)
82this.statements.Add(samlStatement); 564this.statements.Add(statement);
System\IdentityModel\Tokens\SamlAttribute.cs (3)
49this.attributeValues.Add(value); 80this.attributeValues.Add(claim.Resource as string); 243this.attributeValues.Add(attrValue);
System\IdentityModel\Tokens\SamlAttributeStatement.cs (2)
37this.attributes.Add(attribute); 112this.attributes.Add(attribute);
System\IdentityModel\Tokens\SamlAudienceRestrictionCondition.cs (2)
32this.audiences.Add(audience); 91this.audiences.Add(new Uri(audience));
System\IdentityModel\Tokens\SamlAuthenticationStatement.cs (2)
53this.authorityBindings.Add(binding); 225this.authorityBindings.Add(binding);
System\IdentityModel\Tokens\SamlAuthorizationDecisionStatement.cs (2)
47this.actions.Add(action); 199this.actions.Add(action);
System\IdentityModel\Tokens\SamlConditions.cs (2)
48this.conditions.Add(condition); 141this.conditions.Add(condition);
System\IdentityModel\Tokens\SamlEvidence.cs (4)
43this.assertionIdReferences.Add(idReference); 54this.assertions.Add(assertion); 118this.assertionIdReferences.Add(reader.ReadString()); 125this.assertions.Add(assertion);
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (6)
314statements.Add(attributeStatement); 320statements.Add(authnStatement); 1199authStatementCollection.Add(authenStatement); 1488claims.Add(claim); 1659assertionIdReferences.Add(reader.ReadString()); 1665assertions.Add(assertion);
System\IdentityModel\Tokens\SamlSubject.cs (2)
58this.confirmationMethods.Add(method); 297this.confirmationMethods.Add(method);
System\IdentityModel\Tokens\SecurityTokenHandlerCollection.cs (2)
86Add(handler); 251Add(handler);
System\IdentityModel\Tokens\SessionSecurityToken.cs (2)
884identities.Add(ReadIdentity(dictionaryReader, dictionary)); 1127claims.Add(claim);
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\CardSpaceSelector.cs (1)
126policyCollection.Add(element);
System.Net (21)
net\PeerToPeer\Cloud.cs (1)
233clouds.Add(c);
net\PeerToPeer\Collaboration\CollaborationHelperFunctions.cs (1)
290peerNearMe.PeerEndPoints.Add(peerEP);
net\PeerToPeer\Collaboration\ContactManager.cs (1)
1296peerContactColl.Add(peerContact);
net\PeerToPeer\Collaboration\Peer.cs (3)
489peerObjectCollection.Add(peerObject); 610peerObjectColl.Add(peerObject); 1266m_responses.Add(pir.action);
net\PeerToPeer\Collaboration\PeerCollaboration.cs (6)
443peerNearMe.PeerEndPoints.Add(CollaborationHelperFunctions.ConvertPEER_ENDPOINTToPeerEndPoint(pe)); 445pnmc.Add(peerNearMe); 630localUsersColl.Add(peerApplicationAll); 728peerAppColl.Add(peerApp); 768peerAppCollFiltered.Add(peerApplication); 956peerObjectColl.Add(peerObject);
net\PeerToPeer\Collaboration\PeerContact.cs (5)
294peerEndPoints.Add(peerEndPoint); 859peerEndPoints.Add(peerEndPoint); 893peerEndPoints.Add(peerEndPoint); 983peerApplicationCollection.Add(peerApplication); 1099peerAppColl.Add(peerApp);
net\PeerToPeer\PeerNameResolver.cs (4)
337record.EndPointCollection.Add(ipe); 347m_PeerNameRecordCollection.Add(record); 705record.EndPointCollection.Add(ipe); 715PeerNameRecords.Add(record);
System.Runtime.Caching (1)
System\Caching\MemoryCache.cs (1)
646changeMonitors.Add(expensiveObjectDep);
System.Runtime.DurableInstancing (2)
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (1)
681InstanceView.QueryResultsBacking.Add(queryResult);
System\Runtime\DurableInstancing\InstanceView.cs (1)
227this.queryResultsBackingCollection.Add(queryResult);
System.ServiceModel (602)
System\ServiceModel\Activation\AspNetEnvironment.cs (1)
247bindingParameters.Add(new ServiceMetadataExtension.MetadataBindingParameter());
System\ServiceModel\Administration\EndpointInfoCollection.cs (1)
19base.Add(new EndpointInfo(endpoints[i], serviceName));
System\ServiceModel\Administration\ServiceInfo.cs (5)
130metadataStrings.Add(sw.ToString()); 138metadataStrings.Add(sw.ToString()); 145metadataStrings.Add(sw.ToString()); 149metadataStrings.Add(section.Metadata.ToString()); 157metadataStrings.Add(e.ToString());
System\ServiceModel\Administration\ServiceInfoCollection.cs (1)
20base.Add(new ServiceInfo(service));
System\ServiceModel\BasicHttpBinding.cs (4)
164bindingElements.Add(wsSecurity); 169bindingElements.Add(this.TextMessageEncodingBindingElement); 171bindingElements.Add(this.MtomMessageEncodingBindingElement); 173bindingElements.Add(this.GetTransport());
System\ServiceModel\BasicHttpsBinding.cs (4)
100bindingElements.Add(wsSecurity); 105bindingElements.Add(this.TextMessageEncodingBindingElement); 107bindingElements.Add(this.MtomMessageEncodingBindingElement); 109bindingElements.Add(this.GetTransport());
System\ServiceModel\ChannelFactory.cs (4)
208endpoint.Behaviors.Add(new ClientCredentials()); 219endpoint.Behaviors.Add(c); 861endpoint.Behaviors.Add(channelBehavior); 866endpoint.Contract.Behaviors.Add(contractBehavior);
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (1)
258policyContext.GetBindingAssertions().Add(document.CreateElement(
System\ServiceModel\Channels\BindingElementCollection.cs (6)
25base.Add(element); 36base.Add(elements[i]); 47base.Add(elements[i]); 57result.Add(this[i].Clone()); 69base.Add(elements[i]); 138collection.Add(item);
System\ServiceModel\Channels\BindingParameterCollection.cs (2)
24base.Add(parameters[i]); 35base.Add(parameters[i]);
System\ServiceModel\Channels\CallbackContextMessageProperty.cs (1)
117builder.Headers.Add(new ContextAddressHeader(context));
System\ServiceModel\Channels\ChannelBuilder.cs (1)
108this.bindingParameters.Add(new ChannelDemuxerFilter(filter, priority));
System\ServiceModel\Channels\ChannelDemuxer.cs (3)
3615this.cachedContextState.CachedBindingParameters.Add(parameter); 3624context.BindingParameters.Add(parameter); 3681context.BindingParameters.Add(this.cachedContextState.CachedBindingParameters[i]);
System\ServiceModel\Channels\ChannelParameterCollection.cs (1)
42innerCollection.Add(this[i]);
System\ServiceModel\Channels\CompositeDuplexBindingElement.cs (1)
188context.GetBindingAssertions().Add(CreateCompositeDuplexAssertion());
System\ServiceModel\Channels\CompositeDuplexBindingElementImporter.cs (1)
35context.BindingElements.Add(new CompositeDuplexBindingElement());
System\ServiceModel\Channels\ContextBindingElementPolicy.cs (2)
68assertions.Add(assertion); 73assertions.Add(assertion);
System\ServiceModel\Channels\CustomBinding.cs (5)
42this.bindingElements.Add(element); 56this.bindingElements.Add(element); 69this.bindingElements.Add(element); 83this.bindingElements.Add(bindingElements[i]); 121bindingElements.Add(elements[i]);
System\ServiceModel\Channels\HttpCookieContainerBindingElement.cs (1)
50context.BindingParameters.Add(this);
System\ServiceModel\Channels\HttpTransportBindingElement.cs (4)
534context.BindingParameters.Add(new TextMessageEncodingBindingElement()); 765policyContext.GetBindingAssertions().Add(new XmlDocument().CreateElement(TransportPolicyConstants.HttpTransportPrefix, 782policyContext.GetBindingAssertions().Add(root); 790policyContext.GetBindingAssertions().Add(new XmlDocument().CreateElement(TransportPolicyConstants.WebSocketPolicyPrefix,
System\ServiceModel\Channels\MessageEncodingBindingElement.cs (4)
42context.BindingParameters.Add(this); 54context.BindingParameters.Add(this); 67context.BindingParameters.Add(this); 80context.BindingParameters.Add(this);
System\ServiceModel\Channels\MessageEncodingBindingElementImporter.cs (2)
127ConvertToCustomBinding(context).Elements.Add(encodingBindingElement); 194context.BindingElements.Add(encodingBindingElement);
System\ServiceModel\Channels\MessageHeaders.cs (1)
1105notUnderstoodHeaders.Add(headerInfo);
System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (1)
216policyContext.GetBindingAssertions().Add(document.CreateElement(
System\ServiceModel\Channels\OneWayBindingElement.cs (1)
331context.GetBindingAssertions().Add(assertion);
System\ServiceModel\Channels\OneWayBindingElementImporter.cs (2)
35context.BindingElements.Add(bindingElement); 52context.BindingElements.Add(new OneWayBindingElement());
System\ServiceModel\Channels\PeerCustomResolverBindingElement.cs (4)
114context.BindingParameters.Add(this); 125context.BindingParameters.Add(this); 135context.BindingParameters.Add(this); 146context.BindingParameters.Add(this);
System\ServiceModel\Channels\PeerNeighborManager.cs (3)
1066this.channelFactory.Endpoint.Behaviors.Add(new ClientViaBehavior(remoteAddress.Uri)); 1067this.channelFactory.Endpoint.Behaviors.Add(new PeerNeighborBehavior(this)); 1068this.channelFactory.Endpoint.Contract.Behaviors.Add(new PeerOperationSelectorBehavior(this.messageHandler));
System\ServiceModel\Channels\PeerSecurityManager.cs (10)
257description.Behaviors.Add(credManager.CloneForTransport()); 393bpc.Add(protectionRequirements); 394bpc.Add(this.auditBehavior); 395bpc.Add(credManager); 421bpc.Add(protectionRequirements); 422bpc.Add(this.auditBehavior); 423bpc.Add(credManager); 571factory.Endpoint.Behaviors.Add(this.credManager.CloneForTransport()); 773bindingParameters.Add(this); 794parameters.Add(this);
System\ServiceModel\Channels\PeerService.cs (5)
88this.serviceHost.Description.Behaviors.Add(throttle); 109bindingElements.Add(security); 125bindingElements.Add(bencoder); 129bindingElements.Add(encoder); 132bindingElements.Add(transport);
System\ServiceModel\Channels\PnrpPeerResolverBindingElement.cs (4)
54context.BindingParameters.Add(this); 63context.BindingParameters.Add(this); 72context.BindingParameters.Add(this); 81context.BindingParameters.Add(this);
System\ServiceModel\Channels\PrivacyNoticeBindingElement.cs (1)
98context.GetBindingAssertions().Add(assertion);
System\ServiceModel\Channels\PrivacyNoticeBindingElementImporter.cs (1)
35policyContext.BindingElements.Add(settings);
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (1)
619context.GetBindingAssertions().Add(assertion);
System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (1)
87context.BindingElements.Add(settings);
System\ServiceModel\Channels\SecurityBindingElement.cs (26)
418negotiationBindingElements.Add(demuxer.Clone()); 419negotiationBindingElements.Add(transport.Clone()); 984result.EndpointSupportingTokenParameters.Endorsing.Add( 1160result.EndpointSupportingTokenParameters.SignedEncrypted.Add( 1306result.EndpointSupportingTokenParameters.SignedEncrypted.Add(issuedTokenParameters); 1311result.EndpointSupportingTokenParameters.Endorsing.Add(issuedTokenParameters); 1378result.EndpointSupportingTokenParameters.SignedEncrypted.Add(issuedTokenParameters); 1383result.EndpointSupportingTokenParameters.Endorsing.Add(issuedTokenParameters); 1440result.EndpointSupportingTokenParameters.SignedEncrypted.Add( 1475result.EndpointSupportingTokenParameters.SignedEncrypted.Add( 1535result.EndpointSupportingTokenParameters.Endorsing.Add( 1575result.EndpointSupportingTokenParameters.Endorsing.Add( 1626result.EndpointSupportingTokenParameters.Endorsing.Add( 1674result.EndpointSupportingTokenParameters.Signed.Add(issuedTokenParameters); 1679result.EndpointSupportingTokenParameters.Endorsing.Add(issuedTokenParameters); 1760primary.EndpointSupportingTokenParameters.Endorsing.Add( 1918context.RemainingBindingElements.Add(bindingElement); 1969policyContext.GetBindingAssertions().Add(assertion); 1979existingAssertions.Add(assertions[i]); 1987policyContext.GetOperationBindingAssertions(operation).Add(assertion); 1997existingAssertions.Add(assertions[i]); 2005policyContext.GetMessageBindingAssertions(message).Add(assertion); 2013policyContext.GetFaultBindingAssertions(message).Add(assertion); 2046bindingElementsBelowSecurity.Add(be); 2120bindingElementsBelowSecurity.Add(be); 2333bindingParameters.Add(ChannelProtectionRequirements.CreateFromContract(policyContext.Contract, policyContext.BindingElements.Find<SecurityBindingElement>().GetIndividualProperty<ISecurityCapabilities>(), false));
System\ServiceModel\Channels\SecurityBindingElementImporter.cs (4)
536policyContext.BindingElements.Add(binding); 560policyContext.BindingElements.Add(binding); 598policyContext.BindingElements.Add(binding); 681importer.Errors.Add(new MetadataConversionError(SR.GetString(SR.SecurityBindingElementCannotBeExpressedInConfig), true));
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
606registerChannelFactory.Endpoint.Behaviors.Add(new SharedListenerProxyBehavior(this));
System\ServiceModel\Channels\SslStreamSecurityBindingElement.cs (5)
93context.BindingParameters.Add(this); 105context.BindingParameters.Add(this); 117context.BindingParameters.Add(this); 129context.BindingParameters.Add(this); 189policyContext.BindingElements.Add(sslBindingElement);
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (3)
216scIssuerBindingContext.BindingParameters.Add(scParameters.BootstrapProtectionRequirements); 302scIssuerBindingContext.BindingParameters.Add(scParameters.BootstrapProtectionRequirements); 342context.BindingParameters.Add(new SecuritySessionServerSettings.SecuritySessionDemuxFailureHandler(sessionFactory.StandardsManager));
System\ServiceModel\Channels\TransactionFlowBindingElement.cs (1)
446context.GetOperationBindingAssertions(operation).Add(assertion);
System\ServiceModel\Channels\TransactionFlowBindingElementImporter.cs (2)
130operation.Behaviors.Add(new TransactionFlowAttribute(txFlow)); 202context.BindingElements.Add(settings);
System\ServiceModel\Channels\TransportBindingElementImporter.cs (3)
97elements.Add(CreateHttpsFromHttp(transportBindingElement as HttpTransportBindingElement)); 108ConvertToCustomBinding(context).Elements.Add(transportBindingElement); 137policyContext.BindingElements.Add(transportBindingElement);
System\ServiceModel\Channels\TransportSecurityBindingElement.cs (1)
232context.BindingParameters.Add(new SecuritySessionServerSettings.SecuritySessionDemuxFailureHandler(sessionFactory.StandardsManager));
System\ServiceModel\Channels\UseManagedPresentationBindingElement.cs (1)
51context.GetBindingAssertions().Add(assertion);
System\ServiceModel\Channels\UseManagedPresentationBindingElementImporter.cs (1)
35policyContext.BindingElements.Add(settings);
System\ServiceModel\Channels\WindowsStreamSecurityBindingElement.cs (5)
61context.BindingParameters.Add(this); 73context.BindingParameters.Add(this); 85context.BindingParameters.Add(this); 97context.BindingParameters.Add(this); 157policyContext.BindingElements.Add(windowsBindingElement);
System\ServiceModel\Channels\WsrmMessageInfo.cs (1)
409notUnderstoodHeaders.Add(headers[foundTooManyIndex]);
System\ServiceModel\ComIntegration\ChannelCredentials.cs (8)
76behaviors.Add(channelCredentials); 97behaviors.Add(channelCredentials); 120behaviors.Add(channelCredentials); 140behaviors.Add(channelCredentials); 172behaviors.Add(channelCredentials); 190behaviors.Add(channelCredentials); 222behaviors.Add(channelCredentials); 239behaviors.Add(channelCredentials);
System\ServiceModel\ComIntegration\ComPlusServiceLoader.cs (2)
64service.Behaviors.Add(new SecurityCookieModeValidator()); 72service.Behaviors.Add(aspNetCompatibilityRequirements);
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (16)
113contract.Operations.Add(operation); 132contract.Behaviors.Add(new OperationSelectorBehavior()); 136contract.Behaviors.Add(comPlusContractBehavior); 149operation.Behaviors.Add(contractSerializer); 152operation.Behaviors.Add(new OperationInvokerBehavior()); 156operation.Behaviors.Add(new TransactionFlowAttribute(TransactionFlowOption.Allowed)); 163operation.Behaviors.Add(operationBehaviorAttribute); 195operationDescription.KnownTypes.Add(typeof(Array)); 196operationDescription.KnownTypes.Add(typeof(DBNull)); 197operationDescription.KnownTypes.Add(typeof(CurrencyWrapper)); 198operationDescription.KnownTypes.Add(typeof(ErrorWrapper)); 201operationDescription.KnownTypes.Add(typeof(PersistStreamTypeWrapper)); 212operationDescription.KnownTypes.Add(knownType); 242operationDescription.Messages.Add(inMessage); 243operationDescription.Messages.Add(outMessage); 319messageDescription.Body.Parts.Add(messagePart);
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (5)
162serviceEndpoint.Behaviors.Add(behavior); 434metadataSet.MetadataSections.Add(MetadataSection.CreateFromServiceDescription(wsdl)); 438metadataSet.MetadataSections.Add(MetadataSection.CreateFromSchema(schema)); 442metadataSet.MetadataSections.Add(MetadataSection.CreateFromPolicy(xmlDoc, null)); 448metadataSet.MetadataSections.Add(mexDoc);
System\ServiceModel\ComIntegration\PersistStreamTypeWrapper.cs (1)
335customDataTypes.Add(typeof(PersistStreamTypeWrapper));
System\ServiceModel\ComIntegration\TypedServiceChannelBuilder.cs (1)
189serviceEndpoint.Behaviors.Add(behavior);
System\ServiceModel\ComIntegration\WsdlServiceChannelBuilder.cs (1)
156serviceEndpoint.Behaviors.Add(behavior);
System\ServiceModel\Configuration\CustomBindingElement.cs (1)
181theBinding.Elements.Add(bindingConfig.CreateBindingElement());
System\ServiceModel\Configuration\FederatedMessageSecurityOverHttpElement.cs (2)
122security.TokenRequestParameters.Add(xmlElement.XmlElement); 126security.ClaimTypeRequirements.Add(new ClaimTypeRequirement(claimType.ClaimType, claimType.IsOptional));
System\ServiceModel\Configuration\IssuedTokenParametersElement.cs (3)
133parameters.AdditionalRequestParameters.Add(e.XmlElement); 141parameters.ClaimTypeRequirements.Add(new ClaimTypeRequirement(c.ClaimType, c.IsOptional)); 282this.OptionalIssuedTokenParameters.Add(element);
System\ServiceModel\Description\ClientCredentials.cs (1)
281bindingParameters.Add(this);
System\ServiceModel\Description\ConfigLoader.cs (6)
233tempBehaviors.Add((T)behaviorObject); 240behaviors.Add((T)behaviorObject); 335wsdlImporters.Add((IWsdlImportExtension)constructorInfo.Invoke(emptyObjectArray)); 364policyImporters.Add((IPolicyImportExtension)constructorInfo.Invoke(emptyObjectArray)); 533description.Endpoints.Add(serviceEndpoint); 538description.Endpoints.Add(endpoint);
System\ServiceModel\Description\ContractDescription.cs (1)
199result.Add(inheritedContract);
System\ServiceModel\Description\DispatcherBuilder.cs (5)
603parameters.Add(new ThreadSafeMessageFilterTable<EndpointAddress>()); 682stuffPerListenUriInfo[listenUriInfo].Endpoints.Add(endpoint); 694parameters.Add(endpointAddressTable); 770endpointInfosPerEndpointAddress[endpoint.Address].Add(new EndpointInfo(endpoint, dispatcher, provider)); 1345parameters.Add(requirements);
System\ServiceModel\Description\FaultDescriptionCollection.cs (1)
33descriptions.Add(description);
System\ServiceModel\Description\MessageBodyDescription.cs (1)
32this.Parts.Add(mpd.Clone());
System\ServiceModel\Description\MessageContractImporter.cs (9)
164importer.Errors.Add(warning); 295operation.Behaviors.Add(CurrentSchemaImporter.GetOperationGenerator()); 505messageDescription.Body.Parts.Add(partDesc); 751messageDescription.Body.Parts.Add(part); 1247description.Body.Parts.Add(bodyPart); 1445description.Headers.Add((MessageHeaderDescription)schemaImporter.ImportMessagePart(part, true/*isHeader*/, isEncoded)); 1858importer.Errors.Add(error); 1886operation.Behaviors.Add(operationBehavior); 2135operation.Behaviors.Add(operationBehavior);
System\ServiceModel\Description\MessageDescription.cs (2)
47this.Items.Headers.Add(mhd.Clone() as MessageHeaderDescription); 51this.Items.Properties.Add(mpd.Clone() as MessagePropertyDescription);
System\ServiceModel\Description\MessageDescriptionCollection.cs (1)
34descriptions.Add(description);
System\ServiceModel\Description\MetadataExchangeBindings.cs (2)
199binding.Elements.Add(tcpTransport); 207binding.Elements.Add(pipeTransport);
System\ServiceModel\Description\MetadataExchangeClient.cs (6)
107this.factory.Endpoint.Behaviors.Add(value); 549this.metadataSet.MetadataSections.Add(section); 562this.metadataSet.MetadataSections.Add(section); 571this.metadataSet.MetadataSections.Add(section); 579this.metadataSet.MetadataSections.Add(section); 583this.metadataSet.MetadataSections.Add(section);
System\ServiceModel\Description\MetadataResolver.cs (3)
250endpoints.Add(se); 298qnames.Add(qname); 310contracts.Add(ContractDescription.GetContract(contract));
System\ServiceModel\Description\MetadataSet.cs (4)
33this.sections.Add(section); 480a_1.Add(attr); 499if ((object)(a_0) == null) Reader.Skip(); else a_0.Add(Read66_MetadataSection(false, true)); 551a_0.Add(attr);
System\ServiceModel\Description\NetDataContractSerializerOperationBehavior.cs (1)
37operation.Behaviors.Add(netDataContractSerializerOperationBehavior);
System\ServiceModel\Description\OperationDescriptionCollection.cs (1)
33results.Add(this[i]);
System\ServiceModel\Description\OperationGenerator.cs (3)
643messageDescription.Body.Parts.Add(wrapperPart); 932parent.Context.Contract.ServiceContractGenerator.Errors.Add(new MetadataConversionError(SR.GetString(SR.SFxCannotImportAsParameters_HeadersAreIgnoredInEncoded, parent.Request.MessageName), true/*isWarning*/)); 941parent.Context.Contract.ServiceContractGenerator.Errors.Add(new MetadataConversionError(SR.GetString(SR.SFxCannotImportAsParameters_HeadersAreIgnoredInEncoded, parent.Response.MessageName), true/*isWarning*/));
System\ServiceModel\Description\PolicyAssertionCollection.cs (2)
31base.Add(element); 113collection.Add(item);
System\ServiceModel\Description\SchemaHelper.cs (1)
155errors.Add(warning);
System\ServiceModel\Description\ServiceAuthenticationBehavior.cs (2)
99parameters.Add(this.serviceAuthenticationManager); 115parameters.Add(new AuthenticationSchemesBindingParameter(this.authenticationSchemes));
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
390context.Operations.Add(operationContext);
System\ServiceModel\Description\ServiceCredentials.cs (1)
297parameters.Add(this);
System\ServiceModel\Description\ServiceDebugBehavior.cs (1)
155parameters.Add(this);
System\ServiceModel\Description\ServiceDescription.cs (3)
48this.endpoints.Add(endpoint); 219behaviors.Add(behaviorAttribute); 256description.Behaviors.Add((IServiceBehavior)serviceImplementation);
System\ServiceModel\Description\ServiceEndpointCollection.cs (2)
135results.Add(endpoint); 155results.Add(endpoint);
System\ServiceModel\Description\ServiceMetadataBehavior.cs (3)
443mexContract.Behaviors.Add(new ServiceMetadataContractBehavior(true)); 496exportedEndpoint.Behaviors.Add(behavior); 498exportedEndpoints.Add(exportedEndpoint);
System\ServiceModel\Description\ServiceMetadataExtension.cs (2)
544this.metadataLocationSet.MetadataSections.Add(metadataLocationSection); 594metadataSet.MetadataSections.Add(document);
System\ServiceModel\Description\ServiceSecurityAuditBehavior.cs (1)
111parameters.Add(this);
System\ServiceModel\Description\TypedMessageConverter.cs (1)
70operation.Messages.Add(message);
System\ServiceModel\Description\TypeLoader.cs (33)
82contractDescription.Behaviors.Add((IContractBehavior)serviceImplementation); 190operation.Messages.Add(message); 191contract.Operations.Add(operation); 206operation.Messages.Add(request); 207operation.Messages.Add(reply); 208contract.Operations.Add(operation); 221operationDescription.Behaviors.Add(new OperationInvokerBehavior()); 224contractDesc.Behaviors.Add(new OperationSelectorBehavior()); 238opDesc.Behaviors.Add(toAdd[j]); 252behaviors.Add(toAdd[j]); 266behaviors.Add(toAdd[j]); 280opDesc.Behaviors.Add(operationBehavior); 302operationDescription.Behaviors.Add(new DataContractSerializerOperationBehavior(operationDescription, dataContractFormatAttribute, true)); 303operationDescription.Behaviors.Add(new DataContractSerializerOperationGenerator()); 323behaviors.Add(behavior); 341behaviors.Add(iContractBehavior); 356operationDescription.KnownTypes.Add(knownType); 369operationDescription.KnownTypes.Add(knownType); 482result.Add(opBehaviorAttr); 545serviceEndpoint.Behaviors.Add(behaviorAttribute); 550serviceEndpoint.Contract.Behaviors.Add(behaviorAttribute); 566behaviors.Add(toAdd[j]); 578opDesc.Behaviors.Add(behavior); 644contractDescription.Operations.Add(operation); 738contractDescription.Operations.Add(op); 936operationDescription.Faults.Add(faultDescription); 942operationDescription.KnownTypes.Add(knownType); 971operationDescription.Messages.Add(requestDescription); 1002operationDescription.Messages.Add(responseDescription); 1183messageDescription.Body.Parts.Add(partDescription); 1328messageDescription.Properties.Add(CreateMessagePropertyDescription(memberInfo, 1517partDescriptionCollection.Add(partDescription); 1990descriptionBehaviors.Add(behavior);
System\ServiceModel\Description\WsdlContractConversionContext.cs (1)
161bindings.Add(operationBinding);
System\ServiceModel\Description\WsdlExporter.cs (5)
134set.MetadataSections.Add(MetadataSection.CreateFromServiceDescription(wsdl)); 137set.MetadataSections.Add(MetadataSection.CreateFromSchema(schema)); 229Errors.Add(new MetadataConversionError(SR.GetString(SR.WarnDuplicateBindingQNameNameOnExport, endpoint.Binding.Name, endpoint.Binding.Namespace, endpoint.Contract.Name), true /*isWarning*/)); 545this.Errors.Add(new MetadataConversionError(warningMessage, true)); 705context.GetBindingAssertions().Add(addressingAssertion);
System\ServiceModel\Description\WsdlImporter.cs (16)
118contracts.Add(contract); 137endpoints.Add(endpoint); 157bindings.Add(importedBindingContext.Endpoint.Binding); 214endpoints.Add(endpoint); 239endpoints.Add(endpoint); 264endpoints.Add(endpoint); 286endpoints.Add(endpoint); 512operationDescription.Messages.Add(messageDescription); 528operationDescription.Faults.Add(faultDescription); 546contract.Operations.Add(operationDescription); 784this.Errors.Add(new MetadataConversionError(errorMsg, true)); 1154importer.Errors.Add(new MetadataConversionError(message, false)); 1886this.Errors.Add(new MetadataConversionError(warningMessage, true)); 1904this.Errors.Add(new MetadataConversionError(errormessage, false)); 2009policyElements.Add(element); 2014policyElements.Add(element);
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (8)
105operation.Behaviors.Add(new XmlSerializerOperationBehavior(operationReflector, builtInOperationBehavior)); 106operation.Behaviors.Add(new XmlSerializerOperationGenerator(new XmlSerializerImportOptions())); 204mappings.Add(OperationReflector.Request.HeadersMapping); 206mappings.Add(OperationReflector.Request.BodyMapping); 208mappings.Add(OperationReflector.Reply.HeadersMapping); 210mappings.Add(OperationReflector.Reply.BodyMapping); 261operationReflectors.Add(operationReflector); 558partList.Add(part);
System\ServiceModel\Dispatcher\AndMessageFilterTable.cs (6)
156matches.Add(pair.filter); 157matches.Add(pairs[i].filter); 180matches.Add(pair.filter); 181matches.Add(pairs[i].filter); 265matches.Add(pair.filter); 266matches.Add(pairs[i].filter);
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (1)
742namesSeen.Add(ed.ContractName);
System\ServiceModel\Dispatcher\EndpointAddressMessageFilterTable.cs (5)
359matches.Add(can.filter); 360matches.Add(c.filter); 389matches.Add(cset.candidates[i].filter); 407matches.Add(can.filter); 408matches.Add(candis[i].filter);
System\ServiceModel\Dispatcher\EndpointDispatcher.cs (1)
70builder.Headers.Add(h);
System\ServiceModel\Dispatcher\MessageFilter.cs (8)
89f.Add(filter); 90f.Add(item.Key); 115f.Add(filter); 116f.Add(item.Key); 165f.Add(filter); 166f.Add(item.Key); 187f.Add(filter); 188f.Add(item.Key);
System\ServiceModel\Dispatcher\MessageFilterTable.cs (4)
470c.Add(filter); 471c.Add(f); 503c.Add(filter); 504c.Add(f);
System\ServiceModel\Dispatcher\MessageQueryTable.cs (1)
81collection.Add(key);
System\ServiceModel\Dispatcher\QueryMatcher.cs (3)
175typedResults.Add( 181typedResults.Add( 187typedResults.Add(new KeyValuePair<MessageQuery, TResult>(
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (1)
694bindingElementStack.Add(element);
System\ServiceModel\EndpointAddress.cs (1)
1292this.headers.Add(address.Headers[i]);
System\ServiceModel\ExtensionCollection.cs (1)
84result.Add((E)item);
System\ServiceModel\FederatedMessageSecurityOverHttp.cs (4)
162issuedParameters.ClaimTypeRequirements.Add(c); 166issuedParameters.AdditionalRequestParameters.Add(p); 309messageSecurity.ClaimTypeRequirements.Add(c); 313messageSecurity.TokenRequestParameters.Add(p);
System\ServiceModel\KeyedByTypeCollection.cs (2)
27base.Add(item); 75result.Add((T)(object)settings);
System\ServiceModel\MsmqIntegration\MsmqIntegrationBinding.cs (1)
119bindingElements.Add(transport);
System\ServiceModel\NetHttpBinding.cs (6)
138bindingElements.Add(this.session); 145bindingElements.Add(messageSecurity); 152bindingElements.Add(this.TextMessageEncodingBindingElement); 155bindingElements.Add(this.MtomMessageEncodingBindingElement); 158bindingElements.Add(this.binaryMessageEncodingBindingElement); 163bindingElements.Add(this.GetTransport());
System\ServiceModel\NetHttpsBinding.cs (6)
131bindingElements.Add(this.session); 138bindingElements.Add(messageSecurity); 145bindingElements.Add(this.TextMessageEncodingBindingElement); 148bindingElements.Add(this.MtomMessageEncodingBindingElement); 151bindingElements.Add(this.binaryMessageEncodingBindingElement); 156bindingElements.Add(this.GetTransport());
System\ServiceModel\NetMsmqBinding.cs (3)
235bindingElements.Add(wsSecurity); 238bindingElements.Add(encoding); 240bindingElements.Add(GetTransport());
System\ServiceModel\NetNamedPipeBinding.cs (4)
221bindingElements.Add(context); 223bindingElements.Add(encoding); 228bindingElements.Add(transportSecurity); 231bindingElements.Add(this.namedPipe);
System\ServiceModel\NetPeerTcpBinding.cs (6)
169bindingElements.Add(new PeerCustomResolverBindingElement(this.Resolver.Custom)); 171bindingElements.Add(new PnrpPeerResolverBindingElement(this.Resolver.ReferralPolicy)); 179bindingElements.Add(new PeerCustomResolverBindingElement(this.Resolver.Custom)); 187bindingElements.Add(new PnrpPeerResolverBindingElement(this.Resolver.ReferralPolicy)); 196bindingElements.Add(encoding); 197bindingElements.Add(transport);
System\ServiceModel\NetTcpBinding.cs (6)
331bindingElements.Add(context); 334bindingElements.Add(session); 338bindingElements.Add(wsSecurity); 340bindingElements.Add(encoding); 345bindingElements.Add(transportSecurity); 349bindingElements.Add(transport);
System\ServiceModel\PeerResolvers\PeerDefaultCustomResolverClient.cs (1)
82channelFactory.Endpoint.Behaviors.Add(credentials);
System\ServiceModel\PeerSecuritySettings.cs (1)
135context.GetBindingAssertions().Add(element);
System\ServiceModel\PeerTransportSecuritySettings.cs (1)
91context.GetBindingAssertions().Add(element);
System\ServiceModel\Security\AcceleratedTokenProvider.cs (1)
215newParameters.Add(new SspiIssuanceChannelParameter(true, this.credentialsHandle));
System\ServiceModel\Security\AcceptorSessionSymmetricTransportSecurityProtocol.cs (2)
60tmp.Add(this.sessionTokenResolver); 65this.sessionTokenAuthenticatorSpecificationList.Add(spec);
System\ServiceModel\Security\AsymmetricSecurityProtocolFactory.cs (2)
141result.Add(((ISecurityContextSecurityTokenCacheProvider)this.recipientCryptoTokenAuthenticator).TokenCache); 232tmp.Add(resolver);
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (3)
379federationTokenProvider.IssuerChannelBehaviors.Add(behavior); 382federationTokenProvider.IssuerChannelBehaviors.Add(parent); 506federationTokenProvider.TokenRequestParameters.Add(requestParameter);
System\ServiceModel\Security\InfoCardHelper.cs (1)
366federationTokenProvider.IssuerChannelBehaviors.Add(new InternalClientCredentials(clientCredentialsTokenManager.ClientCredentials, target, relyingPartyIssuer, infocardChannelParameter));
System\ServiceModel\Security\InfocardInteractiveChannelInitializer.cs (1)
140channelParameters.Add(new InfoCardChannelParameter(token, relyingPartyIssuer, requiresInfoCard));
System\ServiceModel\Security\IssuedTokenClientCredential.cs (1)
166result.Add(behavior);
System\ServiceModel\Security\IssuedTokensHeader.cs (5)
39coll.Add(tokenIssuance); 58coll.Add(rstr); 99coll.Add(rstr); 105coll.Add(rstr); 245issuances.Add(issuedTokensHeader.TokenIssuances[k]);
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (1)
984parameters.Add(new ChannelDemuxerFilter(contractFilter, filterPriority));
System\ServiceModel\Security\ReceiveSecurityHeader.cs (4)
672EnsureSupportingTokens(ref endorsingTokens).Add(tracker.token); 679EnsureSupportingTokens(ref signedTokens).Add(tracker.token); 690EnsureSupportingTokens(ref basicTokens).Add(tracker.token); 705EnsureSupportingTokens(ref signedEndorsingTokens).Add(tracker.token);
System\ServiceModel\Security\RequestSecurityToken.cs (1)
275coll.Add(property);
System\ServiceModel\Security\SecureConversationServiceCredential.cs (1)
33this.securityContextClaimTypes.Add(other.securityContextClaimTypes[i]);
System\ServiceModel\Security\SecurityContextTokenCache.cs (1)
207matchingContexts.Add(token);
System\ServiceModel\Security\SecurityMessageProperty.cs (3)
184result.OutgoingSupportingTokens.Add(this.outgoingSupportingTokens[i]); 192result.IncomingSupportingTokens.Add(this.incomingSupportingTokens[i]); 232policies.Add(spec.SecurityTokenPolicies[i]);
System\ServiceModel\Security\SecurityProtocol.cs (4)
338mergedProviders.Add(spec); 350mergedProviders.Add(spec); 511security.IncomingSupportingTokens.Add(new SupportingTokenSpecification(tokens[i], tokenPoliciesMapping[tokens[i]], attachmentMode)); 653outOfBandResolvers.Add(supportingAuthenticators[i].TokenResolver);
System\ServiceModel\Security\SecurityProtocolFactory.cs (3)
744result.Add(((ISecurityContextSecurityTokenCacheProvider)spec.TokenAuthenticator).TokenCache); 837mergedAuthenticators.Add(spec); 842mergedAuthenticators.Add(spec);
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (3)
826sctsToRemove.Add(sct); 1124renewSupportingTokenParameters.Endorsing.Add(sctParameters); 1173parameters.Add(new ChannelDemuxerFilter(contractFilter, filterPriority));
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (3)
407context.BindingParameters.Add(new LocalAddressProvider(localAddress, issueAndRenewFilter)); 518newParameters.Add(new SspiIssuanceChannelParameter(true, this.credentialsHandle)); 776supportingTokenProperty.OutgoingSupportingTokens.Add(new SupportingTokenSpecification(currentSessionToken, EmptyReadOnlyCollection<IAuthorizationPolicy>.Instance, SecurityTokenAttachmentMode.Endorsing, this.IssuedSecurityTokenParameters));
System\ServiceModel\Security\ServiceCredentialsSecurityTokenManager.cs (2)
255outOfBandTokens.Add(new X509SecurityToken(parent.ServiceCertificate.Certificate)); 262outOfBandTokens.Add(new X509SecurityToken(parent.IssuedTokenAuthentication.KnownCertificates[i]));
System\ServiceModel\Security\SymmetricSecurityProtocolFactory.cs (2)
93result.Add(((ISecurityContextSecurityTokenCacheProvider)this.recipientSymmetricTokenAuthenticator).TokenCache); 178tmp.Add(resolver);
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (26)
58this.additionalRequestParameters.Add((XmlElement)parameter.Clone()); 62this.claimTypeRequirements.Add(c); 286this.claimTypeRequirements.Add(claimTypeRequirement); 291unrecognizedRequiredClaims.Add(claimRequirement); 295unknownRequestParameters.Add(trustDriver.CreateRequiredClaimsElement(unrecognizedRequiredClaims)); 299unknownRequestParameters.Add(element); 308this.AdditionalRequestParameters.Add(unknownRequestParameters[i]); 326result.Add(driver.CreateTokenTypeElement(tokenType)); 329result.Add(driver.CreateKeyTypeElement(this.keyType)); 333result.Add(driver.CreateKeySizeElement(keySize)); 351claimsElements.Add(element); 353result.Add(driver.CreateRequiredClaimsElement(claimsElements)); 364result.Add(parameter); 385tmpCollection.Add(e); 526childrenToPromote.Add(innerElement); 557processedElements.Add(e); 562processedElements.Add(e); 567processedElements.Add(e); 620if (encryptionElement != null) tmpCollection.Add(encryptionElement); 621if (canonicalizationElement != null) tmpCollection.Add(canonicalizationElement); 622if (requiredClaimsElement != null) tmpCollection.Add(requiredClaimsElement); 629tmpCollection.Add(childrenToPromote[i]); 734trustVersionNormalizedParameterCollection.Add(innerElement); 790otherRequestParameters.Add(element); 822result.ClaimTypeRequirements.Add(new ClaimTypeRequirement(wsidPPIClaim)); 901secondaryParameters.Add(nodeAsElement);
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (9)
394TokenRequestParameters.Add(CreateXmlTokenElement(actAsOnBehalfOfParameters.OnBehalfOf, 408TokenRequestParameters.Add(CreateXmlTokenElement(actAsOnBehalfOfParameters.OnBehalfOf, 427TokenRequestParameters.Add(CreateXmlTokenElement(actAsOnBehalfOfParameters.ActAs, 798newParameters.Add(new SspiIssuanceChannelParameter(true, this.credentialsHandle)); 818channelParameters.Add(sicp); 897newRequestProperties.Add(this.requestProperties[i]); 914newRequestProperties.Add(this.StandardsManager.TrustDriver.CreateUseKeyElement(keyIdentifier, this.StandardsManager)); 921security.OutgoingSupportingTokens.Add(rsaSpec); 926newRequestProperties.Add(this.StandardsManager.TrustDriver.CreateComputedKeyAlgorithmElement(this.StandardsManager.TrustDriver.ComputedKeyAlgorithm));
System\ServiceModel\Security\Tokens\SupportingTokenParameters.cs (4)
27this.signed.Add((SecurityTokenParameters)p.Clone()); 29this.signedEncrypted.Add((SecurityTokenParameters)p.Clone()); 31this.endorsing.Add((SecurityTokenParameters)p.Clone()); 33this.signedEndorsing.Add((SecurityTokenParameters)p.Clone());
System\ServiceModel\Security\WrappedTokenCache.cs (1)
85tokens.Add(sctToken);
System\ServiceModel\Security\WSSecurityPolicy.cs (31)
446alternatives.Add(alternative); 449alternative.Add(e); 916supportingTokenAssertions.Add(supportingTokenAssertion); 921supportingTokenAssertions.Add(supportingTokenAssertion); 926supportingTokenAssertions.Add(supportingTokenAssertion); 1125optionalSignedSupportingTokens.Add(parameters); 1129signedSupportingTokens.Add(parameters); 1138signedEncrypted.Add(p); 1142signed.Add(p); 1149optionalSignedEncrypted.Add(p); 1153optionalSigned.Add(p); 1203optionalSupportingTokens.Add(parameters); 1207supportingTokens.Add(parameters); 1214endorsing.Add(p); 1218optionalEndorsing.Add(p); 1267optionalSupportingTokens.Add(parameters); 1271supportingTokens.Add(parameters); 1278signedEndorsing.Add(p); 1282optionalSignedEndorsing.Add(p); 1352bindingParameters.Add(ChannelProtectionRequirements.CreateFromContract(policyContext.Contract, policyContext.BindingElements.Find<SecurityBindingElement>().GetIndividualProperty<ISecurityCapabilities>(), false)); 1946importer.Errors.Add(new MetadataConversionError(SR.GetString(SR.UnsupportedBooleanAttribute, OptionalName, e.Message), false)); 2290metadataSet.MetadataSections.Add(new MetadataSection(null, null, new MetadataReference(issuerMetadataAddress, AddressingVersion.WSAddressing10))); 2410requestParameters.Add((XmlElement)p); 2650bootstrapBinding.Elements.Add(be); 2709result.Add(assertion); 2734importer.Errors.Add(new MetadataConversionError(SR.GetString(SR.UnsupportedSecureConversationBootstrapProtectionRequirements), false)); 2743importer.Errors.Add(new MetadataConversionError(SR.GetString(SR.UnsupportedSecureConversationBootstrapProtectionRequirements), false)); 2921importer.Errors.Add(new MetadataConversionError(SR.GetString(SR.UnableToObtainIssuerMetadata, mexAddress, mexException), false)); 2955importer.Errors.Add(new MetadataConversionError(SR.GetString(SR.ErrorImportingIssuerMetadata, mexAddress, InsertEllipsisIfTooLong(error.Message)), error.IsWarning)); 2963importer.Errors.Add(new MetadataConversionError(SR.GetString(SR.MultipleIssuerEndpointsFound, mexAddress))); 3042parameters.AlternativeIssuerEndpoints.Add(endpointInfo);
System\ServiceModel\Security\WSSecurityPolicy11.cs (1)
96importer.Errors.Add(new MetadataConversionError(SR.GetString(SR.UnsupportedBooleanAttribute, RequireClientCertificateName, e.Message), false));
System\ServiceModel\Security\WSSecurityPolicy12.cs (8)
138supportingTokenAssertions.Add(supportingTokenAssertion); 143supportingTokenAssertions.Add(supportingTokenAssertion); 148supportingTokenAssertions.Add(supportingTokenAssertion); 153supportingTokenAssertions.Add(supportingTokenAssertion); 528optionalSigned.Add(parameters); 532signed.Add(parameters); 576optionalSignedEncrypted.Add(parameters); 580signedEncrypted.Add(parameters);
System\ServiceModel\Security\WSTrust.cs (1)
1529requiredClaims.Add((XmlElement)node);
System\ServiceModel\Security\WSTrustDec2005.cs (3)
121result.Endpoint.Behaviors.Add(channelBehaviors[i]); 125result.Endpoint.Behaviors.Add(new WSTrustFeb2005.DriverFeb2005.InteractiveInitializersRemovingBehavior()); 146tempCollection.Add(secondaryParamElement);
System\ServiceModel\Security\WSTrustFeb2005.cs (2)
258result.Endpoint.Behaviors.Add(channelBehaviors[i]); 262result.Endpoint.Behaviors.Add(new InteractiveInitializersRemovingBehavior());
System\ServiceModel\Security\WSTrustServiceHost.cs (1)
103Description.Behaviors.Add(metadataBehavior);
System\ServiceModel\ServiceConfiguration.cs (2)
191this.Description.Endpoints.Add(endpoint); 307generatedEndpoints.Add(endpoint);
System\ServiceModel\ServiceHost.cs (11)
300endpointDictionary[listenUriInfo].Add(endpoint); 375this.Description.Endpoints.Add(serviceEndpoint); 418this.Description.Endpoints.Add(endpoint); 580description.Behaviors.Add(a); 594description.Behaviors.Add(a); 607description.Behaviors.Add(m); 621description.Behaviors.Add(c); 671endpoints.Add(inputEndpoint); 1981description.Behaviors.Add((IServiceBehavior)serviceInstanceUsedAsABehavior); 2002reflectedContracts.Add(contract); 2009reflectedContracts.Add(inheritedContract);
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (9)
284result.Authors.Add(ReadPersonFrom(reader, result)); 288result.Categories.Add(ReadCategoryFrom(reader, result)); 292result.Contributors.Add(ReadPersonFrom(reader, result)); 304result.Links.Add(ReadLinkFrom(reader, result)); 339result.Authors.Add(ReadPersonFrom(reader, result)); 343result.Categories.Add(ReadCategoryFrom(reader, result)); 351result.Contributors.Add(ReadPersonFrom(reader, result)); 359result.Links.Add(ReadLinkFrom(reader, result)); 547items.Add(ReadItem(reader, feed));
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (5)
292inlineCategories.Categories.Add(category); 501result.Categories.Add(ReadCategories(reader, 519result.Accepts.Add(reader.ReadElementString()); 601result.Workspaces.Add(ReadWorkspace(reader, result)); 689result.Collections.Add(ReadCollection(reader, result));
System\ServiceModel\Syndication\FeedUtils.cs (3)
34result.Add(categories[i].Clone()); 48result.Add(links[i].Clone()); 62result.Add(persons[i].Clone());
System\ServiceModel\Syndication\InlineCategoriesDocument.cs (1)
38this.categories.Add(category);
System\ServiceModel\Syndication\ResourceCollectionInfo.cs (2)
61this.categories.Add(category); 69this.accepts.Add(accept);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (10)
235items.Add(ReadItem(reader, feed)); 622result.Links.Add(ReadAlternateLink(reader, result.BaseUri)); 631result.Authors.Add(ReadPerson(reader, result)); 635result.Categories.Add(ReadCategory(reader, result)); 639result.Links.Add(ReadMediaEnclosure(reader, result.BaseUri)); 685feed.Links.Add(SyndicationLink.CreateSelfLink(new Uri(val, UriKind.RelativeOrAbsolute))); 737result.Links.Add(SyndicationLink.CreateAlternateLink(new Uri(fallbackAlternateLink, UriKind.RelativeOrAbsolute))); 934result.Links.Add(ReadAlternateLink(reader, result.BaseUri)); 950result.Authors.Add(ReadPerson(reader, result)); 968result.Categories.Add(ReadCategory(reader, result));
System\ServiceModel\Syndication\ServiceDocument.cs (1)
33this.workspaces.Add(workspace);
System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs (8)
43base.Add(source.Items[i]); 52base.Add((SyndicationElementExtension) extension); 80base.Add(new SyndicationElementExtension(outerName, outerNamespace, dataContractExtension, dataContractSerializer)); 93base.Add(new SyndicationElementExtension(xmlSerializerExtension, serializer)); 102base.Add(new SyndicationElementExtension(xmlReader)); 236base.Add(new SyndicationElementExtension(this.buffer, index, reader.LocalName, reader.NamespaceURI)); 264results.Add(this[i].GetObject<TExtension>(dcSerializer)); 268results.Add(this[i].GetObject<TExtension>(xmlSerializer));
System\ServiceModel\Syndication\SyndicationFeed.cs (2)
76this.Links.Add(SyndicationLink.CreateAlternateLink(feedAlternateLink)); 109tmp.Add((cloneItems) ? srcList[i].Clone() : srcList[i]);
System\ServiceModel\Syndication\SyndicationItem.cs (2)
60this.Links.Add(SyndicationLink.CreateAlternateLink(itemAlternateLink)); 241this.Links.Add(SyndicationLink.CreateAlternateLink(permalink));
System\ServiceModel\Syndication\Workspace.cs (1)
39this.collections.Add(collection);
System\ServiceModel\TransactionFlowAttribute.cs (1)
57parameters.Add(dictionary);
System\ServiceModel\WSDualHttpBinding.cs (8)
342bindingElements.Add(txFlow); 344bindingElements.Add(session); 349bindingElements.Add(wsSecurity); 353bindingElements.Add(compositeDuplex); 356bindingElements.Add(oneWay); 362bindingElements.Add(textEncoding); 366bindingElements.Add(mtomEncoding); 370bindingElements.Add(httpTransport);
System\ServiceModel\WSHttpBindingBase.cs (6)
301bindingElements.Add(txFlow); 305bindingElements.Add(session); 312bindingElements.Add(wsSecurity); 318bindingElements.Add(textEncoding); 320bindingElements.Add(mtomEncoding); 323bindingElements.Add(GetTransport());
System\UriTemplate.cs (2)
790relativeSegments.Add(relPathSeg); 817relativeSegments.Add(relPathSeg);
System\UriTemplateMatch.cs (1)
168this.wildcardPathSegments.Add(this.RelativePathSegments[i]);
System\UriTemplateTable.cs (7)
186nextCandidates.Add(candidates[i]); 200nextCandidates.Add(candidates[i]); 232nextCandidates.Add(candidate); 238nextCandidates.Add(candidate); 242nextCandidates.Add(candidate); 258actualResults.Add(match); 578base.Add(kvp);
System\UriTemplateTrieNode.cs (2)
706subItems.Add(new CollectionItem(segment, value)); 712subItems.Add(new CollectionItem(segment, value));
System.ServiceModel.Activation (10)
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (5)
144description.Behaviors.Add(new HostedBindingBehavior(virtualPathExtension)); 151endpoint.Behaviors.Add(new HostedMetadataExchangeEndpointBehavior()); 175description.Behaviors.Add(aspNetCompatibilityRequirements); 430bindingParameters.Add(new HostedMetadataBindingParameter()); 608bindingParameters.Add(new HostedMetadataBindingParameter());
System\ServiceModel\Activation\HostedBindingBehavior.cs (1)
37parameters.Add(this.virtualPathExtension);
System\ServiceModel\Activation\HttpHostedTransportConfiguration.cs (1)
81tempDirectory.Add(httpManager);
System\ServiceModel\Activation\ServiceHostFactory.cs (1)
26this.referencedAssemblies.Add(assemblyName);
System\ServiceModel\ServiceHostingEnvironment.cs (2)
1390service.Description.Behaviors.Add(new ApplyHostConfigurationBehavior()); 1394service.Description.Behaviors.Add(new UseRequestHeadersForMetadataAddressBehavior());
System.ServiceModel.Activities (80)
System\ServiceModel\Activities\ContractInferenceHelper.cs (29)
99contract.Operations.Add(operation); 118operation.Messages.Add(message); 125contract.Operations.Add(operation); 145operation.Messages.Add(request); 146operation.Messages.Add(reply); 153contract.Operations.Add(operation); 172serviceEndpoint.Contract.Operations[0].Behaviors.Add(new TransactionFlowAttribute(TransactionFlowOption.Allowed)); 201operation.Behaviors.Add(new TransactionFlowAttribute(TransactionFlowOption.Allowed)); 220operation.Messages.Add(request); 221operation.Messages.Add(reply); 228contract.Operations.Add(operation); 286contract.Operations.Add(operation); 350operation.Messages.Add(message); 362operation.Messages.Add(message); 374operation.Messages.Add(message); 387operation.Messages.Add(message); 396operation.KnownTypes.Add(knownType); 445operationDescription.Behaviors.Add(attr); 459operationDescription.Behaviors.Add(new TransactionFlowAttribute(TransactionFlowOption.Allowed)); 489operation.Behaviors.Add(new DataContractSerializerOperationBehavior(operation, DataContractFormatAttribute)); 503operation.Behaviors.Add(new XmlSerializerOperationBehavior(operation, XmlSerializerFormatAttribute)); 516behaviors.Add(new WorkflowOperationBehavior(new Bookmark(bookmarkName), canCreateInstance)); 596operation.Faults.Add(faultDescription); 614operation.KnownTypes.Add(knownType); 629behaviors.Add(formatterBehavior); 632formatterBehavior.Receives.Add(receive); 687queryCollection.Add(correlationQuery); 694queryCollection.Add(noActionQuery); 725correlationQuery.SelectAdditional.Add(queryCorrelation.MessageQuerySet);
System\ServiceModel\Activities\Description\WorkflowContractBehaviorAttribute.cs (1)
36operation.Behaviors.Add(new ControlOperationBehavior(true));
System\ServiceModel\Activities\InternalSendMessage.cs (2)
346serviceEndpoint.Behaviors.Add(correlationQueryBehavior); 3057this.correlationQueries.Add(query);
System\ServiceModel\Activities\MessageBuilder.cs (2)
178message.Body.Parts.Add(messagePart); 209message.Body.Parts.Add(messagePart);
System\ServiceModel\Activities\Receive.cs (2)
401result.CorrelationInitializers.Add(correlation.Clone()); 509receiveActivity.KnownTypes.Add(knownType);
System\ServiceModel\Activities\ReceiveMessageContent.cs (2)
122requestFormatter.Parameters.Add(OutArgument.CreateReference(this.Message, "Message")); 146responseFormatter.Parameters.Add(OutArgument.CreateReference(this.Message, "Message"));
System\ServiceModel\Activities\ReceiveParametersContent.cs (2)
123requestFormatter.Parameters.Add(OutArgument.CreateReference(parameter.Value, parameter.Key)); 132responseFormatter.Parameters.Add(OutArgument.CreateReference(parameter.Value, parameter.Key));
System\ServiceModel\Activities\ReceiveReply.cs (1)
231result.CorrelationInitializers.Add(correlation.Clone());
System\ServiceModel\Activities\Send.cs (1)
333result.CorrelationInitializers.Add(correlation.Clone());
System\ServiceModel\Activities\SendMessageContent.cs (2)
138requestFormatter.Parameters.Add(InArgument.CreateReference(this.Message, "Message")); 161responseFormatter.Parameters.Add(InArgument.CreateReference(this.Message, "Message"));
System\ServiceModel\Activities\SendParametersContent.cs (2)
141requestFormatter.Parameters.Add(InArgument.CreateReference(parameter.Value, parameter.Key)); 151responseFormatter.Parameters.Add(InArgument.CreateReference(parameter.Value, parameter.Key));
System\ServiceModel\Activities\SendReply.cs (1)
204result.CorrelationInitializers.Add(correlation.Clone());
System\ServiceModel\Activities\Tracking\Configuration\ActivityStateQueryElement.cs (3)
79query.States.Add(stateElement.Name); 84query.Variables.Add(variableQueryElement.Name); 89query.Arguments.Add(argumentQueryElement.Name);
System\ServiceModel\Activities\Tracking\Configuration\ProfileWorkflowElement.cs (1)
152queries.Add(queryElement.CreateTrackingQuery());
System\ServiceModel\Activities\Tracking\Configuration\TrackingSection.cs (1)
73this.trackingProfiles.Add(profile);
System\ServiceModel\Activities\Tracking\Configuration\WorkflowInstanceQueryElement.cs (1)
43query.States.Add(stateElement.Name);
System\ServiceModel\Activities\Tracking\DefaultProfileManager.cs (1)
149this.trackingProfiles.Add(profile);
System\ServiceModel\Activities\TransactedReceiveScope.cs (1)
39base.Constraints.Add(ProcessChildSubtreeConstraints());
System\ServiceModel\Activities\WorkflowControlEndpoint.cs (2)
76tempControlServiceContract.Behaviors.Add(new ServiceMetadataContractBehavior(true)); 164operationDescription.Behaviors.Add(new ControlOperationBehavior(false));
System\ServiceModel\Activities\WorkflowDefinitionProvider.cs (2)
65identityCollection.Add(this.DefaultDefinitionIdentity); 68identityCollection.Add(identityKey.Identity);
System\ServiceModel\Activities\WorkflowHostingEndpoint.cs (4)
32this.Contract.Behaviors.Add(new ServiceMetadataContractBehavior(false)); 33this.Contract.Behaviors.Add(new WorkflowHostingContractBehavior()); 36this.Behaviors.Add(new CorrelationQueryBehavior(this.correlationQueries)); 109operation.Behaviors.Add(new WorkflowHostingOperationBehavior());
System\ServiceModel\Activities\WorkflowService.cs (9)
254errors.Add(validationError); 259errors.Add(validationWarning); 277validationError.Add(new ValidationError(SR.DuplexContractsNotSupported)); 328errors.Add(new ValidationError(SR.OperationIsNotImplemented(property.Operation.Name, property.Operation.DeclaringContract.Name), true)); 337errors.Add(new ValidationError(SR.TwoWayIsImplementedAsOneWay(property.Operation.Name, property.Operation.DeclaringContract.Name), true, string.Empty, recv)); 369validationErrors.Add(new ValidationError(SR.DuplicatedContract(operation.DeclaringContract.Name, operation.Name), true)); 386validationErrors.Add(new ValidationError(exception.Message)); 439contract.Operations.Add(operation); 750queries.Add(correlationQuery);
System\ServiceModel\Activities\WorkflowServiceHost.cs (7)
362base.Description.Endpoints.Add(serviceEndpoint); 451serviceDescription.Behaviors.Add(new WorkflowServiceBehavior(this.workflowDefinitionProvider)); 605uniqueQueries.Add(correlationQuery); 615serviceEndpoint.Behaviors.Add(new CorrelationQueryBehavior(uniqueQueries) { ServiceContractName = endpointContractName }); 621serviceEndpoint.Behaviors.Add(new CorrelationQueryBehavior(new Collection<CorrelationQuery>()) { ServiceContractName = endpointContractName }); 665this.Description.Behaviors.Add(new BufferedReceiveServiceBehavior()); 701operation.Behaviors.Add(new ReceiveContextEnabledAttribute() { ManualControl = true });
System\ServiceModel\CorrelationQuery.cs (1)
139cloneQuery.SelectAdditional.Add(messageQuerySet);
System.ServiceModel.Channels (4)
System\ServiceModel\Channels\UdpTransportBindingElementPolicy.cs (1)
42assertions.Add(assertion);
System\ServiceModel\Channels\UdpTransportImporter.cs (1)
54context.BindingElements.Add(transport);
System\ServiceModel\UdpBinding.cs (2)
169bindingElements.Add(this.textEncoding); 170bindingElements.Add(this.udpTransport);
System.ServiceModel.Discovery (52)
System\ServiceModel\Discovery\AnnouncementDispatcherAsyncResult.cs (1)
211messageIds.Add(new UniqueId());
System\ServiceModel\Discovery\AnnouncementEndpoint.cs (1)
36this.EndpointBehaviors.Add(new DispatcherSynchronizationBehavior { AsynchronousSendEnabled = true });
System\ServiceModel\Discovery\Configuration\DynamicEndpointElement.cs (1)
118dynamicEndpoint.FindCriteria.ContractTypeNames.Add(
System\ServiceModel\Discovery\Configuration\EndpointDiscoveryElement.cs (3)
136behavior.Scopes.Add(scopeElement.Scope); 144behavior.ContractTypeNames.Add( 153behavior.Extensions.Add(XElement.Parse(xmlElement.XmlElement.OuterXml));
System\ServiceModel\Discovery\Configuration\FindCriteriaElement.cs (3)
173findCriteria.ContractTypeNames.Add( 181findCriteria.Scopes.Add(scopeElement.Scope); 186findCriteria.Extensions.Add(XElement.Parse(xmlElement.XmlElement.OuterXml));
System\ServiceModel\Discovery\Configuration\ServiceDiscoveryElement.cs (1)
99serviceDiscoveryBehavior.AnnouncementEndpoints.Add(announcementEndpoint);
System\ServiceModel\Discovery\DiscoveryEndpoint.cs (2)
37base.Behaviors.Add(new DiscoveryOperationContextExtensionInitializer(this.discoveryOperationContextExtension)); 38base.Behaviors.Add(new DiscoveryEndpointValidator());
System\ServiceModel\Discovery\DiscoveryUtility.cs (4)
22endpointDiscoveryMetadataCollection.Add(endpointDiscoveryMetadataApril2005.ToEndpointDiscoveryMetadata()); 33endpointDiscoveryMetadataCollection.Add(endpointDiscoveryMetadataCD1.ToEndpointDiscoveryMetadata()); 44endpointDiscoveryMetadataCollection.Add(endpointDiscoveryMetadata11.ToEndpointDiscoveryMetadata()); 61operationDescription.Behaviors.Add(operationBehaviorAttribute);
System\ServiceModel\Discovery\DynamicEndpoint.cs (1)
37this.FindCriteria.ContractTypeNames.Add(
System\ServiceModel\Discovery\EndpointDiscoveryMetadata.cs (7)
209endpointDiscoveryMetadata.ListenUris.Add(listenUri); 233endpointDiscoveryMetadata.ContractTypeNames.Add(contractTypeName); 241endpointDiscoveryMetadata.Scopes.Add(scope); 248endpointDiscoveryMetadata.Extensions.Add(xElement); 257endpointDiscoveryMetadata.ContractTypeNames.Add(defaultContractTypeName); 272endpointDiscoveryMetadata.Scopes.Add(FindCriteria.GetContractTypeNameScope( 400this.Extensions.Add(XElement.ReadFrom(reader) as XElement);
System\ServiceModel\Discovery\FindCriteria.cs (8)
57contractTypeNamesArg.Add(GetContractTypeName(contractType)); 162criteria.ContractTypeNames.Add(EndpointDiscoveryMetadata.MetadataContractName); 170criteria.Scopes.Add(GetContractTypeNameScope(GetContractTypeName(contractType))); 190criteria.Scopes.Add(GetContractTypeNameScope(item)); 348Extensions.Add(xElement); 422findCriteriaClone.Scopes.Add(scope); 427findCriteriaClone.ContractTypeNames.Add(new XmlQualifiedName(contractTypeName.Name, contractTypeName.Namespace)); 432findCriteriaClone.Extensions.Add(new XElement(extension));
System\ServiceModel\Discovery\FindResponse.cs (1)
51this.endpoints.Add(endpointDiscoveryMetadata);
System\ServiceModel\Discovery\ProbeRequestResponseAsyncResult.cs (1)
150this.matchingEndpoints.Add(matchingEndpoint);
System\ServiceModel\Discovery\ResolveCriteria.cs (1)
127Extensions.Add(xElement);
System\ServiceModel\Discovery\SerializationUtility.cs (2)
61qNameCollection.Add(ParseQName(prefixedQNames[i], reader)); 78uriCollection.Add(new Uri(uriStrings[i], uriKind));
System\ServiceModel\Discovery\ServiceDiscoveryBehavior.cs (2)
74appEndpoints[i].Behaviors.Add( 184this.publishedEndpointCollection.Add(endpointDiscoveryMetadata);
System\ServiceModel\Discovery\UdpAnnouncementEndpoint.cs (4)
103binding.Elements.Add(textBE); 104binding.Elements.Add(udpBE); 110base.Behaviors.Add(this.viaBehavior); 111base.Behaviors.Add(new UdpContractFilterBehavior());
System\ServiceModel\Discovery\UdpDiscoveryEndpoint.cs (6)
64base.Behaviors.Add(new DispatcherSynchronizationBehavior { AsynchronousSendEnabled = true }); 108binding.Elements.Add(textBE); 109binding.Elements.Add(udpBE); 114base.Behaviors.Add(this.viaBehavior); 115base.Behaviors.Add(new UdpReplyToBehavior(udpBE.Scheme)); 116base.Behaviors.Add(new UdpContractFilterBehavior());
System\ServiceModel\Discovery\Version11\ProbeMatches11.cs (1)
32probeMatches.Add(EndpointDiscoveryMetadata11.FromEndpointDiscoveryMetadata(endpointDiscoveryMetadata));
System\ServiceModel\Discovery\VersionApril2005\ProbeMatchesApril2005.cs (1)
32probeMatches.Add(EndpointDiscoveryMetadataApril2005.FromEndpointDiscoveryMetadata(endpointDiscoveryMetadata));
System\ServiceModel\Discovery\VersionCD1\ProbeMatchesCD1.cs (1)
32probeMatches.Add(EndpointDiscoveryMetadataCD1.FromEndpointDiscoveryMetadata(endpointDiscoveryMetadata));
System.ServiceModel.Routing (6)
System\ServiceModel\Routing\ClientFactory.cs (3)
125behaviors.Add(behavior); 132behaviors.Add(new MustUnderstandBehavior(false)); 138behaviors.Add(new SoapProcessingBehavior());
System\ServiceModel\Routing\RoutingBehavior.cs (3)
69endpoint.Behaviors.Add(new RoutingEndpointBehavior(endpoint)); 196operation.Behaviors.Add(new TransactedReceiveOperationBehavior()); 211operation.Behaviors.Add(rcEnabled);
System.ServiceModel.Web (13)
System\ServiceModel\Description\WebHttpBehavior.cs (4)
544endpointDispatcher.DispatchRuntime.ChannelDispatcher.ErrorHandlers.Add(errorHandler); 837bodyParametersClone.Add(copy); 919operationDescription.Messages[0].Body.Parts.Add(parts[i]); 928operationDescription.Messages[0].Body.Parts.Add(originalParts[i]);
System\ServiceModel\Description\WebHttpEndpoint.cs (1)
25this.Behaviors.Add(new WebHttpBehavior());
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
236endpointDispatcher.ChannelDispatcher.ErrorHandlers.Add(new JsonErrorHandler(endpoint, endpointDispatcher.ChannelDispatcher.IncludeExceptionDetailInFaults));
System\ServiceModel\Description\WebScriptEndpoint.cs (1)
31this.Behaviors.Add(new WebScriptEnablingBehavior());
System\ServiceModel\Dispatcher\SingleBodyParameterDataContractMessageFormatter.cs (1)
197options.KnownTypes.Add(knownType);
System\ServiceModel\Web\WebChannelFactory.cs (1)
78this.Endpoint.Behaviors.Add(new WebHttpBehavior());
System\ServiceModel\Web\WebServiceHost.cs (1)
236serviceEndpoint.Behaviors.Add(new WebHttpBehavior());
System\ServiceModel\WebHttpBinding.cs (2)
222bindingElements.Add(webMessageEncodingBindingElement); 224bindingElements.Add(GetTransport());
System\ServiceModel\WebScriptServiceHost.cs (1)
40endpoint.Behaviors.Add(new WebScriptEnablingBehavior());
System.Web (10)
Management\MailWebEventProvider.cs (2)
115msg.CC.Add(new MailAddress(_cc)); 119msg.Bcc.Add(new MailAddress(_bcc));
ModelBinding\ModelErrorCollection.cs (2)
9Add(new ModelError(exception)); 13Add(new ModelError(errorMessage));
Routing\RouteCollection.cs (2)
80Add(item); 316Add(route);
UI\WebControls\MailDefinition.cs (2)
311view.LinkedResources.Add(lr); 320message.AlternateViews.Add(view);
UI\WebControls\Menu.cs (1)
1795CachedLevelsContainingCssClass.Add(depth);
UI\WebControls\TreeView.cs (1)
1886CachedLevelsContainingCssClass.Add(depth);
System.Web.DataVisualization (98)
Common\Annotation\AnnotationBase.cs (1)
3449 collection.Add(this);
Common\Annotation\PolygonAnnotation.cs (1)
527_pathPoints.Add(new AnnotationPathPoint(points[index].X, points[index].Y, types[index]));
Common\ChartTypes\KagiChart.cs (5)
139 chart.Series.Add(seriesOriginalData); 142 seriesOriginalData.Points.Add(dp); 232 kagiSeries.Points.Add(dp); 380 series.Points.Add(newDataPoint); 433 series.Points.Add(newDataPoint);
Common\ChartTypes\PieChart.cs (4)
324 chart.Series.Add(seriesOriginalData); 327 seriesOriginalData.Points.Add(dp.Clone()); 423 series.Points.Add(collectedPoint); 496 pieSeries.Points.Add(dp);
Common\ChartTypes\PointAndFigureChart.cs (5)
163 chart.Series.Add(seriesOriginalData); 166 seriesOriginalData.Points.Add(dp); 264 pointAndFigureSeries.Points.Add(dp); 684 series.Points.Add(newDataPoint); 773 pointAndFigureSeries.Points.Add(emptyPoint);
Common\ChartTypes\RenkoChart.cs (4)
142 chart.Series.Add(seriesOriginalData); 145 seriesOriginalData.Points.Add(dp); 237renkoSeries.Points.Add(dp); 516 series.Points.Add(newDataPoint);
Common\ChartTypes\ThreeLineBreakChart.cs (4)
143 chart.Series.Add(seriesOriginalData); 146 seriesOriginalData.Points.Add(dp); 238threeLineBreakSeries.Points.Add(dp); 494 series.Points.Add(newDataPoint);
Common\DataManager\DataPoint.cs (11)
332this.Add(point); 549this.Add(newDataPoint); 562this.Add(newDataPoint); 728this.Add(newDataPoint); 741this.Add(newDataPoint); 920this.Add(newDataPoint); 933this.Add(newDataPoint); 982Add(newDataPoint); 1021Add(newDataPoint); 1039Add(newDataPoint); 1093Add(newDataPoint);
Common\DataManager\DataSeries.cs (2)
132this.Add(series); 1529fakeDataPoints.Add(p);
Common\General\Axis.cs (8)
3185tempLabels.Add(label.Clone()); 3277CustomLabels.Add(label.Clone()); 3810originalLabels.Add(label.Clone()); 3828this.CustomLabels.Add(label.Clone()); 4105 this.CustomLabels.Add(label); 4222 this.CustomLabels.Add(label.Clone()); 4346 this.CustomLabels.Add(label); 4390 CustomLabels.Add(label.Clone());
Common\General\AxisLabels.cs (1)
264this.CustomLabels.Add(label.Clone());
Common\General\BaseCollections.cs (1)
318this.Add(value);
Common\General\Chart.cs (8)
897 series.Points.Add(newDataPoint); 910 series.Points.Add(newDataPoint); 1304 series.Points.Add(newDataPoint); 1317 series.Points.Add(newDataPoint); 1348 this.Common.Chart.Series.Add(series); 1429this.Common.Chart.Series.Add(series); 3667custCollection.Add(_mapAreas[index]); 3680_mapAreas.Add(area);
Common\General\ChartAreaCollection.cs (1)
85this.Add(area);
Common\General\DataManipulator.cs (4)
347Common.DataManager.Series.Add(newSeries); 1238 output[seriesIndex].Points.Add(point.Clone()); 1376 output[seriesIndex].Points.Add(inputSeries[seriesIndex].Points[pointIndex].Clone()); 2275 inputTemp.Points.Add(dp);
Common\General\FormulaData.cs (2)
662Common.DataManager.Series.Add(new Series(parts[0])); 842series[1].Points.Add(clonePoint);
Common\General\Label.cs (5)
193Add(label); 209Add(label); 225Add(label); 242Add(label); 350this.Add(label);
Common\General\Legend.cs (8)
2226 legendItems.Add(item); 2275legendItems.Add(item); 2296 legendItems.Add(item); 2307 legendItems.Add(item); 4882this.Add(legend); 5101 Add(item); 5127Add(item); 6149 this.Cells.Add(legendColumn.CreateNewCell());
Common\General\LegendColumns.cs (1)
2823 Add(new LegendCell(cellType, text, alignment));
Common\General\Selection.cs (2)
924 _common.ChartPicture.MapAreas.Add( area); 996_common.ChartPicture.MapAreas.Add( area);
Common\General\Statistics.cs (19)
128 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 190 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 253 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 316 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 395 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 452 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 500 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 536 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 578 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 620 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 670 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 710 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 755 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 799 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 839 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 879 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 921 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 968 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 1005 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) );
Common\General\Title.cs (1)
2042this.Add(title);
System.Web.Extensions (15)
ApplicationServices\ApplicationServiceHelper.cs (1)
206metadatas.Add(metadata);
ApplicationServices\ProfileService.cs (10)
179sc.Add(propertyName); 183sc.Add(propertyName); 187sc.Add(propertyName); 191sc.Add(propertyName); 198sc.Add(propertyName); 203sc.Add(propertyName); 209sc.Add(propertyName); 218sc.Add(propertyName); 221sc.Add(propertyName); 224sc.Add(propertyName);
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (1)
1287wsdlImportExtensions.Add(new HttpBindingExtension());
Profile\ProfileService.cs (1)
121failedSettings.Add(propertyName);
UI\ScriptManager.cs (2)
1485sm.Scripts.Add(new ScriptReference() { Name = resourceName }); 1555Scripts.Add(reference);
System.Windows.Forms (2)
winforms\Managed\System\WinForms\FileDialogCustomPlacesCollection.cs (2)
45Add(new FileDialogCustomPlace(path)); 50Add(new FileDialogCustomPlace(knownFolderGuid));
System.Windows.Forms.DataVisualization (91)
Common\Annotation\AnnotationBase.cs (1)
3449 collection.Add(this);
Common\Annotation\PolygonAnnotation.cs (1)
527_pathPoints.Add(new AnnotationPathPoint(points[index].X, points[index].Y, types[index]));
Common\ChartTypes\KagiChart.cs (4)
142 seriesOriginalData.Points.Add(dp); 232 kagiSeries.Points.Add(dp); 380 series.Points.Add(newDataPoint); 433 series.Points.Add(newDataPoint);
Common\ChartTypes\PieChart.cs (3)
327 seriesOriginalData.Points.Add(dp.Clone()); 423 series.Points.Add(collectedPoint); 496 pieSeries.Points.Add(dp);
Common\ChartTypes\PointAndFigureChart.cs (4)
166 seriesOriginalData.Points.Add(dp); 264 pointAndFigureSeries.Points.Add(dp); 684 series.Points.Add(newDataPoint); 773 pointAndFigureSeries.Points.Add(emptyPoint);
Common\ChartTypes\RenkoChart.cs (3)
145 seriesOriginalData.Points.Add(dp); 237renkoSeries.Points.Add(dp); 516 series.Points.Add(newDataPoint);
Common\ChartTypes\ThreeLineBreakChart.cs (3)
146 seriesOriginalData.Points.Add(dp); 238threeLineBreakSeries.Points.Add(dp); 494 series.Points.Add(newDataPoint);
Common\DataManager\DataPoint.cs (11)
332this.Add(point); 549this.Add(newDataPoint); 562this.Add(newDataPoint); 728this.Add(newDataPoint); 741this.Add(newDataPoint); 920this.Add(newDataPoint); 933this.Add(newDataPoint); 982Add(newDataPoint); 1021Add(newDataPoint); 1039Add(newDataPoint); 1093Add(newDataPoint);
Common\DataManager\DataSeries.cs (2)
132this.Add(series); 1529fakeDataPoints.Add(p);
Common\General\Axis.cs (8)
3185tempLabels.Add(label.Clone()); 3277CustomLabels.Add(label.Clone()); 3810originalLabels.Add(label.Clone()); 3828this.CustomLabels.Add(label.Clone()); 4105 this.CustomLabels.Add(label); 4222 this.CustomLabels.Add(label.Clone()); 4346 this.CustomLabels.Add(label); 4390 CustomLabels.Add(label.Clone());
Common\General\AxisLabels.cs (1)
264this.CustomLabels.Add(label.Clone());
Common\General\BaseCollections.cs (1)
318this.Add(value);
Common\General\Chart.cs (6)
897 series.Points.Add(newDataPoint); 910 series.Points.Add(newDataPoint); 1304 series.Points.Add(newDataPoint); 1317 series.Points.Add(newDataPoint); 3667custCollection.Add(_mapAreas[index]); 3680_mapAreas.Add(area);
Common\General\ChartAreaCollection.cs (1)
85this.Add(area);
Common\General\DataManipulator.cs (4)
347Common.DataManager.Series.Add(newSeries); 1238 output[seriesIndex].Points.Add(point.Clone()); 1376 output[seriesIndex].Points.Add(inputSeries[seriesIndex].Points[pointIndex].Clone()); 2275 inputTemp.Points.Add(dp);
Common\General\FormulaData.cs (2)
662Common.DataManager.Series.Add(new Series(parts[0])); 842series[1].Points.Add(clonePoint);
Common\General\Label.cs (5)
193Add(label); 209Add(label); 225Add(label); 242Add(label); 350this.Add(label);
Common\General\Legend.cs (8)
2226 legendItems.Add(item); 2275legendItems.Add(item); 2296 legendItems.Add(item); 2307 legendItems.Add(item); 4882this.Add(legend); 5101 Add(item); 5127Add(item); 6149 this.Cells.Add(legendColumn.CreateNewCell());
Common\General\LegendColumns.cs (1)
2823 Add(new LegendCell(cellType, text, alignment));
Common\General\Selection.cs (2)
924 _common.ChartPicture.MapAreas.Add( area); 996_common.ChartPicture.MapAreas.Add( area);
Common\General\Statistics.cs (19)
128 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 190 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 253 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 316 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 395 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 452 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 500 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 536 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 578 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 620 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 670 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 710 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 755 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 799 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 839 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 879 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 921 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 968 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) ); 1005 _formulaData.Common.DataManager.Series.Add( new Series(_tempOutputSeriesName) );
Common\General\Title.cs (1)
2042this.Add(title);
System.Workflow.Activities (226)
Code.cs (1)
80errors.Add(ValidationError.GetNotSetValidationError("ExecuteCode"));
CodeExpressionRuleDeclaration.cs (1)
100errors.Add(ValidationError.GetNotSetValidationError(GetFullPropertyName(manager) + ".Condition"));
Common\BasePropertyDescriptor.cs (1)
513parameters.Add(binding);
Common\ValidationHelpers.cs (1)
119validationErrors.Add(duplicateError);
Conditional.cs (2)
149validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ConditionalLessThanOneChildren), ErrorNumbers.Error_IfElseLessThanOneChildren)); 156validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ConditionalDeclNotAllConditionalBranchDecl), ErrorNumbers.Error_IfElseNotAllIfElseBranchDecl));
ConditionalBranch.cs (2)
73validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ConditionalBranchParentNotConditional), ErrorNumbers.Error_ConditionalBranchParentNotConditional)); 79validationErrors.Add(ValidationError.GetNotSetValidationError("Condition"));
ConstrainedGroup.cs (1)
179validationErrors.Add(error);
CorrelationValidator.cs (31)
42validationErrors.Add(error); 51validationErrors.Add(error); 74validationErrors.Add(new ValidationError(SR.GetString(SR.Error_MissingMethodName, activity.Name, ((CallExternalMethodActivity)activity).MethodName), ErrorNumbers.Error_MissingMethodName)); 81validationErrors.Add(error); 94validationErrors.Add(new ValidationError(SR.GetString(SR.Error_MissingEventName, activity.Name, ((HandleExternalEventActivity)activity).EventName), ErrorNumbers.Error_MissingMethodName)); 110validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_CorrelationTokenSpecifiedForUncorrelatedInterface), activity.QualifiedName, interfaceType), ErrorNumbers.Error_InvalidIdentifier, false, "CorrelationToken")); 121validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_MissingCorrelationTokenProperty), activity.QualifiedName), ErrorNumbers.Error_ParameterPropertyNotSet, false, "CorrelationToken")); 127validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_MissingCorrelationTokenOwnerNameProperty), activity.QualifiedName), ErrorNumbers.Error_ParameterPropertyNotSet, false, "CorrelationToken")); 160validationErrors.Add(error); 174validationErrors.Add(error); 202validationErrors.Add(error); 290validationErrors.Add(error); 295validationErrors.Add(error); 303validationErrors.Add(error); 433validationErrors.Add(error); 444validationErrors.Add(error); 458validationErrors.Add(error); 480validationErrors.Add(error); 487validationErrors.Add(error); 578validationErrors.Add(error); 604validationErrors.Add(error); 611validationErrors.Add(error); 620validationErrors.Add(error); 647validationErrors.Add(error); 677validationErrors.Add(error); 685validationErrors.Add(error); 693validationErrors.Add(error); 880validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_InvalidEventArgsSignature, operation)), ErrorNumbers.Error_FieldNotExists, false, "EventName")); 891validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_InvalidEventPropertyName, paramName)), ErrorNumbers.Error_FieldNotExists, false, "ParameterBindings")); 893validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_InvalidMethodPropertyName, paramName)), ErrorNumbers.Error_FieldNotExists, false, "ParameterBindings")); 929validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture,
Delay.cs (1)
161errors.Add(new ValidationError(SR.GetString(SR.Error_NegativeValue, new object[] { delay.TimeoutDuration.ToString(), "TimeoutDuration" }), ErrorNumbers.Error_NegativeValue));
EventDriven.cs (2)
70validationErrors.Add(new ValidationError(SR.GetError_EventDrivenParentNotListen(), ErrorNumbers.Error_EventDrivenParentNotListen)); 87validationErrors.Add(new ValidationError(message, errorNumber));
EventHandlers.cs (3)
477validationErrors.Add(new ValidationError(SR.GetString(SR.Error_MustHaveParent), ErrorNumbers.Error_EventHandlersDeclParentNotScope)); 483validationErrors.Add(new ValidationError(SR.GetString(SR.Error_EventHandlersDeclParentNotScope, eventHandlers.Parent.QualifiedName), ErrorNumbers.Error_EventHandlersDeclParentNotScope)); 494validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ListenNotAllEventDriven), ErrorNumbers.Error_ListenNotAllEventDriven));
EventHandlingScope.cs (2)
230validationErrors.Add(new ValidationError(SR.GetString(SR.Error_MoreThanTwoActivitiesInEventHandlingScope, compositeActivity.QualifiedName), ErrorNumbers.Error_MoreThanTwoActivitiesInEventHandlingScope)); 234validationErrors.Add(new ValidationError(SR.GetString(SR.Error_MoreThanOneEventHandlersDecl, compositeActivity.GetType().Name), ErrorNumbers.Error_ScopeMoreThanOneEventHandlersDecl));
Executors\InvokeBase.cs (2)
21parameterBindings.Add(new WorkflowParameterBinding(parameter.Name)); 27parameterBindings.Add(new WorkflowParameterBinding("(ReturnValue)"));
InvokeSchedule.cs (6)
203validationErrors.Add(error); 223validationErrors.Add(error); 241validationErrors.Add(error); 253validationErrors.Add(validationError); 277validationErrors.Add(validationError); 291validationErrors.Add(validationError);
InvokeWebService.cs (5)
437validationErrors.Add(error); 449validationErrors.Add(ValidationError.GetNotSetValidationError("MethodName")); 457validationErrors.Add(error); 485validationErrors.Add(validationError); 507validationErrors.Add(new ValidationError(SR.GetString(SR.Warning_AdditionalBindingsFound), ErrorNumbers.Warning_AdditionalBindingsFound, true));
Listen.cs (2)
301validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ListenLessThanTwoChildren), ErrorNumbers.Error_ListenLessThanTwoChildren)); 313validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ListenNotAllEventDriven), ErrorNumbers.Error_ListenNotAllEventDriven));
Parallel.cs (2)
206validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ParallelLessThanTwoChildren), ErrorNumbers.Error_ParallelLessThanTwoChildren)); 220validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ParallelNotAllSequence), ErrorNumbers.Error_ParallelNotAllSequence));
Rules\DeclarativeConditionsCollection.cs (1)
105base.Add(item);
Rules\DeclarativeExpressionConditionDeclaration.cs (5)
385validationErrors.Add(validationError); 411validationErrors.Add(validationError); 419validationErrors.Add(validationError); 432validationErrors.Add(validationError); 450validationErrors.Add(validationError);
Rules\Expressions.cs (70)
52validation.Errors.Add(error); 121validation.Errors.Add(error); 195validation.Errors.Add(error); 206validation.Errors.Add(error); 227validation.Errors.Add(error); 273validation.Errors.Add(error); 296validation.Errors.Add(error); 317validation.Errors.Add(error); 331validation.Errors.Add(error); 340validation.Errors.Add(error); 350validation.Errors.Add(error); 908validation.Errors.Add(error); 932validation.Errors.Add(error); 950validation.Errors.Add(error); 960validation.Errors.Add(error); 969validation.Errors.Add(error); 1063validation.Errors.Add(error); 1087validation.Errors.Add(error); 1105validation.Errors.Add(error); 1115validation.Errors.Add(error); 1126validation.Errors.Add(error); 1279validation.Errors.Add(error); 1288validation.Errors.Add(error); 1296validation.Errors.Add(error); 1320validation.Errors.Add(error); 1337validation.Errors.Add(error); 1393validation.Errors.Add(error); 1411validation.Errors.Add(error); 1735validation.Errors.Add(error); 1744validation.Errors.Add(error); 1893validation.Errors.Add(error); 1902validation.Errors.Add(error); 1998validation.Errors.Add(error); 2006validation.Errors.Add(error); 2023validation.Errors.Add(error); 2045validation.Errors.Add(error); 2107validation.Errors.Add(error); 2117validation.Errors.Add(error); 2270validation.Errors.Add(error); 2278validation.Errors.Add(error); 2286validation.Errors.Add(error); 2310validation.Errors.Add(error); 2324validation.Errors.Add(error); 2335validation.Errors.Add(error); 2377validation.Errors.Add(error); 2395validation.Errors.Add(error); 2647validation.Errors.Add(error); 2655validation.Errors.Add(error); 2663validation.Errors.Add(error); 2686validation.Errors.Add(error); 2696validation.Errors.Add(error); 2706validation.Errors.Add(error); 2718validation.Errors.Add(error); 2729validation.Errors.Add(error); 2765validation.Errors.Add(error); 2923validation.Errors.Add(error); 2931validation.Errors.Add(error); 2956validation.Errors.Add(error); 2991validation.Errors.Add(error); 3001validation.Errors.Add(error); 3223validation.Errors.Add(error); 3231validation.Errors.Add(error); 3249validation.Errors.Add(error); 3263validation.Errors.Add(error); 3281validation.Errors.Add(error); 3294validation.Errors.Add(error); 3313validation.Errors.Add(error); 3318validation.Errors.Add(error); 3344validation.Errors.Add(error); 3356validation.Errors.Add(error);
Rules\Rule.cs (3)
143validation.Errors.Add(new ValidationError(Messages.RuleNameMissing, ErrorNumbers.Error_InvalidConditionName)); 147validation.Errors.Add(new ValidationError(Messages.MissingRuleCondition, ErrorNumbers.Error_MissingRuleCondition)); 195validator.Errors.Add(new ValidationError(Messages.UnreachableCodeHalt, ErrorNumbers.Warning_UnreachableCode, true));
Rules\RuleSetCollection.cs (1)
79base.Add(item);
Rules\RuleSetReference.cs (4)
140validationErrors.Add(validationError); 168validationErrors.Add(validationError); 177validationErrors.Add(validationError); 208validationErrors.Add(validationError);
Rules\RuleValidation.cs (10)
993Errors.Add(error); 1061this.Errors.Add(error); 1074Errors.Add(error); 2327Errors.Add(error); 2338Errors.Add(error); 2349Errors.Add(error); 3716Errors.Add(error); 3753Errors.Add(error); 3833Errors.Add(error); 3883Errors.Add(error);
Rules\Statements.cs (6)
45validation.Errors.Add(error); 56validation.Errors.Add(error); 123validation.Errors.Add(error); 137validation.Errors.Add(error); 154validation.Errors.Add(error); 174validation.Errors.Add(error);
Rules\Walker.cs (1)
146validation.Errors.Add(error);
SetState.cs (4)
92validationErrors.Add(new ValidationError( 110validationErrors.Add(new ValidationError(SR.GetError_SetStateMustPointToAState(), ErrorNumbers.Error_SetStateMustPointToAState, false, SetStateActivity.TargetStateNamePropertyName)); 116validationErrors.Add(new ValidationError(SR.GetError_SetStateMustPointToALeafNodeState(), ErrorNumbers.Error_SetStateMustPointToALeafNodeState, false, SetStateActivity.TargetStateNamePropertyName)); 143validationErrors.Add(new ValidationError(SR.GetError_SetStateOnlyWorksOnStateMachineWorkflow(), ErrorNumbers.Error_SetStateOnlyWorksOnStateMachineWorkflow));
StateFinalizationActivity.cs (3)
55validationErrors.Add(new ValidationError(SR.GetError_StateFinalizationParentNotState(), ErrorNumbers.Error_StateHandlerParentNotState)); 67validationErrors.Add(new ValidationError( 75validationErrors.Add(new ValidationError(SR.GetError_EventActivityNotValidInStateFinalization(), ErrorNumbers.Error_EventActivityNotValidInStateHandler));
StateInitialization.cs (4)
55validationErrors.Add(new ValidationError(SR.GetError_StateInitializationParentNotState(), ErrorNumbers.Error_StateHandlerParentNotState)); 67validationErrors.Add(new ValidationError( 77validationErrors.Add(new ValidationError(SR.GetError_EventActivityNotValidInStateInitialization(), ErrorNumbers.Error_EventActivityNotValidInStateHandler)); 106validationErrors.Add(new ValidationError(
StateValidator.cs (13)
45validationErrors.Add(new ValidationError(SR.GetError_StateMachineWorkflowMustBeARootActivity(), ErrorNumbers.Error_StateMachineWorkflowMustBeARootActivity)); 55validationErrors.Add(new ValidationError(SR.GetError_InvalidStateActivityParent(), ErrorNumbers.Error_InvalidStateActivityParent)); 88validationErrors.Add(new ValidationError(SR.GetError_BlackBoxCustomStateNotSupported(), ErrorNumbers.Error_BlackBoxCustomStateNotSupported)); 192validationErrors.Add(new ValidationError( 219validationErrors.Add(new ValidationError( 233validationErrors.Add(new ValidationError( 246validationErrors.Add(new ValidationError( 256validationErrors.Add(new ValidationError( 267validationErrors.Add(new ValidationError( 287validationErrors.Add(new ValidationError( 298validationErrors.Add(new ValidationError( 306validationErrors.Add(new ValidationError( 359validationErrors.Add(new ValidationError(
Task.cs (1)
1246validationErrors.Add(new ValidationError(SR.GetString(SR.Error_GeneratorShouldContainSingleActivity), ErrorNumbers.Error_GeneratorShouldContainSingleActivity));
WebServiceFault.cs (9)
187validationErrors.Add(ValidationError.GetNotSetValidationError("InputActivityName")); 202validationErrors.Add(new ValidationError(SR.GetString(SR.Error_DuplicateWebServiceFaultFound, activity.Name, webServiceFault.InputActivityName), ErrorNumbers.Error_DuplicateWebServiceFaultFound)); 204validationErrors.Add(new ValidationError(SR.GetString(SR.Error_DuplicateWebServiceResponseFound, activity.Name, webServiceFault.InputActivityName), ErrorNumbers.Error_DuplicateWebServiceResponseFound)); 222validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotValid, webServiceFault.InputActivityName), ErrorNumbers.Error_WebServiceReceiveNotValid)); 231validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotFound, webServiceFault.InputActivityName), ErrorNumbers.Error_WebServiceReceiveNotFound)); 242validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured)); 249validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured)); 257validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured)); 266validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceFaultNotNeeded), ErrorNumbers.Error_WebServiceFaultNotNeeded));
WebServiceReceive.cs (11)
495validationErrors.Add(error); 503validationErrors.Add(error); 513validationErrors.Add(error); 530validationErrors.Add(error); 536validationErrors.Add(error); 542validationErrors.Add(ValidationError.GetNotSetValidationError("MethodName")); 551validationErrors.Add(error); 589validationErrors.Add(validationError); 595validationErrors.Add(validationError); 612validationErrors.Add(new ValidationError(SR.GetString(SR.Warning_AdditionalBindingsFound), ErrorNumbers.Warning_AdditionalBindingsFound, true)); 629validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceResponseNotFound), ErrorNumbers.Error_WebServiceResponseNotFound));
WebServiceResponse.cs (14)
312validationErrors.Add(ValidationError.GetNotSetValidationError("InputActivityName")); 326validationErrors.Add(new ValidationError(SR.GetString(SR.Error_DuplicateWebServiceResponseFound, activity.QualifiedName, webServiceResponse.InputActivityName), ErrorNumbers.Error_DuplicateWebServiceResponseFound)); 328validationErrors.Add(new ValidationError(SR.GetString(SR.Error_DuplicateWebServiceFaultFound, activity.QualifiedName, webServiceResponse.InputActivityName), ErrorNumbers.Error_DuplicateWebServiceFaultFound)); 345validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotValid, webServiceResponse.InputActivityName), ErrorNumbers.Error_WebServiceReceiveNotValid)); 354validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotFound, webServiceResponse.InputActivityName), ErrorNumbers.Error_WebServiceReceiveNotFound)); 365validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured)); 371validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured)); 378validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured)); 398validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceResponseNotNeeded), ErrorNumbers.Error_WebServiceResponseNotNeeded)); 424validationErrors.Add(validationError); 430validationErrors.Add(validationError); 450validationErrors.Add(new ValidationError(SR.GetString(SR.Warning_AdditionalBindingsFound), ErrorNumbers.Warning_AdditionalBindingsFound, true)); 693validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ParameterTypeNotFound, methodInfo.Name, paramInfo.Name), ErrorNumbers.Error_ParameterTypeNotFound)); 699validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ReturnTypeNotFound, methodInfo.Name), ErrorNumbers.Error_ReturnTypeNotFound));
While.cs (1)
171validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WhileShouldHaveOneChild), ErrorNumbers.Error_WhileShouldHaveOneChild));
System.Workflow.ComponentModel (65)
AuthoringOM\Behaviors\CancellationHandler.cs (2)
74validationErrors.Add(new ValidationError(SR.GetString(SR.Warning_EmptyBehaviourActivity, typeof(CancellationHandlerActivity).FullName, cancellationHandlerActivity.QualifiedName), ErrorNumbers.Warning_EmptyBehaviourActivity, true)); 78validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ModelingConstructsCanNotContainModelingConstructs), ErrorNumbers.Error_ModelingConstructsCanNotContainModelingConstructs));
AuthoringOM\Behaviors\Compensate.cs (2)
224validationErrors.Add(new ValidationError(SR.GetString(SR.Error_CompensateBadNesting), ErrorNumbers.Error_CompensateBadNesting)); 237validationErrors.Add(error);
AuthoringOM\Behaviors\Compensation.cs (3)
76validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ParentDoesNotSupportCompensation), ErrorNumbers.Error_FaultHandlerActivityParentNotFaultHandlersActivity)); 79validationErrors.Add(new ValidationError(SR.GetString(SR.Warning_EmptyBehaviourActivity, typeof(CompensationHandlerActivity).FullName, compensation.QualifiedName), ErrorNumbers.Warning_EmptyBehaviourActivity, true)); 83validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ModelingConstructsCanNotContainModelingConstructs), ErrorNumbers.Error_ModelingConstructsCanNotContainModelingConstructs));
AuthoringOM\Behaviors\ExceptionHandler.cs (5)
169validationErrors.Add(new ValidationError(SR.GetString(SR.Error_FaultHandlerActivityParentNotFaultHandlersActivity), ErrorNumbers.Error_FaultHandlerActivityParentNotFaultHandlersActivity)); 182validationErrors.Add(error); 188validationErrors.Add(error); 200validationErrors.Add(new ValidationError(SR.GetString(SR.Warning_EmptyBehaviourActivity, typeof(FaultHandlerActivity).FullName, exceptionHandler.QualifiedName), ErrorNumbers.Warning_EmptyBehaviourActivity, true)); 204validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ModelingConstructsCanNotContainModelingConstructs), ErrorNumbers.Error_ModelingConstructsCanNotContainModelingConstructs));
AuthoringOM\Behaviors\ExceptionHandlers.cs (4)
172validationErrors.Add(new ValidationError(SR.GetString(SR.Error_FaultHandlersActivityDeclNotAllFaultHandlerActivityDecl), ErrorNumbers.Error_FaultHandlersActivityDeclNotAllFaultHandlerActivityDecl)); 192validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_ScopeDuplicateFaultHandlerActivityFor), new object[] { Helpers.GetEnclosingActivity(exceptionHandlers).GetType().Name, catchType.FullName }), ErrorNumbers.Error_ScopeDuplicateFaultHandlerActivityFor)); 200validationErrors.Add(new ValidationError(SR.GetString(SR.Error_FaultHandlerActivityWrongOrder, catchType.Name, previousType.Name), ErrorNumbers.Error_FaultHandlerActivityWrongOrder)); 208validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ModelingConstructsCanNotContainModelingConstructs), ErrorNumbers.Error_ModelingConstructsCanNotContainModelingConstructs));
AuthoringOM\Compiler\Validation\ActivityValidator.cs (2)
36errors.Add(error); 46errors.Add(identifierError);
AuthoringOM\Compiler\Validation\BindValidator.cs (19)
85validationErrors.Add(error); 104validationErrors.Add(error); 211validationErrors.Add(error); 265validationErrors.Add(error); 284validationErrors.Add(error); 408validationErrors.Add(error); 467validationErrors.Add(error); 479validationErrors.Add(error); 487validationErrors.Add(error); 501validationErrors.Add(error); 521validationErrors.Add(new ValidationError(e.Message, ErrorNumbers.Error_InvalidIdentifier)); 564validationErrors.Add(error); 601validationErrors.Add(error); 613validationErrors.Add(error); 620validationErrors.Add(error); 689validationErrors.Add(error); 729validationErrors.Add(error); 789validationErrors.Add(error); 958validationErrors.Add(error);
AuthoringOM\Compiler\Validation\CompositeActivityValidator.cs (3)
32validationErrors.Add(new ValidationError(SR.GetString(SR.Error_MoreThanOneCancelHandler, compositeActivity.GetType().Name), ErrorNumbers.Error_ScopeMoreThanOneEventHandlersDecl)); 36validationErrors.Add(new ValidationError(SR.GetString(SR.Error_MoreThanOneFaultHandlersActivityDecl, compositeActivity.GetType().Name), ErrorNumbers.Error_ScopeMoreThanOneFaultHandlersActivityDecl)); 40validationErrors.Add(new ValidationError(SR.GetString(SR.Error_MoreThanOneCompensationDecl, compositeActivity.GetType().Name), ErrorNumbers.Error_ScopeMoreThanOneCompensationDecl));
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (6)
80errors.Add(new ValidationError(SR.GetString(SR.Error_PropertyDefaultIsReference, dependencyProperty.Name), ErrorNumbers.Error_PropertyDefaultIsReference)); 84errors.Add(new ValidationError(SR.GetString(SR.Error_PropertyDefaultTypeMismatch, dependencyProperty.Name, dependencyProperty.PropertyType.FullName, dependencyProperty.DefaultMetadata.DefaultValue.GetType().FullName), ErrorNumbers.Error_PropertyDefaultTypeMismatch)); 125errors.Add(ValidationError.GetNotSetValidationError(GetFullPropertyName(manager))); 152errors.Add(new ValidationError(SR.GetString(SR.Error_CreateValidator, dependencyProperty.ValidatorType.FullName), ErrorNumbers.Error_CreateValidator)); 158errors.Add(new ValidationError(SR.GetString(SR.Error_CreateValidator, dependencyProperty.ValidatorType.FullName), ErrorNumbers.Error_CreateValidator)); 218validationErrors.Add(error);
AuthoringOM\Compiler\Validation\SynchronizationValidator.cs (1)
24validationErrors.Add(error);
AuthoringOM\Compiler\Validation\TransactionContextValidator.cs (6)
29validationErrors.Add(error); 37validationErrors.Add(error); 46validationErrors.Add(new ValidationError(SR.GetString(SR.Error_AtomicScopeNestedInNonLRT), ErrorNumbers.Error_AtomicScopeNestedInNonLRT)); 59validationErrors.Add(new ValidationError(SR.GetString(SR.Error_LRTScopeNestedInNonLRT), ErrorNumbers.Error_LRTScopeNestedInNonLRT)); 64validationErrors.Add(new ValidationError(SR.GetString(SR.Error_NestedCompensatableActivity, nestedEnabledActivity.QualifiedName), ErrorNumbers.Error_NestedCompensatableActivity)); 80validationErrors.Add(timeoutError);
AuthoringOM\Compiler\Validation\ValidationErrorCollection.cs (1)
51this.Add(error);
AuthoringOM\Compiler\XomlCompiler.cs (2)
835validationErrors.Add(identifierError); 849validationErrors.Add(identifierError);
AuthoringOM\Compiler\XomlCompilerHelpers.cs (2)
578friendlyErrors.Add(error2); 582friendlyErrors.Add(error);
AuthoringOM\Design\FreeFormDesigner.cs (1)
301connectors.Add(connector);
AuthoringOM\Design\Themes.cs (1)
779this.designerThemes.Add(designerTheme);
AuthoringOM\ScheduleChanges.cs (2)
680errors.Add(error); 854errors.Add(new ValidationError(SR.GetString(SR.Error_RemoveExecutingActivity, this.originalRemovedActivity.QualifiedName), ErrorNumbers.Error_RemoveExecutingActivity));
AuthoringOM\Suspend.cs (1)
95validationErrors.Add(new ValidationError(SR.GetString(SR.Error_SuspendInAtomicScope), ErrorNumbers.Error_SuspendInAtomicScope));
Shared\BasePropertyDescriptor.cs (1)
512parameters.Add(binding);
Shared\ValidationHelpers.cs (1)
118validationErrors.Add(duplicateError);
System.Workflow.Runtime (9)
CorrelationToken.cs (1)
302collection.Add(new CorrelationToken(correlationTokenName));
Hosting\DefaultWorkflowLoaderService.cs (3)
70errors.Add(new ValidationError(((WorkflowMarkupSerializationException)error).Message, ErrorNumbers.Error_SerializationError)); 72errors.Add(new ValidationError(error.ToString(), ErrorNumbers.Error_SerializationError)); 78errors.Add(new ValidationError(e.Message, ErrorNumbers.Error_SerializationError));
System\Activities\Statements\Interop.cs (1)
76base.Constraints.Add(ProcessAdvancedConstraints());
Tracking\SqlTrackingService.cs (1)
1317_service._types.Add(workflowType);
WorkflowDefinitionDispenser.cs (3)
207errors.Add(new ValidationError(ExecutionStringManager.XomlWorkflowHasClassName, ErrorNumbers.Error_XomlWorkflowHasClassName)); 216errors.Add(new ValidationError(ExecutionStringManager.XomlWorkflowHasCode, ErrorNumbers.Error_XomlWorkflowHasCode)); 240errors.Add(error);
System.WorkflowServices (65)
System\ServiceModel\Activities\Description\WorkflowRuntimeEndpoint.cs (1)
45this.Behaviors.Add(behavior);
System\ServiceModel\Description\DescriptionCreator.cs (1)
59serviceDescription.Behaviors.Add(wsb);
System\ServiceModel\Description\DurableServiceAttribute.cs (2)
153channelDispatcher.ErrorHandlers.Add(errorHandler); 202opDescription.Behaviors.Add(DurableOperationAttribute.DefaultInstance);
System\ServiceModel\Description\WorkflowServiceBehavior.cs (2)
234description.Behaviors.Add(workflowRuntimeBehavior); 281channelDispatcher.ErrorHandlers.Add(workflowOperationErrorHandler);
System\ServiceModel\WorkflowServiceHost.cs (1)
171this.Description.Behaviors.Add(new WorkflowRuntimeBehavior());
System\Workflow\Activities\ChannelToken.cs (2)
225collection.Add(logicalChannel); 230collection.Add(logicalChannel);
System\Workflow\Activities\ContextToken.cs (2)
357collection.Add(new ReceiveContext(contextName, workflowId, false)); 392collection.Add(new ReceiveContext(ContextToken.RootContextName, workflowId, true));
System\Workflow\Activities\ReceiveActivity.cs (1)
1102bindings.Add(new WorkflowParameterBinding(parameter.Name));
System\Workflow\Activities\ReceiveActivityValidator.cs (1)
37validationErrors.Add(
System\Workflow\Activities\SendActivity.cs (1)
524parameterBindings.Add(new WorkflowParameterBinding(parameterInfo.Name));
System\Workflow\Activities\SendActivityValidator.cs (1)
37validationErrors.Add(
System\Workflow\Activities\ServiceOperationHelpers.cs (1)
300opDescription.Behaviors.Add(behavior);
System\Workflow\Activities\ValidationHelper.cs (43)
108validationErrors.Add(new ValidationError( 164validationErrors.Add(new ValidationError( 277validationErrors.Add(new ValidationError( 293validationErrors.Add(new ValidationError( 311validationErrors.Add(new ValidationError( 327validationErrors.Add(new ValidationError( 345validationErrors.Add(new ValidationError( 401validationErrors.Add( 411validationErrors.Add( 421validationErrors.Add( 463validationErrors.Add( 512validationErrors.Add( 523validationErrors.Add( 565validationErrors.Add( 605validationErrors.Add( 617validationErrors.Add( 624validationErrors.Add( 632validationErrors.Add( 657validationErrors.Add( 667validationErrors.Add( 681validationErrors.Add( 691validationErrors.Add( 705validationErrors.Add( 719validationErrors.Add( 737validationErrors.Add( 745validationErrors.Add( 753validationErrors.Add( 764validationErrors.Add( 772validationErrors.Add( 787validationErrors.Add( 800validationErrors.Add( 810validationErrors.Add( 820validationErrors.Add( 830validationErrors.Add( 840validationErrors.Add( 951validationErrors.Add(new ValidationError(SR2.GetString( 963validationErrors.Add(new ValidationError(SR2.GetString( 972validationErrors.Add(new ValidationError(SR2.GetString( 1017validationErrors.Add(new ValidationError(SR2.GetString(SR2.Error_ServiceContractAttributeMissing, contractType.FullName), WorkflowServicesErrorNumbers.Error_ServiceContractAttributeMissing, false, "ServiceOperationInfo")); 1023validationErrors.Add(new ValidationError(SR2.GetString(SR2.Error_OperationNotInContract, methodInfo.Name, contractType.FullName), WorkflowServicesErrorNumbers.Error_OperationNotInContract, false, "ServiceOperationInfo")); 1030validationErrors.Add(new ValidationError(SR2.GetString(SR2.Error_OperationContractAttributeMissing, methodInfo.Name), WorkflowServicesErrorNumbers.Error_OperationContractAttributeMissing, false, "ServiceOperationInfo")); 1054validationErrors.Add(new ValidationError(SR2.GetString(SR2.Error_Validation_OperationIsOneWay, methodInfo.Name), WorkflowServicesErrorNumbers.Error_OperationIsOneWay, false, "CanCreateInstance")); 1058validationErrors.Add(new ValidationError(SR2.GetString(SR2.Error_OperationNotInitiating, methodInfo.Name), WorkflowServicesErrorNumbers.Error_OperationNotInitiating, false, "CanCreateInstance"));
System\Workflow\Runtime\StreamedWorkflowDefinitionContext.cs (5)
221errors.Add(new ValidationError(SR2.XomlWorkflowHasClassName, ErrorNumbers.Error_XomlWorkflowHasClassName)); 233errors.Add(new ValidationError(SR2.XomlWorkflowHasCode, ErrorNumbers.Error_XomlWorkflowHasCode)); 296errors.Add(new ValidationError(((WorkflowMarkupSerializationException) error).Message, 1)); 300errors.Add(new ValidationError(error.ToString(), 1)); 311errors.Add(new ValidationError(e.Message, 1));
System\Workflow\Runtime\WorkflowDefinitionContext.cs (1)
120errors.Add(error);
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\ClassImporter.cs (1)
354classData.Properties.Add(property);