162 implementations of Add
mscorlib (16)
system\arraysegment.cs (1)
223void ICollection<T>.Add(T item)
system\Collections\Concurrent\ConcurrentDictionary.cs (1)
1406void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> keyValuePair)
system\collections\generic\dictionary.cs (3)
195void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> keyValuePair) { 844void ICollection<TKey>.Add(TKey item){ 1031void ICollection<TValue>.Add(TValue item){
system\collections\generic\list.cs (2)
220public void Add(T item) { 1065public void Add(T item) {
system\collections\objectmodel\collection.cs (1)
61public void Add(T item) {
system\collections\objectmodel\readonlycollection.cs (1)
75void ICollection<T>.Add(T value) {
system\collections\objectmodel\readonlydictionary.cs (3)
135void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) { 371void ICollection<TKey>.Add(TKey item) 470void ICollection<TValue>.Add(TValue item)
System\Diagnostics\Eventing\TraceLogging\EventPayload.cs (1)
64public void Add(KeyValuePair<string, object> payloadEntry)
system\runtime\interopservices\windowsruntime\dictionarykeycollection.cs (1)
56void ICollection<TKey>.Add(TKey item)
system\runtime\interopservices\windowsruntime\dictionaryvaluecollection.cs (1)
59void ICollection<TValue>.Add(TValue item)
system\security\principal\ircollection.cs (1)
67public void Add( IdentityReference identity )
PresentationCore (41)
Core\CSharp\MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
786public void Add(KeyValuePair<int, ushort> item)
Core\CSharp\MS\Internal\FontFace\TypefaceCollection.cs (1)
53public void Add(Typeface item)
Core\CSharp\MS\Internal\PartialArray.cs (1)
91public void Add(T item)
Core\CSharp\MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
246public void Add(double value)
Core\CSharp\MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (1)
186public void Add(Point value)
Core\CSharp\System\Windows\FreezableCollection.cs (1)
173public void Add(T value)
Core\CSharp\system\windows\generated\TextDecorationCollection.cs (1)
89public void Add(TextDecoration value)
Core\CSharp\System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
97public void Add(Timeline value)
Core\CSharp\System\Windows\Media\Animation\TimelineClockCollection.cs (1)
78public void Add(Clock item)
Core\CSharp\System\Windows\Media\CharacterMetricsDictionary.cs (1)
101public void Add(KeyValuePair<int, CharacterMetrics> item)
Core\CSharp\System\Windows\Media\CultureSpecificStringDictionary.cs (1)
98public void Add(KeyValuePair<XmlLanguage, string> item)
Core\CSharp\System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
96public void Add(BitmapEffect value)
Core\CSharp\System\Windows\Media\FamilyMapCollection.cs (1)
64public void Add(FontFamilyMap item)
Core\CSharp\System\Windows\Media\FamilyTypefaceCollection.cs (1)
77public void Add(FamilyTypeface item)
Core\CSharp\System\Windows\Media\Fonts.cs (1)
320public void Add(Typeface item)
Core\CSharp\System\Windows\Media\Generated\DoubleCollection.cs (1)
99public void Add(double value)
Core\CSharp\System\Windows\Media\Generated\DrawingCollection.cs (1)
98public void Add(Drawing value)
Core\CSharp\System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
98public void Add(GeneralTransform value)
Core\CSharp\System\Windows\Media\Generated\GeometryCollection.cs (1)
98public void Add(Geometry value)
Core\CSharp\System\Windows\Media\Generated\GradientStopCollection.cs (1)
98public void Add(GradientStop value)
Core\CSharp\System\Windows\Media\Generated\Int32Collection.cs (1)
99public void Add(int value)
Core\CSharp\System\Windows\Media\Generated\PathFigureCollection.cs (1)
99public void Add(PathFigure value)
Core\CSharp\System\Windows\Media\Generated\PathSegmentCollection.cs (1)
98public void Add(PathSegment value)
Core\CSharp\System\Windows\Media\Generated\PointCollection.cs (1)
99public void Add(Point value)
Core\CSharp\System\Windows\Media\Generated\TextEffectCollection.cs (1)
98public void Add(TextEffect value)
Core\CSharp\System\Windows\Media\Generated\TransformCollection.cs (1)
98public void Add(Transform value)
Core\CSharp\System\Windows\Media\Generated\VectorCollection.cs (1)
99public void Add(Vector value)
Core\CSharp\System\Windows\Media\GlyphRun.cs (2)
2170public void Add(bool item) 2272public void Add(ushort item)
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (2)
2180public void Add(KeyValuePair<ushort, double> item) 2264public void Add(double item)
Core\CSharp\System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
94public void Add(GeneralTransform3D value)
Core\CSharp\System\Windows\Media3D\Generated\MaterialCollection.cs (1)
94public void Add(Material value)
Core\CSharp\System\Windows\Media3D\Generated\Model3DCollection.cs (1)
94public void Add(Model3D value)
Core\CSharp\System\Windows\Media3D\Generated\Point3DCollection.cs (1)
95public void Add(Point3D value)
Core\CSharp\System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
94public void Add(Transform3D value)
Core\CSharp\System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
95public void Add(Vector3D value)
Core\CSharp\System\Windows\Media3D\Visual3DCollection.cs (1)
60public void Add(Visual3D value)
Shared\MS\Internal\CharacterBuffer.cs (1)
103public void Add(char item)
Shared\MS\Internal\PartialList.cs (1)
123public void Add(T item)
Shared\MS\Internal\SequentialUshortCollection.cs (1)
36public void Add(ushort item)
PresentationFramework (17)
src\Framework\MS\Internal\Annotations\ObservableDictionary.cs (1)
160void ICollection<KeyValuePair<string, string>>.Add(KeyValuePair<string, string> pair)
src\Framework\MS\Internal\Data\RBTree.cs (1)
536public void Add(T item)
src\Framework\MS\Internal\Documents\ContentElementCollection.cs (1)
162abstract public void Add(TItem item);
src\Framework\MS\Internal\ListOfObject.cs (1)
54void ICollection<object>.Add(object item)
src\Framework\MS\Internal\WeakDictionary.cs (3)
39public void Add(KeyType item) 126public void Add(ValueType item) 269public void Add(KeyValuePair<TKey, TValue> item)
src\Framework\MS\Internal\WeakHashSet.cs (1)
26public void Add(T item)
src\Framework\System\Windows\Controls\CustomDictionarySources.cs (1)
163void ICollection<Uri>.Add(Uri item)
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
67public void Add(DataGridCellInfo cell)
src\Framework\System\Windows\Data\XmlNamespaceMappingCollection.cs (1)
90public void Add(XmlNamespaceMapping mapping)
src\Framework\System\Windows\Documents\TableCellCollection.cs (1)
119public void Add(TableCell item)
src\Framework\System\Windows\Documents\TableColumnCollection.cs (1)
120public void Add(TableColumn item)
src\Framework\System\Windows\Documents\TableRowCollection.cs (1)
119public void Add(TableRow item)
src\Framework\System\Windows\Documents\TableRowGroupCollection.cs (1)
119public void Add(TableRowGroup item)
src\Framework\System\Windows\Documents\TextElementCollection.cs (1)
79public void Add(TextElementType item)
src\Framework\System\Windows\TriggerActionCollection.cs (1)
103public void Add(TriggerAction value)
System (16)
compmod\system\collections\generic\linkedlist.cs (1)
71void ICollection<T>.Add(T value) {
compmod\system\collections\generic\sorteddictionary.cs (3)
47void ICollection<KeyValuePair<TKey,TValue>>.Add(KeyValuePair<TKey,TValue> keyValuePair) { 534void ICollection<TKey>.Add(TKey item){ 689void ICollection<TValue>.Add(TValue item){
compmod\system\collections\generic\sortedlist.cs (3)
185void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> keyValuePair) { 943public void Add(TKey key) { 1043public void Add(TValue key) {
compmod\system\collections\generic\sortedset.cs (1)
348void ICollection<T>.Add(T item) {
compmod\system\collections\specialized\stringdictionary.cs (2)
305void ICollection<KeyValuePair<string, string>>.Add(KeyValuePair<string, string> item) { 385public void Add(string item) {
net\System\Net\HttpListenerPrefixCollection.cs (1)
95public void Add(string uriPrefix) {
net\System\Net\NetworkInformation\GatewayIPAddressInformationCollection.cs (1)
40public virtual void Add(GatewayIPAddressInformation address) {
net\System\Net\NetworkInformation\IPAddressCollection.cs (1)
31public virtual void Add(IPAddress address) {
net\System\Net\NetworkInformation\IPAddressInformationCollection.cs (1)
33public virtual void Add(IPAddressInformation address) {
net\System\Net\NetworkInformation\MulticastIPAddressInformationCollection.cs (1)
33public virtual void Add(MulticastIPAddressInformation address) {
net\System\Net\NetworkInformation\UnicastIPAddressInformationCollection.cs (1)
34public virtual void Add(UnicastIPAddressInformation address) {
System.Activities (2)
System\Activities\Hosting\SymbolResolver.cs (1)
113public void Add(KeyValuePair<string, object> item)
System\Activities\HybridDictionary.cs (1)
192public void Add(KeyValuePair<TKey, TValue> item)
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (1)
96public abstract void Add(ModelItem item);
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (1)
403void ICollection<KeyValuePair<ModelItem, ModelItem>>.Add(KeyValuePair<ModelItem, ModelItem> item) {
System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (1)
146public void Add(KeyValuePair<K, V> item)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategoryItems.cs (1)
47public void Add(ToolboxCategory item)
System.AddIn (2)
System\Addin\Hosting\ReadOnlyDictionary.cs (1)
78public void Add(KeyValuePair<TKey, TValue> pair)
System\Addin\Pipeline\ContractListAdapter.cs (1)
45public void Add(U item)
System.Core (10)
Microsoft\Scripting\Actions\ExpandoObject.cs (3)
339public void Add(string item) { 455public void Add(object item) { 602void ICollection<KeyValuePair<string, object>>.Add(KeyValuePair<string, object> item) {
Microsoft\Scripting\Ast\BlockExpression.cs (1)
551public void Add(Expression item) {
Microsoft\Scripting\Ast\ListArgumentProvider.cs (1)
86public void Add(Expression item) {
Microsoft\Scripting\Compiler\Set.cs (1)
58public void Add(T item) {
Microsoft\Scripting\Utils\ReadOnlyCollectionBuilder.cs (1)
193public void Add(T item) {
System\Collections\Generic\HashSet.cs (1)
231void ICollection<T>.Add(T item) {
System\Linq\Enumerable.cs (1)
2335void ICollection<TElement>.Add(TElement item) {
System\Linq\Parallel\QueryOperators\QueryResults.cs (1)
115void ICollection<T>.Add(T item)
System.Data (5)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (1)
96public abstract void Add(ModelItem item);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (1)
403void ICollection<KeyValuePair<ModelItem, ModelItem>>.Add(KeyValuePair<ModelItem, ModelItem> item) {
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (1)
146public void Add(KeyValuePair<K, V> item)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategoryItems.cs (1)
47public void Add(ToolboxCategory item)
fx\src\data\System\Data\Common\DbConnectionStringCommon.cs (1)
184void ICollection<T>.Add(T value) {
System.Data.Entity (5)
System\Data\Common\Utils\ThreadSafeList.cs (1)
45public void Add(T item)
System\Data\EntityModel\SchemaObjectModel\RelationshipEndCollection.cs (1)
49public void Add(IRelationshipEnd end)
System\Data\Metadata\Edm\MetadataCollection.cs (1)
204public virtual void Add(T item)
System\Data\Objects\DataClasses\EntityCollection.cs (1)
318public void Add(TEntity entity)
System\Data\Objects\ObjectParameterCollection.cs (1)
190public void Add (ObjectParameter parameter)
System.Data.Linq (2)
ChangeConflicts.cs (1)
37void ICollection<ObjectChangeConflict>.Add(ObjectChangeConflict item) {
Types.cs (1)
217public void Add(TEntity entity) {
System.Data.SqlXml (4)
System\Xml\Xsl\ListBase.cs (1)
62public virtual void Add(T value) {
System\Xml\Xsl\QIL\QilNode.cs (1)
142public virtual void Add(QilNode node) {
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (2)
172void ICollection<T>.Add(T value) { 611void ICollection<XPathItem>.Add(XPathItem value) {
System.IO.Log (1)
System\IO\Log\ReservationCollection.cs (1)
71public void Add(long size)
System.Runtime.DurableInstancing (1)
System\Runtime\PersistencePipeline.cs (1)
339public void Add(KeyValuePair<XName, object> item)
System.ServiceModel (17)
System\ServiceModel\Channels\ContextDictionary.cs (1)
112public void Add(KeyValuePair<string, string> item)
System\ServiceModel\Channels\MessageProperties.cs (1)
766void ICollection<KeyValuePair<string, object>>.Add(KeyValuePair<string, object> pair)
System\ServiceModel\Configuration\CustomBindingElement.cs (1)
78public override void Add(BindingElementExtensionElement element)
System\ServiceModel\Configuration\ServiceModelExtensionCollectionElement.cs (1)
110public virtual void Add(TServiceModelExtensionElement element)
System\ServiceModel\Dispatcher\ActionMessageFilterTable.cs (1)
143public void Add(KeyValuePair<MessageFilter, TFilterData> item)
System\ServiceModel\Dispatcher\AndMessageFilterTable.cs (1)
87public void Add(KeyValuePair<MessageFilter, FilterData> item)
System\ServiceModel\Dispatcher\EndpointAddressMessageFilterTable.cs (1)
201public void Add(KeyValuePair<MessageFilter, TFilterData> item)
System\ServiceModel\Dispatcher\MessageFilter.cs (1)
284void ICollection<KeyValuePair<MessageFilter, FilterData>>.Add(KeyValuePair<MessageFilter, FilterData> item)
System\ServiceModel\Dispatcher\MessageFilterTable.cs (1)
210public void Add(KeyValuePair<MessageFilter, TFilterData> item)
System\ServiceModel\Dispatcher\MessageQueryTable.cs (1)
85public void Add(KeyValuePair<MessageQuery, TItem> item)
System\ServiceModel\Dispatcher\ThreadSafeMessageFilterTable.cs (1)
225void ICollection<KeyValuePair<MessageFilter, FilterData>>.Add(KeyValuePair<MessageFilter, FilterData> item)
System\ServiceModel\Dispatcher\XPathMessageFilterTable.cs (1)
170public void Add(KeyValuePair<MessageFilter, TFilterData> item)
System\ServiceModel\Security\SecuritySessionFilter.cs (1)
201public void Add(KeyValuePair<MessageFilter, FilterData> item)
System\ServiceModel\ServiceChannelManager.cs (1)
445public void Add(IChannel channel)
System\ServiceModel\SynchronizedCollection.cs (1)
94public void Add(T item)
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
144void ICollection<T>.Add(T value)
System\UriTemplate.cs (1)
1084public void Add(KeyValuePair<string, string> item)
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\WorkflowDefinitionProvider.cs (1)
183public void Add(WorkflowService item)
System.ServiceModel.Internals (5)
System\Runtime\Collections\NullableKeyDictionary.cs (3)
140public void Add(KeyValuePair<TKey, TValue> item) 248public void Add(TypeKey item) 323public void Add(TypeValue item)
System\Runtime\Collections\OrderedDictionary.cs (1)
119public void Add(KeyValuePair<TKey, TValue> item)
System\Runtime\ReadOnlyDictionaryInternal.cs (1)
76public void Add(KeyValuePair<TKey, TValue> item)
System.ServiceModel.Routing (1)
System\ServiceModel\Dispatcher\StrictAndMessageFilter.cs (1)
264public void Add(KeyValuePair<MessageFilter, TFilterData> item)
System.Web (4)
ModelBinding\ModelBinderDictionary.cs (1)
71public void Add(KeyValuePair<Type, IModelBinder> item) {
ModelBinding\ModelStateDictionary.cs (1)
66public void Add(KeyValuePair<string, ModelState> item) {
Routing\RouteValueDictionary.cs (1)
117void ICollection<KeyValuePair<string, object>>.Add(KeyValuePair<string, object> item) {
UI\WebControls\MethodParametersDictionary.cs (1)
165void ICollection<KeyValuePair<string, MethodParameterValue>>.Add(KeyValuePair<string, MethodParameterValue> item) {
System.Web.Extensions (1)
Util\OrderedDictionary.cs (1)
121void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) {
System.Windows.Forms (1)
winforms\Managed\System\WinForms\NumericUpDownAccelerationCollection.cs (1)
31public void Add(NumericUpDownAcceleration acceleration)
System.Workflow.ComponentModel (2)
AuthoringOM\ActivitiesCollection.cs (1)
147void ICollection<Activity>.Add(Activity item)
AuthoringOM\ItemList.cs (1)
212void ICollection<T>.Add(T item)
System.WorkflowServices (2)
System\ServiceModel\SerializableReadOnlyDictionary.cs (1)
87public void Add(KeyValuePair<K, V> item)
System\Workflow\Activities\OperationParameterInfoCollection.cs (1)
176void ICollection<OperationParameterInfo>.Add(OperationParameterInfo item)
WindowsBase (2)
Base\System\Collections\ObjectModel\WeakReadOnlyCollection.cs (1)
97void ICollection<T>.Add(T value) {
Base\System\Windows\NameScope.cs (1)
272public void Add(KeyValuePair<string, object> item)
734 references to Add
ComSvcConfig (6)
Options.cs (1)
408this.components.Add(compDef);
parent\svcutil\CommandLineParser.cs (1)
105values.Add(value);
Tool.cs (4)
672outComps.Add(outComp); 694outComps.Add(outComp); 792outComps.Add(outComp); 871outComps.Add(outComp);
mscorlib (7)
microsoft\win32\registrykey.cs (3)
1363strings.Add(new String(blob, cur, nextNull-cur)); 1369strings.Add(String.Empty); 1373strings.Add(new String(blob, cur, len-cur));
system\diagnostics\eventing\eventsource.cs (1)
6320errors.Add(msg);
system\runtime\interopservices\windowsruntime\listtovectoradapter.cs (2)
159_this.Add(value); 205_this.Add(item);
system\threading\Tasks\TaskScheduler.cs (1)
588schedulers.Add(s_defaultTaskScheduler);
PresentationCore (18)
Core\CSharp\MS\Internal\Media\ParserStreamGeometrycontext.cs (1)
558points.Add(point);
Core\CSharp\MS\Internal\Shaping\TypefaceMap.cs (1)
470_cachedScaledTypefaces.Add(scaledTypeface);
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (3)
2083boundsList.Add(bounds); 2133lsrunList.Add(new TextSpan<TextRun>(cchAcc, lastTextRun)); 2146lsrunList.Add(new TextSpan<TextRun>(cchAcc, lastTextRun));
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (5)
2870IndexedGlyphRuns.Add( 2957IndexedGlyphRuns.Add( 3308glyphAdvances.Add(textFormatterImp.IdealToReal(piJustifiedGlyphAdvances[i], currentLine.PixelsPerDip)); 3315glyphOffsets.Add(new Point( 3450charWidths.Add(textFormatterImp.IdealToReal(piCharAdvances[i], Draw.CurrentLine.PixelsPerDip));
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (3)
866boundsList.Add( 955displayGlyphAdvances.Add(_settings.Formatter.IdealToReal(run.NominalAdvances[i], PixelsPerDip)); 1803displayGlyphAdvances.Add(_textFormatterImp.IdealToReal(NominalAdvances[i], _pixelsPerDip));
Core\CSharp\MS\Internal\TextFormatting\TextRunCacheImp.cs (1)
339textRunList.Add(new TextSpan<TextRun>(currentSpan.length, currentSpan.element as TextRun));
Core\CSharp\System\Windows\DataObject.cs (1)
2095bitmapEncoder.Frames.Add(BitmapFrame.Create(bitmapSource));
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (2)
498_frameHandles.Add(frameEncodeHandle); 782_writeSourceHandles.Add(outSourceHandle);
Core\CSharp\System\Windows\Media\TextFormatting\TextCharacters.cs (1)
312shapeables.Add(
PresentationFramework (41)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (4)
140pageEl.Add(new FixedPageProxy(segment.Start.TextContainer.Parent, startPage + i)); 146((FixedPageProxy)pageEl[firstPage]).Segments.Add(new PointSegment(start, end)); 151((FixedPageProxy)pageEl[firstPage]).Segments.Add(new PointSegment(start, PointSegment.NotAPoint)); 152((FixedPageProxy)pageEl[firstPage + numOfPages]).Segments.Add(new PointSegment(PointSegment.NotAPoint, end));
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (2)
347attachedAnnotations.Add(new AttachedAnnotation(this, annotation, anchor, attachedAnchor, attachmentLevel)); 969locators.Add(realLocator);
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (2)
133list.Add(((TextPointer)start).Parent); 145list.Add(node);
src\Framework\MS\Internal\Annotations\Component\AnnotationComponentManager.cs (1)
289currentList.Add(component);
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (8)
791res.Add(this); 797res.Add(new HighlightSegment(_segment.Start, ps, _owners)); 798res.Add(new HighlightSegment(ps, _segment.End, _owners)); 826res.Add(new HighlightSegment(_segment.Start, ps1, _owners)); 830res.Add(new HighlightSegment(ps1, ps1, _owners)); 834res.Add(new HighlightSegment(ps1, _segment.End, _owners)); 852res.Add(r2[j]); 861res.Add(r1[i]);
src\Framework\MS\Internal\Annotations\ObservableDictionary.cs (1)
162((ICollection<KeyValuePair<string, string>>)_nameValues).Add(pair);
src\Framework\MS\Internal\Data\DifferencingCollection.cs (1)
230Items.Add(o);
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (3)
585newChildrenList.Add(bamlNode); 644newChildrenList.Add(node); 654newChildrenList.Add(node);
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
411attachedAnnotations.Add(new AttachedAnnotation(_locatorManager, annotation, anchor, attachedAnchor, attachmentLevel, firstElement as DocumentPageHost));
src\Framework\System\Windows\Annotations\AnnotationService.cs (2)
1029dirtyAnnotations.Add(existingAnnotations[i]); 1051processedElements.Add(parent);
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (5)
807allNamespaces.Add(name); 821allNamespaces.Add(knownNamespace); 840allNamespaces.Add(name); 860supportedNamespaces.Add(name.ToString()); 869supportedNamespaces.Add(knownNamespace.ToString());
src\Framework\System\Windows\Controls\CustomDictionarySources.cs (1)
233((IList<Uri>)this).Add((Uri)value);
src\Framework\System\Windows\Data\BindingGroup.cs (3)
839newItems.Add(itemReference); 1686list.Add(itemWR); 1895list.Add(itemWR);
src\Framework\System\Windows\Documents\DocumentReferenceCollection.cs (1)
75_InternalList.Add(item);
src\Framework\System\Windows\Documents\DocumentSequence.cs (1)
902_pendingPages.Add(asyncRequest.Page);
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
1242_pendingPages.Add(pc);
src\Framework\System\Windows\Documents\PageContentCollection.cs (1)
71InternalList.Add(newPageContent);
src\Framework\System\Windows\Documents\WpfPayload.cs (1)
498bitmapEncoder.Frames.Add(BitmapFrame.Create(imageSource));
src\Framework\System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
74fullTypeName.TypeArguments.Add(new XamlTypeName(typeArg));
src\Framework\System\Windows\PropertyPath.cs (1)
1006items.Add(o);
svcutil (1)
CommandLineParser.cs (1)
105values.Add(value);
System (7)
compmod\system\collections\objectmodel\observablecollection.cs (1)
99items.Add(enumerator.Current);
net\System\Net\mail\MailBnfHelper.cs (4)
64Whitespace.Add(Tab); 65Whitespace.Add(Space); 66Whitespace.Add(CR); 67Whitespace.Add(LF);
net\System\Net\NetWebProxyFinder.cs (1)
449result.Add(proxyAuthority);
net\System\Net\WebSockets\ClientWebSocket.cs (1)
578requestedSubProtocols.Add(subProtocol);
System.Activities (60)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (2)
697assemblies.Add(reference.AssemblyName.FullName); 701assemblies.Add(reference.Assembly.FullName);
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (2)
243namespaces.Add(importReference.Import); 244assemblies.Add(new AssemblyReference
System\Activities\Activity.cs (13)
605this.children.Add(child); 620this.implementationChildren.Add(implementationChild); 635this.importedChildren.Add(importedChild); 650this.delegates.Add(activityDelegate); 665this.implementationDelegates.Add(implementationDelegate); 680this.importedDelegates.Add(importedDelegate); 695this.variables.Add(variable); 710this.implementationVariables.Add(implementationVariable); 776this.tempValidationErrors.Add(validationError); 788this.tempAutoGeneratedArguments.Add(argument); 1104this.arguments.Add(this.tempAutoGeneratedArguments[i]); 1130validationErrors.Add(validationError); 1762runtimeArguments.Add(runtimeArgument);
System\Activities\ActivityDelegate.cs (1)
123runtimeDelegateArguments.Add(new RuntimeDelegateArgument(propertyDescriptor.Name, innerType, direction, (DelegateArgument)propertyDescriptor.GetValue(this)));
System\Activities\ActivityUtilities.cs (5)
749validationErrors.Add(validationError); 1150list.Add(data); 1219this.multipleItems.Add(item); 1224this.multipleItems.Add(this.singleItem); 1225this.multipleItems.Add(item);
System\Activities\Debugger\Symbol\WorkflowSymbol.cs (1)
58this.Symbols.Add(new ActivitySymbol(reader));
System\Activities\DynamicUpdate\DynamicUpdateMap.cs (1)
295this.Entries.Add(entry);
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (4)
449this.blockList.Add(new ActivityBlockingUpdate(activity, originalActivityId, message ?? UpdateBlockedReasonMessages.Get(reason))); 624mapEntry.EnvironmentUpdateMap.PrivateVariableEntries.Add(environmentEntry); 628mapEntry.EnvironmentUpdateMap.VariableEntries.Add(environmentEntry); 690mapEntry.EnvironmentUpdateMap.ArgumentEntries.Add(new EnvironmentUpdateMapEntry
System\Activities\Expressions\CompiledExpressionInvoker.cs (1)
250this.locationReferences.Add(new InlinedLocationReference(reference, this.metadata.CurrentActivity));
System\Activities\ExpressionUtilities.cs (6)
1215temporaryBindings.Add(bindings[j]); 1225temporaryBindings.Add(newBinding); 1309temporaryExpressions.Add(expressions[j]); 1318temporaryExpressions.Add(newExpression); 1353temporaryInitializers.Add(initializers[j]); 1362temporaryInitializers.Add(elementInit);
System\Activities\IdSpace.cs (1)
101this.members.Add(element);
System\Activities\Runtime\ActivityInstanceMap.cs (1)
355instanceListsToUpdate.Add(update);
System\Activities\Statements\AddToCollection.cs (1)
60collection.Add(item);
System\Activities\Statements\FlowDecision.cs (2)
95connections.Add(True); 100connections.Add(False);
System\Activities\Statements\FlowNode.cs (1)
82children.Add(ChildActivity);
System\Activities\Statements\FlowStep.cs (1)
42connections.Add(Next);
System\Activities\Statements\FlowSwitch.cs (2)
76connections.Add(item.Value); 80connections.Add(this.Default);
System\Activities\Statements\MethodResolver.cs (3)
112arguments.Add(argument); 140arguments.Add(argument); 152arguments.Add(argument);
System\Activities\Tracking\CustomTrackingRecord.cs (1)
53this.Data.Add(item);
System\Activities\Tracking\TrackingProvider.cs (1)
130this.pendingTrackingRecords.Add(record);
System\Activities\Validation\ActivityValidationServices.cs (1)
431validationErrors.Add(validationError);
System\Activities\Validation\ValidationContext.cs (1)
88validationErrors.Add(this.getChildrenErrors[i]);
System\Activities\Validation\ValidationResults.cs (2)
81warningsList.Add(violation); 90errorsList.Add(violation);
System\Activities\WorkflowApplication.cs (2)
5924saveCommand.InstanceData.Add(value); 5932saveCommand.InstanceMetadataChanges.Add(value);
System\Activities\XamlIntegration\CompiledDataContext.cs (1)
185temp.Add(reference.GetLocation(activityContext));
System\Activities\XamlIntegration\CompiledLocation.cs (1)
165this.locationReferences.Add(new CompiledLocationReference(reference.Item1, reference.Item2));
System\Activities\XamlIntegration\TextExpressionCompiler.cs (2)
2446messages.Add(warning); 2457messages.Add(warning);
System.Activities.Core.Presentation (1)
System\ServiceModel\Activities\Presentation\Converters\XPathMessageQuerySearchableStringConverter.cs (1)
20results.Add(messageQuery.Expression);
System.Activities.DurableInstancing (5)
System\Activities\DurableInstancing\BinaryHeap.cs (3)
110result.Add(this.items[position]); 116result.Add(this.items[lastItem]); 158result.Add(this.Dequeue(false));
System\Activities\DurableInstancing\SerializationUtilities.cs (2)
356identityCollection.Add((WorkflowIdentity)instanceValue.Value); 374identityCollection.Add(null);
System.Activities.Presentation (28)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
695result.Add(new XamlLoadErrorInfo(SharedSR.FileFormatError, 0, 0));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyMerger.cs (1)
187existingModelPropertiesForProperty.Add(property);
System.Activities.Presentation\System\Activities\Presentation\Converters\ActivityActionSearchableStringConverter.cs (1)
17results.Add(action.Argument.Name);
System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentSearchableStringConverter.cs (1)
16results.Add(ExpressionHelper.GetExpressionString(((Argument)value).Expression));
System.Activities.Presentation\System\Activities\Presentation\Converters\EncodingSearchableStringConverter.cs (1)
19results.Add(((Encoding)value).EncodingName.ToString());
System.Activities.Presentation\System\Activities\Presentation\Converters\TypeSearchableStringConverter.cs (1)
18results.Add(TypePresenter.ResolveTypeName(value as Type));
System.Activities.Presentation\System\Activities\Presentation\Converters\VisualBasicValueSearchableStringConverter.cs (1)
24results.Add(ExpressionHelper.GetExpressionString(value as Activity));
System.Activities.Presentation\System\Activities\Presentation\Converters\XNameSearchableStringConverter.cs (1)
17results.Add(new XNameConverter().ConvertToString(value));
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (6)
56disallowedTypesForCopy.Add(typeof(ActivityBuilder)); 57disallowedTypesForCopy.Add(typeof(ModelItemKeyValuePair<,>)); 58disallowedTypesForCopy.Add(typeof(WorkflowService)); 59disallowedTypesForCopy.Add(typeof(Catch)); 69disallowedTypesForCopy.Add(type); 144mergedItemsToPaste.Add(itemToPaste);
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
235invalidProperties.Add(entry.Key);
System.Activities.Presentation\System\Activities\Presentation\DictionaryItemsCollection.cs (1)
123this.dictionary.Add(new KeyValuePair<TKey, TValue>(item.Key, item.Value));
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (2)
896foundItems.Add(currentItem); 915foundItems.Add(currentItem);
System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (2)
73importedNamespace.Add(visualbasicImport.Import); 92references.Add(reference);
System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
553this.TextExpressionReferences.Add(new AssemblyReference { AssemblyName = new AssemblyName(assembly) });
System.Activities.Presentation\System\Activities\Presentation\PropertyReferenceUtilities.cs (1)
71references.Add(entry);
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (1)
276bitmapEncode.Frames.Add(BitmapFrame.Create(renderTargetBitmap));
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
722dataGrid.SelectedCells.Add(new DataGridCellInfo(cell)); 1137toBeDeleted.Add(obj);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1139encoder.Frames.Add(BitmapFrame.Create(this.CreateScreenShot()));
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
857scopeList.Add(element);
System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (1)
714LoadErrors.Add(new XamlLoadErrorInfo(error, lineNumber, linePosition));
System.AddIn (1)
System\Addin\Pipeline\ListContractAdapter.cs (1)
44m_list.Add(m_unwrapper(item));
System.ComponentModel.DataAnnotations (3)
DataAnnotations\Validator.cs (3)
55validationResults.Add(err.ValidationResult); 129validationResults.Add(err.ValidationResult); 167validationResults.Add(err.ValidationResult);
System.Data (23)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
695result.Add(new XamlLoadErrorInfo(SharedSR.FileFormatError, 0, 0));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyMerger.cs (1)
187existingModelPropertiesForProperty.Add(property);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentSearchableStringConverter.cs (1)
16results.Add(ExpressionHelper.GetExpressionString(((Argument)value).Expression));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\EncodingSearchableStringConverter.cs (1)
19results.Add(((Encoding)value).EncodingName.ToString());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\TypeSearchableStringConverter.cs (1)
18results.Add(TypePresenter.ResolveTypeName(value as Type));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\VisualBasicValueSearchableStringConverter.cs (1)
24results.Add(ExpressionHelper.GetExpressionString(value as Activity));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\XNameSearchableStringConverter.cs (1)
17results.Add(new XNameConverter().ConvertToString(value));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (6)
56disallowedTypesForCopy.Add(typeof(ActivityBuilder)); 57disallowedTypesForCopy.Add(typeof(ModelItemKeyValuePair<,>)); 58disallowedTypesForCopy.Add(typeof(WorkflowService)); 59disallowedTypesForCopy.Add(typeof(Catch)); 69disallowedTypesForCopy.Add(type); 144mergedItemsToPaste.Add(itemToPaste);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
235invalidProperties.Add(entry.Key);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DictionaryItemsCollection.cs (1)
123this.dictionary.Add(new KeyValuePair<TKey, TValue>(item.Key, item.Value));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (2)
896foundItems.Add(currentItem); 915foundItems.Add(currentItem);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (1)
92references.Add(reference);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
553this.TextExpressionReferences.Add(new AssemblyReference { AssemblyName = new AssemblyName(assembly) });
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\PropertyReferenceUtilities.cs (1)
71references.Add(entry);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
1137toBeDeleted.Add(obj);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
857scopeList.Add(element);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (1)
714LoadErrors.Add(new XamlLoadErrorInfo(error, lineNumber, linePosition));
System.Data.Entity (101)
System\Data\Common\CommandTrees\DbSetClause.cs (2)
85node.Children.Add(new TreeNode("Property", this.Property.Accept(visitor))); 89node.Children.Add(new TreeNode("Value", this.Value.Accept(visitor)));
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (58)
79funcNode.Children.Add(_visitor.VisitFunction(tree.EdmFunction, null)); 110clausesNode.Children.Add(clause.Print(_visitor)); 152clausesNode.Children.Add(clause.Print(_visitor)); 193queryNode.Children.Add(_visitor.VisitExpression(tree.Query)); 206retNode.Children.Add(paramNode); 378paramNode.Children.Add(this.VisitExpression(args[idx])); 389node.Children.Add(new TreeNode("Arguments", VisitParams(paramNames, args))); 399retInfo.Children.Add(this.VisitExpression(def)); 419retInfo.Children.Add(inputInfo); 429retInfo.Children.Add(this.VisitExpression(expr)); 439nullOp.Children.Add(this.VisitExpression(left)); 440nullOp.Children.Add(new TreeNode(name)); 441nullOp.Children.Add(this.VisitExpression(right)); 463retInfo.Children.Add(this.VisitExpression(expr.Argument)); 470retInfo.Children.Add(this.VisitExpression(expr.Left)); 471retInfo.Children.Add(this.VisitExpression(expr.Right)); 542lambdaInfo.Children.Add(this.Visit("Body", expression.Lambda.Body)); 593retInfo.Children.Add(new TreeNode("Instance", inst)); 694retInfo.Children.Add(argInfo); 723retInfo.Children.Add(this.VisitExpression(e.Argument)); 732retInfo.Children.Add(this.VisitExpression(e.Argument)); 742retInfo.Children.Add(this.Visit("When", e.When[idx])); 743retInfo.Children.Add(this.Visit("Then", e.Then[idx])); 746retInfo.Children.Add(this.Visit("Else", e.Else)); 760retInfo.Children.Add(this.VisitExpression(element)); 769retInfo.Children.Add(this.VisitWithLabel(description, properties[idx].Name, e.Arguments[idx])); 779refNode.Children.Add(CreateRelationshipNode((RelationshipType)relatedRef.SourceEnd.DeclaringType)); 780refNode.Children.Add(VisitExpression(relatedRef.TargetEntityReference)); 782references.Children.Add(refNode); 785retInfo.Children.Add(references); 803retNode.Children.Add(setNode); 804retNode.Children.Add(this.Visit("Keys", e.Argument)); 830retInfo.Children.Add(CreateRelationshipNode(e.Relationship)); 831retInfo.Children.Add(CreateNavigationNode(e.NavigateFrom, e.NavigateTo)); 832retInfo.Children.Add(this.Visit("Source", e.NavigationSource)); 865retInfo.Children.Add(this.VisitBinding("Input", e.Input)); 866retInfo.Children.Add(this.Visit("Predicate", e.Predicate)); 873retInfo.Children.Add(this.VisitBinding("Input", e.Input)); 874retInfo.Children.Add(this.Visit("Projection", e.Projection)); 881retInfo.Children.Add(this.VisitBindingList("Inputs", e.Inputs)); 888retInfo.Children.Add(this.VisitBinding("Left", e.Left)); 889retInfo.Children.Add(this.VisitBinding("Right", e.Right)); 890retInfo.Children.Add(this.Visit("JoinCondition", e.JoinCondition)); 898retInfo.Children.Add(this.VisitBinding("Input", e.Input)); 899retInfo.Children.Add(this.VisitBinding("Apply", e.Apply)); 932aggInfo.Children.Add(funcInfo); 938aggInfo.Children.Add(this.Visit("GroupAggregate", groupAgg.Arguments[0])); 946retInfo.Children.Add(this.VisitGroupBinding(e.Input)); 949retInfo.Children.Add(new TreeNode("Keys", keys)); 954retInfo.Children.Add(new TreeNode("Aggregates", aggs)); 972keyInfo.Children.Add(key); 981retInfo.Children.Add(this.VisitBinding("Input", e.Input)); 982retInfo.Children.Add(this.VisitSortOrder(e.SortOrder)); 983retInfo.Children.Add(this.Visit("Count", e.Count)); 990retInfo.Children.Add(this.VisitBinding("Input", e.Input)); 991retInfo.Children.Add(this.VisitSortOrder(e.SortOrder)); 999retInfo.Children.Add(this.VisitBinding("Input", e.Input)); 1000retInfo.Children.Add(this.Visit("Predicate", e.Predicate));
System\Data\Common\Internal\Materialization\Coordinator.cs (1)
298_elements.Add(element);
System\Data\Common\Internal\Materialization\Shaper.cs (1)
1002_materializedEntities.Add(wrappedEntity);
System\Data\EntityModel\SchemaObjectModel\EntityKeyElement.cs (1)
75this.KeyProperties.Add(property);
System\Data\EntityModel\SchemaObjectModel\ReferentialConstraintRoleElement.cs (1)
89this.RoleProperties.Add(property);
System\Data\EntityModel\SchemaObjectModel\Relationship.cs (2)
199Ends.Add(end); 212this.Constraints.Add(constraint);
System\Data\EntityModel\SchemaObjectModel\SchemaEnumType.cs (1)
191_enumMembers.Add(enumMember);
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (1)
163schemaCollection.Add(schema);
System\Data\Mapping\FunctionImportMapping.cs (2)
242errors.Add(error); 257errors.Add(error);
System\Data\Mapping\StorageMappingItemCollection.cs (3)
418errors.Add(new EdmSchemaError( 844errors.Add( 852errors.Add(
System\Data\Mapping\StorageMappingItemLoader.cs (4)
3387parsingErrors.Add(error); 3393parsingErrors.Add(error); 3403parsingErrors.Add(error); 3409parsingErrors.Add(error);
System\Data\Mapping\ViewGeneration\GeneratedView.cs (3)
100errors.Add(error); 110errors.Add(error); 121errors.Add(error);
System\Data\Metadata\EdmItemCollection.cs (1)
289errorCollection.Add(error);
System\Data\Metadata\MetadataArtifactLoaderFile.cs (1)
53uriRegistry.Add(_path);
System\Data\Metadata\MetadataArtifactLoaderResource.cs (1)
45uriRegistry.Add(tempPath);
System\Data\Metadata\ObjectItemCollection.cs (1)
428AssemblyCache.ViewGenerationAssemblies.Add(assembly);
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (3)
251CacheEntry.TypesInAssembly.Add(associationType); 340CacheEntry.TypesInAssembly.Add(edmType); 731CacheEntry.ClosureAssemblies.Add(type.Assembly);
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (3)
53CacheEntry.TypesInAssembly.Add(ospaceType); 473CacheEntry.ClosureAssemblies.Add(type.Assembly); 706CacheEntry.TypesInAssembly.Add(ospaceAssociation);
System\Data\Metadata\StoreItemCollection.cs (1)
210loader.Errors.Add(error);
System\Data\Objects\DataClasses\EntityCollection.cs (1)
255wrappedEntities.Add(EntityWrapperFactory.WrapEntityUsingContext(entity, ObjectContext));
System\Data\Objects\Internal\PocoPropertyAccessorStrategy.cs (1)
202collection.Add((T)item);
System\Data\Objects\ObjectStateManager.cs (1)
769entities.Add(wrappedEntity);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
2782flattenedProperties.Add(input);
System\Data\Query\PlanCompiler\JoinGraph.cs (1)
2090childForeignKeyVars.Add(rightVar);
System\Data\Query\PlanCompiler\PreProcessor.cs (2)
2351sortChildren.Add(n); 2356sortChildren.Add(n.Child0.Children[i]);
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (3)
143sortExpressions.Add((DbPropertyExpression)sortClause.Expression); 310flattenedProperties.Add(propertyExpression); 467flattenedProperties.Add(resultBinding.Variable.Property(prop));
System.Data.Entity.Design (10)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (2)
292Errors.Add(new EdmSchemaError(message, (int)errorCode, severity)); 296Errors.Add(new EdmSchemaError(message, (int)errorCode, severity, e));
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (5)
1332excludedColumns.Add(row.ColumnName); 1360excludedColumns.Add(row.ColumnName); 1384excludedColumns.Add(row.ColumnName); 1413excludedColumns.Add(row.ColumnName); 1441excludedColumns.Add(row.ColumnName);
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (2)
252schemaErrors.Add(new EdmSchemaError( 351schemaErrors.Add(new EdmSchemaError(
System\Data\Entity\Design\MetadataItemCollectionFactory.cs (1)
78errors.Add(new EdmSchemaError(Strings.TargetVersionSchemaVersionMismatch(maxExpectedVersion, actualVersion), (int)ModelBuilderErrorCode.SchemaVersionHigherThanTargetVersion, EdmSchemaErrorSeverity.Error));
System.Data.Services (10)
System\Data\Services\Epm\EpmContentDeSerializer.cs (2)
134this.Properties.Add(new EpmAppliedProperty { PropertyPath = propertyPath, ApplyRecursive = wholePathCovered }); 142this.PropertyToTypeNameMap.Add(new EpmPropertyToTypeMappingElement { PropertyPath = propertyPath, TypeName = typeName });
System\Data\Services\Epm\EpmContentSerializer.cs (1)
235current.Children.Add(newNode);
System\Data\Services\Epm\EpmSourceTree.cs (1)
89activeSubProperties.Add(currentProperty);
System\Data\Services\Epm\EpmTargetTree.cs (1)
111activeSubSegments.Add(currentSegment);
System\Data\Services\Providers\ResourceType.cs (5)
629this.OwnEpmInfo.Add(attribute); 715this.InheritedEpmInfo.Add(epmAttr); 719this.OwnEpmInfo.Add(epmAttr); 1089this.propertiesDeclaredOnThisType.Add(property); 1143this.InheritedEpmInfo.Add(epmAttr);
System.Data.Services.Client (5)
parent\Server\System\Data\Services\Epm\EpmSourceTree.cs (1)
89activeSubProperties.Add(currentProperty);
parent\Server\System\Data\Services\Epm\EpmTargetTree.cs (1)
111activeSubSegments.Add(currentSegment);
System\Data\Services\Client\Binding\BindingGraph.cs (2)
651s.OutgoingEdges.Add(e); 652t.IncomingEdges.Add(e);
System\Data\Services\Client\Binding\BindingObserver.cs (1)
921entitiesToUnTrack.Add(new UnTrackingInfo
System.IdentityModel (88)
System\IdentityModel\Metadata\MetadataSerializer.cs (22)
272appService.Endpoints.Add(address); 283appService.PassiveRequestorEndpoints.Add(address); 356person.EmailAddresses.Add(emailId); 364person.TelephoneNumbers.Add(phone); 531resultEntityGroup.ChildEntities.Add(ReadEntityDescriptor(envelopeReader, tokenResolver)); 535resultEntityGroup.ChildEntityGroups.Add(ReadEntitiesDescriptor(envelopeReader, tokenResolver)); 730resultEntity.RoleDescriptors.Add(ReadServiceProviderSingleSignOnDescriptor(reader)); 734resultEntity.RoleDescriptors.Add(ReadIdentityProviderSingleSignOnDescriptor(reader)); 760resultEntity.RoleDescriptors.Add(ReadApplicationServiceDescriptor(reader)); 764resultEntity.RoleDescriptors.Add(ReadSecurityTokenServiceDescriptor(reader)); 782resultEntity.Contacts.Add(ReadContactPerson(reader)); 853idpssoDescriptor.SingleSignOnServices.Add(endpoint); 857idpssoDescriptor.SupportedAttributes.Add(ReadAttribute(reader)); 1008resultKey.EncryptionMethods.Add(new EncryptionMethod(new Uri(algorithm))); 1431roleDescriptor.ProtocolsSupported.Add(new Uri(toAdd)); 1470roleDescriptor.Keys.Add(ReadKeyDescriptor(reader)); 1475roleDescriptor.Contacts.Add(ReadContactPerson(reader)); 1687singleSignOnDescriptor.NameIdentifierFormats.Add(new Uri(nameId)); 1772roleDescriptor.TargetScopes.Add(EndpointReference.ReadFrom(reader)); 1790roleDescriptor.ClaimTypesOffered.Add(ReadDisplayClaim(reader)); 1814roleDescriptor.ClaimTypesRequested.Add(ReadDisplayClaim(reader)); 1846roleDescriptor.TokenTypesOffered.Add(tokenTypeUri);
System\IdentityModel\Policy\UnconditionalPolicy.cs (1)
244identities.Add(this.PrimaryIdentity);
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (1)
635rst.AdditionalContext.Items.Add(new ContextItem(name, value, scope));
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
1235attributes.Add(this.CreateAttribute(new Claim(ClaimTypes.Actor, this.CreateXmlStringFromAttributes(collectedAttributes), ClaimValueTypes.String), tokenDescriptor));
System\IdentityModel\Tokens\SamlAssertion.cs (5)
701knownClaimTypes.Add(typeof(SamlAuthorizationDecisionClaimResource)); 702knownClaimTypes.Add(typeof(SamlAuthenticationClaimResource)); 703knownClaimTypes.Add(typeof(SamlAccessDecision)); 704knownClaimTypes.Add(typeof(SamlAuthorityBinding)); 705knownClaimTypes.Add(typeof(SamlNameIdentifierClaimResource));
System\IdentityModel\Tokens\SamlAttributeStatement.cs (1)
169claims.Add(attributeClaims[j]);
System\IdentityModel\Tokens\SamlAuthenticationStatement.cs (1)
149claims.Add(new Claim(ClaimTypes.Authentication, new SamlAuthenticationClaimResource(this.authenticationInstant, this.authenticationMethod, this.dnsAddress, this.ipAddress, this.authorityBindings), Rights.PossessProperty));
System\IdentityModel\Tokens\SamlAuthorizationDecisionStatement.cs (1)
139claims.Add(new Claim(ClaimTypes.AuthorizationDecision, new SamlAuthorizationDecisionClaimResource(this.resource, this.accessDecision, this.actions[i].Namespace, this.actions[i].Action), Rights.PossessProperty));
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (16)
287conditions.Conditions.Add(new SamlAudienceRestrictionCondition(new Uri[] { new Uri(relyingPartyAddress) })); 489distinctAttributes[attributeKey].AttributeValues.Add(attributeValue); 540attributes.Add(CreateAttribute(new Claim(ClaimTypes.Actor, CreateXmlStringFromAttributes(collectedAttributes), ClaimValueTypes.String), tokenDescriptor)); 605samlSubject.ConfirmationMethods.Add(SamlConstants.HolderOfKey); 612samlSubject.ConfirmationMethods.Add(BearerConfirmationMethod); 1823assertion.Statements.Add(ReadStatement(wrappedReader)); 1951conditions.Conditions.Add(ReadCondition(reader)); 2101audienceRestrictionCondition.Audiences.Add(new Uri(audience, UriKind.RelativeOrAbsolute)); 2342subject.ConfirmationMethods.Add(method); 2536attributeStatement.Attributes.Add(ReadAttribute(reader)); 2668attribute.AttributeValues.Add(string.Empty); 2672attribute.AttributeValues.Add(ReadAttributeValue(reader, attribute)); 2905authnStatement.AuthorityBindings.Add(ReadAuthorityBinding(reader)); 3192authzStatement.SamlActions.Add(ReadAction(reader)); 3286evidence.AssertionIdReferences.Add(reader.ReadElementString()); 3290evidence.Assertions.Add(ReadAssertion(reader));
System\IdentityModel\Tokens\SessionSecurityToken.cs (1)
1178properties.Add(new KeyValuePair<string, string>(name, value));
System\IdentityModel\Tokens\WSSecurityJan2004.cs (14)
40clauseEntries.Add(strClause); 45strEntries.Add(new LocalReferenceStrEntry(this.securityTokenSerializer.EmitBspRequiredAttributes, this.securityTokenSerializer)); 46strEntries.Add(new KerberosHashStrEntry(this.securityTokenSerializer.EmitBspRequiredAttributes)); 47strEntries.Add(new X509SkiStrEntry(this.securityTokenSerializer.EmitBspRequiredAttributes)); 48strEntries.Add(new X509IssuerSerialStrEntry()); 49strEntries.Add(new RelDirectStrEntry()); 50strEntries.Add(new SamlJan2004KeyIdentifierStrEntry()); 51strEntries.Add(new Saml2Jan2004KeyIdentifierStrEntry()); 62tokenEntryList.Add(new GenericXmlTokenEntry()); 63tokenEntryList.Add(new UserNamePasswordTokenEntry()); 64tokenEntryList.Add(new KerberosTokenEntry()); 65tokenEntryList.Add(new X509TokenEntry()); 71tokenEntryList.Add(new SamlTokenEntry()); 72tokenEntryList.Add(new WrappedKeyTokenEntry());
System\IdentityModel\Tokens\WSSecurityXXX2005.cs (6)
26strEntries.Add(new SamlDirectStrEntry()); 27strEntries.Add(new X509ThumbprintStrEntry(this.SecurityTokenSerializer.EmitBspRequiredAttributes)); 28strEntries.Add(new EncryptedKeyHashStrEntry(this.SecurityTokenSerializer.EmitBspRequiredAttributes)); 34tokenEntryList.Add(new WSSecurityXXX2005.WrappedKeyTokenEntry()); 35tokenEntryList.Add(new WSSecurityXXX2005.SamlTokenEntry()); 43clauseEntries.Add(strClause);
System\IdentityModel\Tokens\WSTrust.cs (3)
38tokenEntryList.Add(new BinarySecretTokenEntry(this)); 43keyIdentifierClauseEntries.Add(new BinarySecretClauseEntry(this)); 44keyIdentifierClauseEntries.Add(new GenericXmlSecurityKeyIdentifierClauseEntry(this));
System\IdentityModel\Tokens\XmlDsigSep2000.cs (4)
27keyIdentifierEntries.Add( new KeyInfoEntry( this.securityTokenSerializer ) ); 32keyIdentifierClauseEntries.Add( new KeyNameClauseEntry() ); 33keyIdentifierClauseEntries.Add( new KeyValueClauseEntry() ); 34keyIdentifierClauseEntries.Add( new X509CertificateClauseEntry() );
System\IdentityModel\Tokens\XmlEncApr2001.cs (1)
23keyIdentifierClauseEntries.Add(new EncryptedKeyClauseEntry(this.securityTokenSerializer));
System\IdentityModel\X509Util.cs (10)
193claimsCollection.Add(new Claim(ClaimTypes.Thumbprint, thumbprint, ClaimValueTypes.Base64Binary, issuer)); 198claimsCollection.Add(new Claim(ClaimTypes.X500DistinguishedName, value, ClaimValueTypes.String, issuer)); 204claimsCollection.Add(new Claim(ClaimTypes.Dns, value, ClaimValueTypes.String, issuer)); 210claimsCollection.Add(new Claim(ClaimTypes.Name, value, ClaimValueTypes.String, issuer)); 216claimsCollection.Add(new Claim(ClaimTypes.Email, value, ClaimValueTypes.String, issuer)); 222claimsCollection.Add(new Claim(ClaimTypes.Upn, value, ClaimValueTypes.String, issuer)); 228claimsCollection.Add(new Claim(ClaimTypes.Uri, value, ClaimValueTypes.String, issuer)); 242claimsCollection.Add(new Claim(ClaimTypes.Rsa, rsa.ToXmlString(false), ClaimValueTypes.RsaKeyValue, issuer)); 256claimsCollection.Add(new Claim(ClaimTypes.Dsa, dsa.ToXmlString(false), ClaimValueTypes.DsaKeyValue, issuer)); 262claimsCollection.Add(new Claim(ClaimTypes.SerialNumber, value, ClaimValueTypes.String, issuer));
System.Runtime.Serialization (13)
System\Runtime\Serialization\DataContractSerializer.cs (1)
159this.knownTypeList.Add(knownType);
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (2)
523this.knownTypeList.Add(itemType); 546this.knownTypeList.Add(knownType);
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (8)
311extensionData.Members.Add(ReadExtensionDataMember(xmlReader, memberIndex)); 806dataNode.Members.Add(ReadExtensionDataMember(xmlReader, memberIndex++)); 833dataNode.Items.Add(ReadExtensionDataValue(xmlReader)); 891dataNode.Members.Add(member); 919xmlAttributes.Add((XmlAttribute)Document.ReadNode(xmlReader.UnderlyingReader)); 932xmlChildNodes.Add(Document.ReadNode(xmlReader.UnderlyingReader)); 959xmlAttributes.Add(AddNamespaceDeclaration(prefixNsPair.Key, prefixNsPair.Value)); 993xmlChildNodes.Add(childNode);
System\Xml\XmlMtomWriter.cs (2)
249binaryDataChunks.Add(new MtomBinaryData(value)); 281binaryDataChunks.Add(new MtomBinaryData(buffer, index, count));
System.ServiceModel (105)
System\ServiceModel\Channels\CallbackContextMessageHeader.cs (2)
66header.HeaderTypes.Add(new XmlQualifiedName(CallbackContextHeaderName, CallbackContextHeaderNamespace)); 82header.HeaderTypes.Add(new XmlQualifiedName(CallbackContextHeaderName, CallbackContextHeaderNamespace));
System\ServiceModel\Channels\ChainedAsyncResult.cs (2)
148collection.Add(objs[index]); 183collection.Add(objs[index]);
System\ServiceModel\Channels\ConnectionOrientedTransportBindingElement.cs (1)
329policyAssertions.Add(new XmlDocument().CreateElement(TransportPolicyConstants.DotNetFramingPrefix,
System\ServiceModel\Channels\ContextDictionary.cs (2)
37this.dictionaryStore.Add(pair); 123this.dictionaryStore.Add(item);
System\ServiceModel\Channels\ContextMessageHeader.cs (2)
78header.HeaderTypes.Add(new XmlQualifiedName(ContextHeaderName, ContextHeaderNamespace)); 94header.HeaderTypes.Add(new XmlQualifiedName(ContextHeaderName, ContextHeaderNamespace));
System\ServiceModel\Channels\ExclusiveTcpTransportManager.cs (1)
247result.Add(transportManager);
System\ServiceModel\Channels\HttpTransportManager.cs (1)
218result.Add(this);
System\ServiceModel\Channels\MsmqBindingElementBase.cs (5)
321policyAssertions.Add(document.CreateElement( 329policyAssertions.Add(document.CreateElement( 337policyAssertions.Add(document.CreateElement( 345policyAssertions.Add(document.CreateElement( 351policyAssertions.Add(document.CreateElement(
System\ServiceModel\Channels\NamedPipeConnectionPool.cs (1)
102uris.Add(uri);
System\ServiceModel\Channels\NamedPipeTransportManager.cs (1)
137result.Add(this);
System\ServiceModel\Channels\PeerSecurityManager.cs (1)
617neighbor.Extensions.Add(extension);
System\ServiceModel\Channels\ServiceChannel.cs (1)
1686this.instanceContext.OutgoingChannels.Add((IChannel)this.proxy);
System\ServiceModel\Channels\ServiceChannelFactory.cs (1)
386current.InstanceContext.WmiChannels.Add((IChannel)serviceChannel.Proxy);
System\ServiceModel\Channels\SharedTcpTransportManager.cs (1)
220result.Add(this);
System\ServiceModel\Channels\TransactionChannel.cs (1)
125TransactionFlowProperty.Ensure(message).IssuedTokens.Add(rstr);
System\ServiceModel\Channels\TransportManager.cs (2)
192this.transportManagers.Add(source.transportManagers[i]); 248this.transportManagers.Add(transportManager);
System\ServiceModel\Channels\UnrecognizedAssertionsBindingElement.cs (2)
73existent.Add(assertion); 87existent.Add(assertion);
System\ServiceModel\Channels\UtilityExtension.cs (1)
82neighbor.Extensions.Add(new UtilityExtension());
System\ServiceModel\ComIntegration\ComPlusInstanceContextInitializer.cs (1)
234instanceContext.Extensions.Add(proxy);
System\ServiceModel\Configuration\IssuedTokenServiceElement.cs (2)
184issuedToken.KnownCertificates.Add(SecurityUtils.GetCertificateFromStore(src.StoreName, src.StoreLocation, src.X509FindType, src.FindValue, null)); 192issuedToken.AllowedAudienceUris.Add(src.AllowedAudienceUri);
System\ServiceModel\Description\MessageContractImporter.cs (2)
1344bodyPartsFromBindings.Add(partName); 1348bodyPartsFromBindings.Add(partName);
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
312host.Extensions.Add(mex);
System\ServiceModel\Dispatcher\ActionMessageFilterTable.cs (4)
218results.Add(this.always[i]); 232results.Add(filters[i]); 241results.Add(this.filters[this.always[i]]); 255results.Add(this.filters[filters[i]]);
System\ServiceModel\Dispatcher\AndMessageFilterTable.cs (4)
200results.Add(pairs[i].filter); 214results.Add(pairs[i].data); 228results.Add(pairs[i].filter); 242results.Add(pairs[i].data);
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
102knownTypes.Add(type);
System\ServiceModel\Dispatcher\EndpointAddressMessageFilterTable.cs (2)
447results.Add(candis[i].data); 481results.Add(candis[i].filter);
System\ServiceModel\Dispatcher\FaultFormatter.cs (1)
105faultInfos.Add(faultContractInfos[i]);
System\ServiceModel\Dispatcher\MatchSingleFxEngineOpcode.cs (3)
50filters.Add(filter); 97context.Processor.MatchSet.Add((MessageFilter)this.item); 154context.Processor.ResultSet.Add(new KeyValuePair<MessageQuery, XPathResult>((MessageQuery)this.item, result));
System\ServiceModel\Dispatcher\MessageFilter.cs (5)
136results.Add(item.Value); 149results.Add(item.Value); 206results.Add(item.Key); 219results.Add(item.Key); 286((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.filters).Add(item);
System\ServiceModel\Dispatcher\QueryResultOp.cs (4)
143filters.Add(filter); 221context.Processor.ResultSet.Add(new KeyValuePair<MessageQuery, XPathResult>((MessageQuery)this.results[0], result)); 225context.Processor.ResultSet.Add(new KeyValuePair<MessageQuery, XPathResult>((MessageQuery)this.results[i], result.Copy())); 265matches.Add((MessageFilter)this.results[i]);
System\ServiceModel\Dispatcher\ThreadSafeMessageFilterTable.cs (1)
229((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.table).Add(item);
System\ServiceModel\Dispatcher\XmlSerializerFaultFormatter.cs (1)
80faultInfos.Add(this.xmlSerializerFaultContractInfos[i]);
System\ServiceModel\Dispatcher\XPathMessageFilterTable.cs (1)
556results.Add(this.filters[matches[i]]);
System\ServiceModel\Security\ChannelProtectionRequirements.cs (3)
176result.HeaderTypes.Add(headerType); 341signedParts.HeaderTypes.Add(headerName); 343encryptedParts.HeaderTypes.Add(headerName);
System\ServiceModel\Security\ScopedMessagePartSpecification.cs (1)
172target.ChannelParts.HeaderTypes.Add(headerType);
System\ServiceModel\Security\SecurityProtocol.cs (8)
230providerSpecList.Add(providerSpec); 255providerSpecList.Add(providerSpec); 280providerSpecList.Add(providerSpec); 305providerSpecList.Add(providerSpec); 568supportingTokens.Add(spec); 611supportingTokens.Add(new SupportingTokenSpecification(supportingToken, EmptyReadOnlyCollection<IAuthorizationPolicy>.Instance, spec.SecurityTokenAttachmentMode, spec.TokenParameters)); 916this.supportingTokens.Add(new SupportingTokenSpecification(SecurityTokenProvider.SecurityTokenAsyncResult.End(result), EmptyReadOnlyCollection<IAuthorizationPolicy>.Instance, spec.SecurityTokenAttachmentMode, spec.TokenParameters)); 920this.supportingTokens.Add(new SupportingTokenSpecification(spec.TokenProvider.EndGetToken(result), EmptyReadOnlyCollection<IAuthorizationPolicy>.Instance, spec.SecurityTokenAttachmentMode, spec.TokenParameters));
System\ServiceModel\Security\SecurityProtocolFactory.cs (4)
917authenticatorSpecList.Add(authenticatorSpec); 935authenticatorSpecList.Add(authenticatorSpec); 953authenticatorSpecList.Add(authenticatorSpec); 971authenticatorSpecList.Add(authenticatorSpec);
System\ServiceModel\Security\SecuritySessionFilter.cs (2)
370results.Add(matchingData); 407results.Add(match);
System\ServiceModel\Security\SecurityStandardsManager.cs (1)
219results.Add(driver.GetSecurityContextTokenId(reader));
System\ServiceModel\Security\ServiceCredentialsSecurityTokenManager.cs (2)
293allowedAudienceUris.Add(parent.IssuedTokenAuthentication.AllowedAudienceUris[i]); 298allowedAudienceUris.Add(recipientRequirement.ListenUri.AbsoluteUri);
System\ServiceModel\Security\WSSecureConversation.cs (1)
49tokenEntryList.Add(this.derivedKeyEntry);
System\ServiceModel\Security\WSSecureConversationDec2005.cs (2)
55this.knownClaimTypes.Add(knownType); 68tokenEntryList.Add(new SecurityContextTokenEntryDec2005(this, this.securityStateEncoder, this.knownClaimTypes));
System\ServiceModel\Security\WSSecureConversationFeb2005.cs (2)
55this.knownClaimTypes.Add(knownType); 68tokenEntryList.Add(new SecurityContextTokenEntryFeb2005(this, this.securityStateEncoder, this.knownClaimTypes));
System\ServiceModel\Security\WSSecurityJan2004.cs (6)
48tokenEntryList.Add(new GenericXmlTokenEntry()); 49tokenEntryList.Add(new UserNamePasswordTokenEntry(this.tokenSerializer)); 50tokenEntryList.Add(new KerberosTokenEntry(this.tokenSerializer)); 51tokenEntryList.Add(new X509TokenEntry(this.tokenSerializer)); 57tokenEntryList.Add(new SamlTokenEntry(this.tokenSerializer, this.samlSerializer)); 58tokenEntryList.Add(new WrappedKeyTokenEntry(this.tokenSerializer));
System\ServiceModel\Security\WSSecurityPolicy.cs (2)
341parts.HeaderTypes.Add(new XmlQualifiedName(name, ns)); 598assertions.Add(transportTokenAssertion);
System\ServiceModel\Security\WSSecurityXXX2005.cs (2)
42tokenEntryList.Add(new WSSecurityXXX2005.WrappedKeyTokenEntry(this.WSSecurityTokenSerializer)); 43tokenEntryList.Add(new WSSecurityXXX2005.SamlTokenEntry(this.WSSecurityTokenSerializer, this.SamlSerializer));
System\ServiceModel\Security\WSTrust.cs (1)
60tokenEntryList.Add(new BinarySecretTokenEntry(this));
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
52this.items.Add(list[i]);
System\UriTemplate.cs (1)
874extraParameters.Add(kvp);
System\UriTemplateTable.cs (1)
370relativePathSegments.Add(relPathSeg);
System\UriTemplateTrieNode.cs (4)
164candidates.Add(new UriTemplateTableMatchCandidate(answer.Items[i].Key, answer.SegmentsCount, 686results.Add(new List<T>(this.items.Values[i].Count)); 690results[i].Add(this.items.Values[i][j].Value); 752results.Add(sameOrderResults);
System.ServiceModel.Activation (6)
System\ServiceModel\Activation\HttpHostedTransportConfiguration.cs (1)
82ListenAddresses.Add(listenAddress);
System\ServiceModel\Activation\MsmqHostedTransportConfiguration.cs (1)
34this.ListenAddresses.Add(new BaseUriWithWildcard(address, TransportDefaults.HostNameComparisonMode));
System\ServiceModel\Activation\NamedPipeHostedTransportConfiguration.cs (1)
29this.ListenAddresses.Add(listenAddress);
System\ServiceModel\Activation\TcpHostedTransportConfiguration.cs (1)
30this.ListenAddresses.Add(listenAddress);
System\ServiceModel\Activities\Activation\WorkflowServiceHostFactory.cs (1)
168workflowServiceHost.SupportedVersions.Add(service);
System\ServiceModel\ServiceHostingEnvironment.cs (1)
1386service.Extensions.Add(new VirtualPathExtension(normalizedVirtualPath, ServiceHostingEnvironment.ApplicationVirtualPath, ServiceHostingEnvironment.SiteName));
System.ServiceModel.Activities (22)
System\ServiceModel\Activities\Description\BufferedReceiveServiceBehavior.cs (1)
63serviceHostBase.Extensions.Add(new BufferedReceiveManager(this.MaxPendingMessagesPerChannel));
System\ServiceModel\Activities\Description\CorrelationQueryBehavior.cs (4)
296this.queries.Add(inQuery); 301this.queries.Add(outQuery); 306this.queries.Add(noActionReplyQuery); 378channel.Extensions.Add(this);
System\ServiceModel\Activities\Dispatcher\CorrelationKeyCalculator.cs (1)
172additionalKeys.Add(additionalKey);
System\ServiceModel\Activities\Dispatcher\DurableInstanceManager.cs (1)
483commandMetadata.Add(metadata);
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (5)
811saveCommand.InstanceData.Add(value); 830saveCommand.InstanceKeysToComplete.Add(key.Value); 831saveCommand.InstanceKeysToFree.Add(key.Value); 1251saveCommand.InstanceKeysToComplete.Add(key.Value); 1252saveCommand.InstanceKeysToFree.Add(key.Value);
System\ServiceModel\Activities\InternalSendMessage.cs (2)
354correlationQueryBehavior.CorrelationQueries.Add(this.CorrelationQuery); 364correlationQueryBehavior.CorrelationQueries.Add(query);
System\ServiceModel\Activities\Send.cs (3)
354result.ReplyCorrelationQueries.Add(correlationQuery); 395this.internalSend.ReplyCorrelationQueries.Add(replyQuery); 404this.lazyCorrelationQueries.Add(replyQuery);
System\ServiceModel\Activities\Tracking\Configuration\TrackingQueryElement.cs (1)
73trackingQuery.QueryAnnotations.Add(new KeyValuePair<string, string>(annotation.Name, annotation.Value));
System\ServiceModel\Activities\WorkflowService.cs (4)
214constraintList.Add(constraint); 666this.knownServiceActivities.Add(receive); 677pairedReceive.FollowingFaults.Add(sendReply); 687pairedReceive.FollowingReplies.Add(sendReply);
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\DiscoveryOperationContextExtensionInitializer.cs (1)
44OperationContext.Current.Extensions.Add(this.discoveryOperationContextExtension);
System\ServiceModel\Discovery\ServiceDiscoveryBehavior.cs (1)
69serviceHostBase.Extensions.Add(discoveryServiceExtension);
System.ServiceModel.Internals (1)
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (1)
768exceptionInfo.Add(
System.ServiceModel.Routing (11)
System\ServiceModel\Dispatcher\StrictAndMessageFilter.cs (5)
117results.Add(andFilter); 137results.Add(andFilter); 189results.Add(this.andFilters[andFilter]); 209results.Add(this.andFilters[andFilter]); 227matchingFilters.Add(andFilter);
System\ServiceModel\Routing\Configuration\RoutingSection.cs (1)
328toReturn.Add(serviceEnpoint);
System\ServiceModel\Routing\MessageRpc.cs (2)
208this.operations.Add(new SendOperation(result, typeof(TContract), this.OperationContext)); 240this.operations.Add(new SendOperation(endpointList, typeof(TContract), this.OperationContext));
System\ServiceModel\Routing\ProcessMessagesAsyncResult.cs (1)
60this.service.SessionMessages.Add(messageRpc);
System\ServiceModel\Routing\RoutingBehavior.cs (2)
39serviceHostBase.Extensions.Add(routingExtension); 228channel.Extensions.Add(channelState);
System.ServiceModel.Web (3)
System\ServiceModel\Dispatcher\WebHttpDispatchOperationSelector.cs (1)
105methodSpecificTable.KeyValuePairs.Add(new KeyValuePair<UriTemplate, object>(ut, od.Name));
System\ServiceModel\Web\Utility.cs (1)
209list.Add(item);
System\ServiceModel\Web\WebOperationContext.cs (1)
43operationContext.Extensions.Add(this);
System.Web (10)
ModelBinding\CollectionModelBinder`1.cs (2)
41bindingContext.ValidationNode.ChildNodes.Add(childBindingContext.ValidationNode); 94bindingContext.ValidationNode.ChildNodes.Add(innerBindingContext.ValidationNode);
ModelBinding\CollectionModelBinderUtil.cs (1)
19collection.Add(element);
ModelBinding\KeyValuePairModelBinderUtil.cs (1)
16parentBindingContext.ValidationNode.ChildNodes.Add(propertyBindingContext.ValidationNode);
ModelBinding\ModelBinderDictionary.cs (1)
72((IDictionary<Type, IModelBinder>)_innerDictionary).Add(item);
ModelBinding\ModelStateDictionary.cs (1)
67((IDictionary<string, ModelState>)_innerDictionary).Add(item);
ModelBinding\ModelValidationNode.cs (1)
59ChildNodes.Add(childNode);
ModelBinding\MutableObjectModelBinder.cs (1)
177bindingContext.ValidationNode.ChildNodes.Add(complexModelResult.ValidationNode);
Routing\RouteValueDictionary.cs (1)
118((ICollection<KeyValuePair<string, object>>)_dictionary).Add(item);
Security\Cryptography\MachineKeyMasterKeyProvider.cs (1)
81specificPurposes.Add(key + ": " + value);
System.Web.Extensions (25)
Compilation\WCFModel\SchemaMerger.cs (2)
160importErrors.Add( 174importErrors.Add(
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (19)
563importErrors.Add( 579importErrors.Add( 593importErrors.Add(new ProxyGenerationError( 694proxyGenerationErrors.Add(new ProxyGenerationError(error)); 795options.ReferencedTypes.Add(sharedType); 804options.ReferencedCollectionTypes.Add(collectionType); 877importErrors.Add( 899importErrors.Add( 912importErrors.Add(new ProxyGenerationError( 931importErrors.Add(new ProxyGenerationError( 942importErrors.Add(new ProxyGenerationError( 1137importErrors.Add(new ProxyGenerationError( 1152importErrors.Add(new ProxyGenerationError( 1171importErrors.Add(new ProxyGenerationError( 1201importErrors.Add( 1214importErrors.Add(new ProxyGenerationError( 1443importErrors.Add(ConvertMetadataErrorToProxyGenerationError(metadataItem, ex)); 1632generationErrors.Add(new ProxyGenerationError(ProxyGenerationError.GeneratorState.GenerateCode, wsdlServiceDescription.RetrievalUrl, ex)); 1647generationErrors.Add(new ProxyGenerationError(error));
Compilation\WCFModel\WsdlInspector.cs (4)
303importErrors.Add(new ProxyGenerationError( 323importErrors.Add(new ProxyGenerationError( 343importErrors.Add(new ProxyGenerationError( 363importErrors.Add(new ProxyGenerationError(
System.Workflow.Activities (10)
LocalService\CorrelationTokenInvalidatedHandler.cs (1)
101subscription.CorrelationProperties.Add(property);
Role\ADRoleFactory.cs (3)
38role.Operations.Add(s_directoryGroupQuery); 49role.Operations.Add(s_directoryGroupQuery); 60role.Operations.Add(s_directoryGroupQuery);
Rules\Design\Dialogs\RuleSetDialog.cs (3)
258rule.ThenActions.Add(ruleAction); 282rule.ElseActions.Add(ruleAction); 301this.dialogRuleSet.Rules.Add(newRule);
Rules\Rule.cs (2)
211newRule.thenActions.Add(thenAction.Clone()); 218newRule.elseActions.Add(elseAction.Clone());
Rules\RuleDefinitions.cs (1)
99cdiff.Add(rdiff[i]);
System.Workflow.ComponentModel (46)
AuthoringOM\ActivitiesCollection.cs (2)
192((IList<Activity>)this).Add(item); 260((IList<Activity>)this).Add((Activity)value);
AuthoringOM\Activity.cs (1)
1384handles.Add(TransactionScopeActivity.TransactionScopeActivityIsolationHandle);
AuthoringOM\ActivityExecutionContext.cs (1)
437grantedLocks[handle].WaitList.Add(activity);
AuthoringOM\ActivityExecutionContextCollection.cs (2)
109activeContexts.Add(copiedActivity); 342activeContexts.Add(revokedActivity);
AuthoringOM\Behaviors\SynchronizationScope.cs (1)
139synchronizationHandles.Add(realHandle);
AuthoringOM\Compiler\Configuration.cs (1)
50versionTypes.Add(authorizedType);
AuthoringOM\Design\ActivityPreviewDesigner.cs (2)
490this.previewStrip.Items.Add(stripItem); 774this.previewStrip.Items.Add(itemToAdd);
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (1)
634this.itemPalette.Items.Add(smartVerbItem);
AuthoringOM\Design\WorkflowView.cs (5)
651this.toolContainer.TabStrip.Tabs.Add(new ItemInfo(i + 1, tabImage, buttonCaption)); 1852fitAllAction.Buttons.Add(fitallButton); 1975filters.Add(new GlyphManager()); 1976filters.Add(new WindowManager()); 1987filters.Add(filter);
AuthoringOM\ItemList.cs (2)
247((IList<T>)this).Add(item); 327((IList<T>)this).Add((T)value);
AuthoringOM\Serializer\DictionaryMarkupSerializer.cs (2)
106serializationManager.ExtendedPropertiesProviders.Add(this); 122serializationManager.ExtendedPropertiesProviders.Add(this);
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (22)
1635propVal.Add(content); 2028propVal.Add(content); 2110authorizedTypes.Add(authType); 2117authorizedTypes.Add(authType); 2124authorizedTypes.Add(authType); 2131authorizedTypes.Add(authType); 2138authorizedTypes.Add(authType); 2145authorizedTypes.Add(authType); 2152authorizedTypes.Add(authType); 2158authorizedTypes.Add(authType); 2164authorizedTypes.Add(authType); 2171authorizedTypes.Add(authType); 2178authorizedTypes.Add(authType); 2185authorizedTypes.Add(authType); 2192authorizedTypes.Add(authType); 2201authorizedTypes.Add(authType); 2208authorizedTypes.Add(authType); 2217authorizedTypes.Add(authType); 2224authorizedTypes.Add(authType); 2233authorizedTypes.Add(authType); 2240authorizedTypes.Add(authType); 2249authorizedTypes.Add(authType);
AuthoringOM\Serializer\WorkflowMarkupSerializerMapping.cs (4)
284matchingMappings.Add(new WorkflowMarkupSerializerMapping(reader.Prefix, xmlNamespace, clrNamespace, assemblyName)); 314matchingMappings.Add(new WorkflowMarkupSerializerMapping(reader.Prefix, xmlNamespace, xmlnsDefinition.ClrNamespace, assemblyName)); 316collectedMappings.Add(new WorkflowMarkupSerializerMapping(reader.Prefix, xmlNamespace, xmlnsDefinition.ClrNamespace, assemblyName)); 374collectedMappings.Add(mapping);
System.Workflow.Runtime (22)
CorrelationToken.cs (1)
169subscriptions.Add(subscriber);
System\Activities\Statements\Interop.cs (4)
269this.outputPropertyDefinitions.Add(propertyInfo); 639this.exposedBodyProperties.Add(descriptor); 653this.exposedBodyProperties.Add(inDescriptor); 656this.exposedBodyProperties.Add(outDescriptor);
System\Activities\Statements\InteropEnvironment.cs (2)
238deletedBookmarks.Add(value); 250newBookmarks.Add(value);
Tracking\PropertyHelper.cs (2)
188items.Add(data); 214items.Add(data);
Tracking\SqlTrackingService.cs (6)
1004activities.Add(activity); 1491activity.Add(record); 2337activities.Add(removedActivity); 2356activities.Add(removedActivity); 2382activities.Add(addedActivity); 2406activities.Add(addedActivity);
Tracking\SqlTrackingWorkflowInstance.cs (2)
292activity.Body.Add(item); 439user.Body.Add(item);
Tracking\TrackingExtract.cs (2)
96items.Add(item); 162items.Add(item);
Tracking\TrackingProfileSerializer.cs (3)
137tpde.ValidationEventArgs.Add(arg); 476point.MatchingLocation.Events.Add((TrackingWorkflowEvent)Enum.Parse(typeof(TrackingWorkflowEvent), reader.ReadString())); 522events.Add((ActivityExecutionStatus)Enum.Parse(typeof(ActivityExecutionStatus), status));
System.WorkflowServices (15)
System\ServiceModel\Description\WorkflowRuntimeBehavior.cs (1)
109serviceHostBase.Extensions.Add(cachedInstanceExpirationExtension);
System\ServiceModel\Dispatcher\DurableInstanceContextProvider.cs (3)
69result.IncomingChannels.Add(channel); 114instanceContext.Extensions.Add(durableInstance); 118instanceContext.IncomingChannels.Add(channel);
System\ServiceModel\Dispatcher\DurableOperationContext.cs (1)
42operationContext.Extensions.Add(new DurableOperationContext.IsInOperation());
System\ServiceModel\Security\SerializableAuthorizationContext.cs (1)
184claimSets.Add(SctClaimSerializer.DeserializeClaimSet(reader, claimDictionary, claimSetSerializer, claimSerializer));
System\ServiceModel\SerializableReadOnlyDictionary.cs (1)
38this.dictionary.Add(pair);
System\Workflow\Activities\OperationParameterInfoCollection.cs (2)
158((IList<OperationParameterInfo>) this).Add(item); 248((IList<OperationParameterInfo>) this).Add((OperationParameterInfo) value);
System\Workflow\Activities\ReceiveActivity.cs (4)
681context.ReflectedContracts.Add(contractDescription.ContractType); 697context.ReflectedContracts.Add(inheritedContractDescription.ContractType); 1407outputParameters.Add(new KeyValuePair<int, string>(parameter.Position, parameter.Name)); 1419inputParameters.Add(new KeyValuePair<int, string>(parameter.Position, parameter.Name));
System\Workflow\Activities\SendActivity.cs (2)
622outputParameters.Add(new KeyValuePair<int, string>(parameter.Position, parameter.Name)); 627inputParameters.Add(new KeyValuePair<int, string>(parameter.Position, parameter.Name));
WindowsBase (1)
Base\MS\Internal\Security\RightsManagement\IssuanceLicense.cs (1)
323unsignedPublishLicense.Grants.Add(
XamlBuildTask (27)
Microsoft\Build\Tasks\Xaml\AttributeData.cs (2)
73attributeData.Parameters.Add(parameterData); 120parameters.Add(paramInfo);
Microsoft\Build\Tasks\Xaml\ClassImporter.cs (6)
164updatedTypeArgs.Add(new XamlType(typeArgXmlns, typeArg.Name, typeArgTypeArgs, xsc)); 313classData.NamedObjects.Add(currentObject); 347classData.CodeSnippets.Add(codeSnippet); 374classData.Attributes.Add(attribute); 411attributes.Add(attribute); 469property.Attributes.Add(attribute);
Microsoft\Build\Tasks\Xaml\ClassValidator.cs (1)
70this.eventArgs.Add(new LogData()
Microsoft\Build\Tasks\Xaml\CompilationPass2Task.cs (2)
242applicationMarkup.Add(taskItem.ItemSpec); 274sourceCodeFiles.Add(taskItem.ItemSpec);
Microsoft\Build\Tasks\Xaml\CompilationPass2TaskInternal.cs (3)
210loadedAssemblyList.Add(localAssembly); 313this.LogData.Add(logData); 357this.GeneratedCodeFiles.Add(file);
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTask.cs (1)
353sourceCodeFiles.Add(taskItem.ItemSpec);
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTaskInternal.cs (5)
360this.GeneratedCodeFiles.Add(fileName); 365this.GeneratedResources.Add(fileName); 401this.GeneratedCodeFiles.Add(codeFileName); 479this.GeneratedCodeFiles.Add(codeFileName); 506this.GeneratedResources.Add(markupFileName);
Microsoft\Build\Tasks\Xaml\XamlBuildTaskServices.cs (7)
242assemblies.Add(Load(item)); 249assemblies.Add(Load(item)); 278assemblies.Add(typeof(Object).Assembly); 453typeArgs.Add(GetXamlTypeFromXamlTypeName(typeArg, namespaceTable, xsc)); 608unresolvedLeafTypeList.Add(type); 619unresolvedLeafTypeList.Add(type); 762references.Add(reference.ItemSpec);