Implemented interface member:
method
Add
System.Collections.IList.Add(System.Object)
7 overrides of Add
System.Net.WebProxy (1)
System\Net\WebProxy.cs (1)
479public override int Add(object? value)
System.Private.CoreLib (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (5)
747public override int Add(object? obj) 1203public override int Add(object? value) 1688public override int Add(object? obj) 1942public override int Add(object? obj) 2191public override int Add(object? value)
System.Windows.Forms (1)
System\Windows\Forms\Controls\UpDown\DomainUpDown.DomainUpDownItemCollection.cs (1)
52public override int Add(object? item)
861 references to Add
dotnet-svcutil-lib (131)
FrameworkFork\Microsoft.CodeDom\Configuration\CodeDomCompilationConfiguration.cs (1)
66_allCompilerInfo.Add(compilerInfo);
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceImportCollection.cs (2)
88_data.Add(value); 200return _data.Add((CodeNamespaceImport)value);
FrameworkFork\Microsoft.CodeDom\System\CodeTypeReference.cs (1)
238typeArgumentList.Add(new CodeTypeReference(name));
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (3)
218gcElemRefs.Add(elemRef); 238elementList.Add(new WeakReference(elem)); 246elementList.Add(new WeakReference(elem));
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNamedNodeMap.SmallXmlNodeList.cs (8)
65temp.Add(null); 77list.Add(value); 82list.Add(_field); 83list.Add(value); 126list.Add(value); 127list.Add(_field); 133list.Add(_field); 134list.Add(value);
FrameworkFork\Microsoft.Xml\Xml\schema\AstTree.cs (7)
176_stack.Add(eaxis); 319_axisStack.Add(stack); 588AstArray.Add(ast); 667_fAxisArray.Add(new ForwardAxis(DoubleLinkAxis.ConvertTree((Axis)(ast.Input)), false)); 671_fAxisArray.Add(new ForwardAxis(DoubleLinkAxis.ConvertTree(ast), false)); 695_fAxisArray.Add(new ForwardAxis(DoubleLinkAxis.ConvertTree((Axis)(ast.Input)), true)); 699_fAxisArray.Add(new ForwardAxis(DoubleLinkAxis.ConvertTree(ast), true));
FrameworkFork\Microsoft.Xml\Xml\schema\ConstraintStruct.cs (2)
135_cs.axisFields.Add(kss.fields[i]); // new, add to axisFields 137_KSs.Add(kss);
FrameworkFork\Microsoft.Xml\Xml\schema\ContentValidator.cs (17)
96_particles.Add(particle); 136_particles.Add(particle); 153match.Add(_names[name]); 162match.Add(_wildcards[wildcard]); 168match.Add(_last); // add wildcard 261return _positions.Add(new Position(symbol, particle)); 1096particles.Add(p); 1112particles.Add(member); 1560transitionTable.Add(new int[symbolsCount + 1]); 1605transitionTable.Add(new int[symbolsCount + 1]); 1737names.Add(s); 1745names.Add(s); 1888names.Add(s); 1896names.Add(s); 2202names.Add(s); 2210names.Add(s); 2340names.Add(entry.Key);
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (2)
1147values.Add(new XmlAtomicValue(simpleValue.XmlType, simpleValue.TypedValue, nsmgr)); 1159values.Add(typedValue);
FrameworkFork\Microsoft.Xml\Xml\schema\FacetChecker.cs (2)
178_derivedRestriction.Enumeration.Add(ParseFacetValue(_datatype, facet, ResXml.Sch_EnumerationFacetInvalid, nsmgr, nameTable)); 366_derivedRestriction.Patterns.Add(new Regex(Preprocess(_regStr.ToString()), RegexOptions.None));
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (5)
328schema.ImportedNamespaces.Add(importNS); 704_redefinedList.Add(new RedefineEntry(external as XmlSchemaRedefine, _rootSchemaForRedefine)); 720imports.Add(includedSchema); 724_rootSchema.ImportedNamespaces.Add(importNS); 996includesList.Add(schema);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (4)
54members.Add(element); 461substitutionGroup.Members.Add(examplar); // Compiled mark 642memberTypeDefinitions.Add(unionMember); 671memberTypeDefinitions.Add(st);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (6)
462members.Add(element); 514newMembers.Add(g.Members[j]); 524substitutionGroup.Members.Add(newMembers[i]); 527substitutionGroup.Members.Add(examplar); // Compiled mark 727memberTypeDefinitions.Add(unionMember); 756memberTypeDefinitions.Add(st);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSet.cs (7)
546needToCheckSchemaList.Add(mainSchema); 834tnsSchemas.Add(currentSchema); 1122oldSubstGroup.Members.Add(substGroup.Members[i]); 1168substitutionGroup.Members.Add(newMembers[i]); 1171substitutionGroup.Members.Add(headElement); 1274existingSchemas.Add(currentSchema); 1500removalList.Add(cKey);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (10)
1025attList.Add(attDef.SchemaAttribute); 1109defaultAttributes.Add(attrData); 1113defaultAttributes.Add(attdef.SchemaAttribute); 1591attList.Add(s_xsiTypeSO); 1595attList.Add(s_xsiNilSO); 1599attList.Add(s_xsiSLSO); 1603attList.Add(s_xsiNoNsSLSO); 2644expectedNames.Add(currentQName); 2652expectedNames.Add(currentQName); 2657expectedNames.Add(nextParticle.GetQualifiedName());
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
768_unhandledAttributes.Add(attribute);
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeIdentifiers.cs (1)
166_list.Add(value);
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (3)
177list.Add(item); 204deps.Add(o); 311list.Add(o);
FrameworkFork\Microsoft.Xml\Xml\Serialization\Models.cs (1)
416if (constant != null) list.Add(constant);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (6)
135list.Add(NameOf(items[i])); 219attrs.Add(a[i]); 244ns.Add(s); 289list.Add(items[i]); 599list.Add(o.MemberTypes[i]); 657a.Add(facets[i]);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (2)
438members.Add(member); 608if (constant != null) constants.Add(constant);
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (3)
1091list.Add(mapping.Members[i]); 1129list.Add(memberMapping); 1444_typeMappings.Add(typeMapping);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (9)
888members.Add(member); 1214if (constant != null) constants.Add(constant); 1665elementList.Add(element); 1707elementList.Add(element); 1749elementList.Add(arrayElement); 1840elementList.Add(element); 1908elementList.Add(element); 1957elementList.Add(element); 2315_list.Add(item);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (1)
1187equivalentElements.Add(equivalentElement);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (1)
294removes.Add(external);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (8)
501list.Add(buffer); 509list.Add(buffer); 1546_targetsWithoutIds.Add(o); 1562_fixups.Add(fixup); 1569_collectionFixups.Add(fixup); 2009xmlNodeList.Add(xmlAttribute); 2022xmlNodeList.Add(xsiTypeAttribute); 2047xmlNodeList.Add(xmlNode);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (2)
906if (addToReferencesList) _referencesToWrite.Add(o); 2937namedAnys.Add(element);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
1682namedAnys.Add(element);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializerNamespaces.cs (1)
102namespaceList.Add(new XmlQualifiedName(key, (string)Namespaces[key]));
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\Function.cs (1)
76_argumentList.Add(arg);
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathParser.cs (4)
526argList.Add(ParseExpresion(qyInput)); 678argList.Add(new Operand(_scanner.StringValue)); 688argList.Add(new Operand(_scanner.StringValue)); 692argList.Add(new Operand(_scanner.StringValue));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (1)
2007parts.Add(part);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (3)
287multipleHeaderValues[headerDescription.Index].Value.Add(item); 303elementList.Add(dataValue); 408items.Add(DeserializeParameterPart(reader, part, isRequest));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
252unknownHeaders.Add(unknownHeader);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\TimeBoundedCache.cs (1)
397expiredItems.Add(key);
FrameworkFork\System.Web.Services\Services\Description\ServiceDescription.cs (3)
1664list.Add(item); 1701list.Add(element); 1712_handledElements.Add(element);
Microsoft.Build (3)
BackEnd\Components\Communications\LogMessagePacket.cs (2)
351list.Add(entry); 375list.Add(entry);
Logging\BaseConsoleLogger.cs (1)
604bucket.Add(item.Value);
Microsoft.Build.Framework (2)
ProjectStartedEventArgs.cs (1)
460dictionaryList.Add(entry);
TaskParameterEventArgs.cs (1)
148list.Add(item);
Microsoft.Build.Tasks.Core (7)
GenerateResource.cs (7)
857_unsuccessfullyCreatedOutFiles.Add(item); 1488_unsuccessfullyCreatedOutFiles.Add(OutputResources[i].ItemSpec); 1720_unsuccessfullyCreatedOutFiles.Add(OutputResources[0].ItemSpec); 2215_filesWritten.Add(item); 2224_filesWritten.Add(StateFile); 2248_filesWritten.Add(new TaskItem(this.StronglyTypedFileName)); 2522UnsuccessfullyCreatedOutFiles.Add(outputSpec);
Microsoft.Private.Windows.Core (2)
System\Private\Windows\Nrbf\SerializationRecordExtensions.cs (2)
372arrayList.Add(null); 376arrayList.Add(primitiveTypeRecord.Value);
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (1)
ObjectModel\TestResult.cs (1)
437_textMessages.Add(text);
MSBuild (2)
CommandLine\CommandLineSwitches.cs (2)
545_parameterizedSwitches[(int)parameterizedSwitch].parameters.Add(null); 574_parameterizedSwitches[(int)parameterizedSwitch].parameters.Add(switchParameters);
PresentationBuildTasks (66)
Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (1)
646itemToRemove.Add(nodeItem);
Microsoft\Build\Tasks\Windows\MarkupCompilePass1.cs (13)
1128referenceList.Add(asmReference); 1327csFileList.Add(new TaskItem(ContentCodeFile)); 1382csFileList.Add(new TaskItem(InternalTypeHelperFile)); 1407allGeneratedFiles.Add(GeneratedBamlFiles[i]); 1412allGeneratedFiles.Add(GeneratedCodeFiles[i]); 1417allGeneratedFiles.Add(GeneratedLocalizationFiles[i]); 1422allGeneratedFiles.Add(new TaskItem(CompilerState.CacheFilePath)); 1426allGeneratedFiles.Add(new TaskItem(CompilerLocalReference.CacheFilePath)); 1473outputCodeFileList.Add(codeItem); 1483outputBamlFileList.Add(bamlItem); 1507outputLocalRefXamlList.Add(localFile); 1629locFileItemList.Add(tiLoc); 1644locFileItemList.Add(tiLoc);
Microsoft\Build\Tasks\Windows\MarkupCompilePass2.cs (3)
608referenceList.Add(asmReference); 723bamlFileList.Add(bamlItem); 743bamlFileList.Add(bamlItem);
MS\Internal\Localization\LocalizationParserHooks.cs (1)
163_commentList.Add(_currentComment);
MS\Internal\MarkupCompiler\MarkupCompiler.cs (2)
555_pendingLocalFiles.Add(relativeSourceFile); 3128_usingNS.Add(clrNS);
MS\Internal\MarkupCompiler\ParserExtension.cs (2)
306_events.Add(new MarkupCompiler.MarkupEventInfo(xamlUnknownAttributeNode.Value, 581_events.Add(new MarkupCompiler.MarkupEventInfo(xamlClrEventNode.Value,
MS\Internal\Tasks\CompilerLocalReference.cs (1)
271alMarkupPages.Add(lrf);
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlRecordWriter.cs (15)
324_deferElement.Add(deferRecord); 333_deferKeys.Add(new KeyDeferRecord(xamlElementNode.LineNumber, 340_deferValues.Add(deferRecord); 351((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]).RecordList.Add(deferRecord); 363_deferValues.Add(deferRecord); 375_deferElement.Add(new ValueDeferRecord(bamlElement, 506_deferValues.Add(new ValueDeferRecord(bamlDefRecord, 695asmList.Add(asmName); 839keyRecord.RecordList.Add(new ValueDeferRecord(bamlElement, 1177_deferValues.Add(new ValueDeferRecord( 1482_deferElement.Add(deferRec); 1491((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]).RecordList.Add(deferRec); 1495_deferValues.Add(deferRec); 1500_deferElement.Add(deferRec); 1693_deferValues.Add(new ValueDeferRecord(bamlStaticResourceId, lineNumber, linePosition));
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\MarkupExtensionParser.cs (19)
718xamlNodes.Add(propertyStart); 722xamlNodes.Add(propertyEnd); 756xamlNodes.Add(new XamlUnknownTagStartNode( 765xamlNodes.Add(new XamlElementStartNode( 775xamlNodes.Add(new XamlEndAttributesNode( 796xamlNodes.Add(new XamlUnknownTagEndNode( 805xamlNodes.Add(new XamlElementEndNode( 843xamlNodes.Add(new XamlKeyElementStartNode( 851xamlNodes.Add(new XamlEndAttributesNode( 870xamlNodes.Add(new XamlKeyElementEndNode( 1115list.Add(args[i]); 1189list.Add(sb.ToString()); 1235xamlNodes.Add(new XamlConstructorParametersStartNode( 1276xamlNodes.Add(new XamlTextNode( 1290xamlNodes.Add(new XamlConstructorParametersEndNode( 1362propertyNamesSoFar.Add( propertyName ); 1570xamlNodes.Add(xamlPropertyWithTypeNode); 1587xamlNodes.Add(xamlPropertyWithExtensionNode); 1604xamlNodes.Add(xamlPropertyNode);
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\ParserStack.cs (1)
56Add(o);
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (3)
3095complexDefAttributeList.Add(attribData); 3271markupExtensionList.Add(data); 5813_xamlNodes.Add(xamlNode);
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlTypeMapper.cs (4)
3245namespaceMapArray.Add(namespaceMap); 3299namespaceMapArray.Add(nsMap); 3309namespaceMapArray.Add(new NamespaceMapEntry(xmlNamespace, 3322namespaceMapArray.Add(new NamespaceMapEntry(xmlNamespace,
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsDictionary.cs (1)
501prefixes.Add(_nsDeclarations[thisDecl].Prefix);
PresentationCore (15)
MS\Internal\IO\Packaging\ByteRangeDownloader.cs (4)
220_requestsOnWait.Add((int) byteRanges[i, Offset_Index]); 221_requestsOnWait.Add((int) byteRanges[i, Length_Index]); 551_byteRangesAvailable.Add(beginOffset); 552_byteRangesAvailable.Add(endOffset - beginOffset + 1);
MS\Internal\IO\Packaging\NetStream.cs (1)
676_byteRangesAvailable.Add(new Block(ranges[r,0], ranges[r,1]));
MS\Internal\Resources\ResourceManagerWrapper.cs (1)
215resourceList.Add(resName);
MS\Internal\TextFormatting\FullTextLine.cs (1)
1955boundsList.Add(bounds);
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
430runs.Add(run);
MS\Internal\TextFormatting\TextStore.cs (2)
1791_lsrunList.Add(lsrun); 1961lsruns.Add(lsrun);
System\Windows\Input\AccessKeyManager.cs (1)
46elements.Add(new WeakReference(element));
System\Windows\Media\Imaging\ImagingCache.cs (1)
78al.Add(de.Key);
System\Windows\Media\MediaSystem.cs (1)
49_mediaContexts.Add(mc);
System\Windows\Nrbf\SerializationRecordExtensions.cs (2)
192arrayList.Add(null); 196arrayList.Add(primitiveTypeRecord.Value);
PresentationFramework (130)
MS\Internal\Annotations\Anchoring\PathNode.cs (1)
348_children.Add(child);
MS\Internal\Annotations\Component\HighlightComponent.cs (1)
66list.Add(_attachedAnnotation);
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
98list.Add(_attachedAnnotation);
MS\Internal\Controls\InnerItemCollectionView.cs (4)
177int indexV = _viewList.Add(item); 181indexR = _rawList.Add(item); 255indexR = _rawList.Add(item); 525_viewList.Add(_rawList[k]);
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
972annotations.Add(_attachedAnnotation);
MS\Internal\Data\DefaultAsyncDataDispatcher.cs (1)
27_list.Add(request);
MS\Internal\Data\ViewManager.cs (4)
261al.Add(key); // mark this entry for removal 266al.Add(key); 795al.Add(key); 811al.Add(key);
MS\Internal\DataStreams.cs (1)
148subStreams.Add(new SubStream(localValueEntry.Property.Name, bytes));
MS\Internal\Documents\DocumentGrid.cs (2)
1427visiblePages.Add(dp); 1434visiblePages.Add(_childrenCollection[_firstPageVisualIndex + j - Math.Max(0, firstPage)]);
MS\Internal\PtsHost\PtsContext.cs (2)
287_pages.Add(ptsPage); 328_pageBreakRecords.Add(br);
MS\Internal\Utility\TraceLog.cs (1)
44_log.Add(s);
MS\Internal\WeakHashtable.cs (1)
117cleanupList.Add(wr);
MS\Internal\WeakObjectHashtable.cs (1)
115cleanupList.Add(wr);
System\Windows\Controls\RadioButton.cs (1)
87elements.Add(new WeakReference(radioButton));
System\Windows\Controls\TextBlock.cs (1)
1983inlineObjects.Add(inlineObject);
System\Windows\Data\BindingOperations.cs (1)
253batch.Add(entry.Property);
System\Windows\Data\CompositeCollection.cs (1)
114int addedIndex = InternalList.Add(newItem);
System\Windows\Data\ListCollectionView.cs (1)
2374ShadowCollection.Add(e.NewItems[0]);
System\Windows\Documents\AdornerLayer.cs (3)
780removeList.Add(element); 800removeList.Add(elTemp); 953adornerInfos.Add(adornerInfo);
System\Windows\Documents\CompositionAdorner.cs (3)
330_attributeRanges.Add(new AttributeRange(_textView, rangeStart, rangeEnd, textServiceDisplayAttribute)); 504_compositionLines.Add(new CompositionLine(_startRect, _endRect, lineColor)); 612_compositionLines.Add(new CompositionLine(startRect, endRect, _textServicesDisplayAttribute.GetLineColor(startLinePointer)));
System\Windows\Documents\DocumentSequence.cs (1)
900notificationList.Add(ienum.Current.Key);
System\Windows\Documents\FixedDocument.cs (1)
1223completedRequests.Add(ienum.Current.Key);
System\Windows\Documents\FixedTextBuilder.cs (2)
497ar.Add(fixes[0]); 517ar.Add(element);
System\Windows\Documents\FixedTextContainer.cs (1)
475lfs.Add(fh);
System\Windows\Documents\FlowPosition.cs (1)
388ar.Add(flowScan._flowNode);
System\Windows\Documents\Highlights.cs (1)
225_layers.Add(highlightLayer);
System\Windows\Documents\MoveSizeWinEventHandler.cs (1)
49_arTextStore.Add(textstore);
System\Windows\Documents\RtfFormatStack.cs (1)
47Add(formatState);
System\Windows\Documents\RtfToXamlReader.cs (13)
2807_cellFormats.Add(new CellFormat(ri.NthCellFormat(i))); 2942_cellFormats.Add(new CellFormat(RowCellFormat)); 3186Add(entry); 3571Add(entry); 3633Add(newEntry); 3967Add(entry); 4042Add(entry); 4185Add(entry); 4351Add(entry); 4526Add(entry); 5633cols.Add(csNew); 6393dnaTables.Add(dn); 7428dnaSpanCells.Add(null);
System\Windows\Documents\RubberbandSelector.cs (1)
284ranges.Add(textRange);
System\Windows\Documents\Speller.cs (1)
1409segments.Add(textSegment.TextRange);
System\Windows\Documents\SpellerStatusTable.cs (1)
41_runList.Add(new Run(textContainerStart, RunType.Dirty));
System\windows\Documents\TextEditor.cs (1)
331_registeredEditingTypes.Add(controlType);
System\windows\Documents\TextEditorTyping.cs (1)
1589threadLocalStore.PendingInputItems.Add(item);
System\Windows\Documents\TextStore.cs (2)
1545_mouseSinks.Add(new MouseSink(range, sink, dwCookie)); 2874_preparedattributes.Add(attrval);
System\Windows\Documents\XamlToRtfParser.cs (2)
498Add(xamlTag); 906Add(parseData);
System\Windows\Documents\XamlToRtfWriter.cs (4)
266openLists.Add(dn); 426openLists.Add(dn); 1801spanCounts.Add(dnCell.RowSpan - 1); 1802dnaSpanCells.Add((dnCell.RowSpan > 1) ? dnCell : null);
System\Windows\FrameworkElement.cs (1)
1430keys.Add(key);
System\Windows\Interop\HwndHost.cs (1)
94_hooks.Add(value);
System\Windows\Markup\BamlReader.cs (1)
331_properties.Add(info);
System\Windows\Markup\BamlRecordReader.cs (12)
1052RootList.Add(element); 1749defKeyList.Add(keyRecord); 1783defKeyList.Add(stringKeyRecord); 1792defKeyList.Add(typeKeyRecord); 1840staticResources.Add(staticResource); 1853staticResources.Add(staticResource); 1887staticResources.Add(new StaticResourceHolder(prefetchedValue.Key, prefetchedValue)); 3412RootList.Add(bamlTextRecord.Value); 3891paramList.Add(CurrentContext.ObjectData); 3892paramList.Add(o); 3899paramList.Add(o); 4597RootList.Add(currentObject);
System\Windows\Markup\BamlRecordWriter.cs (14)
324_deferElement.Add(deferRecord); 333_deferKeys.Add(new KeyDeferRecord(xamlElementNode.LineNumber, 340_deferValues.Add(deferRecord); 351((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]).RecordList.Add(deferRecord); 363_deferValues.Add(deferRecord); 375_deferElement.Add(new ValueDeferRecord(bamlElement, 506_deferValues.Add(new ValueDeferRecord(bamlDefRecord, 839keyRecord.RecordList.Add(new ValueDeferRecord(bamlElement, 1177_deferValues.Add(new ValueDeferRecord( 1482_deferElement.Add(deferRec); 1491((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]).RecordList.Add(deferRec); 1495_deferValues.Add(deferRec); 1500_deferElement.Add(deferRec); 1693_deferValues.Add(new ValueDeferRecord(bamlStaticResourceId, lineNumber, linePosition));
System\Windows\Markup\MarkupExtensionParser.cs (19)
718xamlNodes.Add(propertyStart); 722xamlNodes.Add(propertyEnd); 756xamlNodes.Add(new XamlUnknownTagStartNode( 765xamlNodes.Add(new XamlElementStartNode( 775xamlNodes.Add(new XamlEndAttributesNode( 796xamlNodes.Add(new XamlUnknownTagEndNode( 805xamlNodes.Add(new XamlElementEndNode( 843xamlNodes.Add(new XamlKeyElementStartNode( 851xamlNodes.Add(new XamlEndAttributesNode( 870xamlNodes.Add(new XamlKeyElementEndNode( 1115list.Add(args[i]); 1189list.Add(sb.ToString()); 1235xamlNodes.Add(new XamlConstructorParametersStartNode( 1276xamlNodes.Add(new XamlTextNode( 1290xamlNodes.Add(new XamlConstructorParametersEndNode( 1362propertyNamesSoFar.Add( propertyName ); 1570xamlNodes.Add(xamlPropertyWithTypeNode); 1587xamlNodes.Add(xamlPropertyWithExtensionNode); 1604xamlNodes.Add(xamlPropertyNode);
System\Windows\Markup\ParserStack.cs (1)
56Add(o);
System\Windows\Markup\XamlStream.cs (2)
383ReaderBufferArrayList.Add(buffer); 384WriterBufferArrayList.Add(buffer);
System\Windows\Markup\XamlTypeMapper.cs (4)
3245namespaceMapArray.Add(namespaceMap); 3299namespaceMapArray.Add(nsMap); 3309namespaceMapArray.Add(new NamespaceMapEntry(xmlNamespace, 3322namespaceMapArray.Add(new NamespaceMapEntry(xmlNamespace,
System\Windows\Markup\XmlnsDictionary.cs (1)
501prefixes.Add(_nsDeclarations[thisDecl].Prefix);
System\Windows\Navigation\JournalEntryListConverter.cs (2)
163_items.Add(current); 167_items.Add(o);
System\Windows\Navigation\NavigationService.cs (3)
601ChildNavigationServices.Add(ncChild); 618PendingNavigationList.Add(ncChild); 2089_recursiveNavigateList.Add(localNavigateQueueItem);
System\Windows\WindowCollection.cs (2)
152clone._list.Add(_list[i]); 178return _list.Add(win);
ReachFramework (14)
AlphaFlattener\BrushProxy.cs (1)
543list.Add(this);
AlphaFlattener\Flattener.cs (2)
214splitCanvas.Children.Add(fill); 215splitCanvas.Children.Add(stroke);
AlphaFlattener\MetroDevice.cs (4)
240_root.Children.Add(primitive); 261_root.Children.Add(g); 291_root.Children.Add(primitive); 370_root.Children.Add(c);
AlphaFlattener\Primitive.cs (5)
363cp.Children.Add(gp); 371cp.Children.Add(gp); 479cp.Children.Add(p); 986canvas.Children.Add(tilePrimitive); 2056c.Children.Add(p.BlendOpacityMaskWithColor(color));
Serialization\VisualSerializer.cs (2)
281_objects.Add(sBrush); 282_objnams.Add("b" + _brushId);
System.CodeDom (2)
System\CodeDom\CodeNamespaceImportCollection.cs (2)
35_data.Add(value); 86int IList.Add(object value) => _data.Add((CodeNamespaceImport)value);
System.Collections.NonGeneric (1)
System\Collections\CollectionBase.cs (1)
152int index = InnerList.Add(value);
System.Collections.Specialized (7)
System\Collections\Specialized\NameObjectCollectionBase.cs (1)
191_entriesArray.Add(entry);
System\Collections\Specialized\NameValueCollection.cs (3)
270values.Add(value); 277values.Add(value); 310values.Add(value);
System\Collections\Specialized\OrderedDictionary.cs (2)
233objectsArray.Add(new DictionaryEntry(key, value)); 433objectsArray.Add(entry);
System\Collections\Specialized\StringCollection.cs (1)
66return data.Add(value);
System.ComponentModel.TypeConverter (8)
System\ComponentModel\Design\DesignerOptionService.cs (2)
131Parent._children.Add(this); 182propList.Add(new WrappedPropertyDescriptor(prop, _value));
System\ComponentModel\EnumConverter.cs (1)
293objValues.Add(value);
System\ComponentModel\ListSortDescriptionCollection.cs (1)
23_sorts.Add(sorts[i]);
System\ComponentModel\TypeDescriptor.cs (4)
598newMembers.Add(members[validIdx]); 604newMembers?.Add(members[idx]); 2245list.Add(obj); 2249list.Add(obj);
System.Configuration.ConfigurationManager (18)
System\Configuration\BaseConfigurationRecord.cs (2)
374locationSubPathInputs.Add(locationSectionRecord); 2692EnsureLocationSections().Add(locationSectionRecord);
System\Configuration\ConfigDefinitionUpdates.cs (1)
39LocationUpdatesList.Add(locationUpdates);
System\Configuration\ConfigurationElementCollection.cs (2)
666Items.Add(new Entry(entryType, key, element)); 825Items.Add(new Entry(EntryType.Removed, key, null));
System\Configuration\ConfigurationLockCollection.cs (3)
191_internalArraylist.Add(name); 207_internalArraylist.Add(name); 283removeList.Add(de.Key);
System\Configuration\ConfigurationPropertyCollection.cs (1)
61if (!Contains(property.Name)) _items.Add(property);
System\Configuration\MgmtConfigurationRecord.cs (4)
293locations.Add(new ConfigurationLocation(config, subPath)); 868sectionGroups.Add(factoryId); 886sectionGroups.Add(factoryId); 1715configSourceUpdates.Add(definitionUpdate);
System\Configuration\ProviderSettings.cs (1)
120removeList.Add(prop.Name);
System\Configuration\SectionUpdates.cs (2)
214if (sectionUpdates.HasUnretrievedSections()) unretrievedGroups.Add(group); 235if (sectionUpdates.IsNew && sectionUpdates.HasUnretrievedSections()) newsGroups.Add(group);
System\Configuration\SettingsPropertyValueCollection.cs (2)
25int pos = _values.Add(property); 60al.Add(de.Key);
System.Data.Common (73)
System\Data\ConstraintCollection.cs (3)
285List.Add(constraint); 361List.Add(newArray[newCur]); 458List.Add(constraints[i]);
System\Data\DataColumnCollection.cs (3)
269_list.Add(column); 413_list.Add(newArray[newCur]); 616_list.Add(columns[i]);
System\Data\DataRelationCollection.cs (2)
593_relations.Add(relation); 795_relations.Add(relation);
System\Data\DataSet.cs (6)
567list.Add(rel.RelationName); 568list.Add(parentInfo); 569list.Add(childInfo); 570list.Add(rel.Nested); 571list.Add(rel._extendedProperties); 573relationList.Add(list);
System\Data\DataTable.cs (17)
543list.Add("U"); 544list.Add(uc.ConstraintName); 545list.Add(colInfo); 546list.Add(uc.IsPrimaryKey); 547list.Add(uc.ExtendedProperties); 549constraintList.Add(list); 574list.Add("F"); 575list.Add(fk.ConstraintName); 576list.Add(parentInfo); 577list.Add(childInfo); 578list.Add(new int[] { (int)fk.AcceptRejectRule, (int)fk.UpdateRule, (int)fk.DeleteRule }); 579list.Add(fk.ExtendedProperties); 581constraintList.Add(list); 745storeList.Add(store); 747nullbitList.Add(nullbits); 919list.Add(columnsInError); 920list.Add(columnErrors);
System\Data\DataTableCollection.cs (2)
255private void ArrayAdd(DataTable table) => _list.Add(table); 354_list.Add(newArray[newCur]);
System\Data\XDRSchema.cs (1)
535tableChildren.Add(tableChild);
System\Data\XMLDiffLoader.cs (2)
45_tables.Add(r.ChildTable); 58_tables.Add(dt);
System\Data\xmlsaver.cs (17)
317_constraintNames.Add(name); 485_tables.Add(r.ChildTable); 497_relations.Add(r); 511topTables.Add(table); 528topTables.Add(table); 563_tables.Add(table); 574_tables.Add(dt); 2283_tables.Add(ds.Tables[i]); 2293_tables.Add(dt); 2311_tables.Add(r.ChildTable); 2698_dTables.Add(table); 2708_dTables.Add(dt); 2714_dTables.Add(dt); 2733topTables.Add(table); 2750topTables.Add(table); 2771_dTables.Add(r.ChildTable); 2932list.Add(r);
System\Data\XMLSchema.cs (10)
181schemaList.Add(schema); 371_columnExpressions!.Add(dc); 960tableChildren.Add(child); // how about prefix for this? 1041_complexTypes.Add(ct); 1201keyColumns.Add(FindField(table, node.XPath!)); 1579_refTables!.Add(_TableUri + ":" + typeName); 2046_columnExpressions!.Add(column); 2160_columnExpressions!.Add(column); 2289_columnExpressions!.Add(column); 2475_columnExpressions!.Add(column);
System\Data\XmlToDatasetMap.cs (2)
419tableList.Add(dt); 427tableList.Add(childRelations.ChildTable);
System\Xml\XmlDataDocument.cs (8)
68al.Add(temp); 791list.Add(r); 2114_columnChangeList.Add(c); 2141_columnChangeList.Add(c); 2494rowElemList?.Add(e); 2686rowElemList.Add(iter.CurrentNode); 2771rowElemList.Add(iter.CurrentNode); 2866rowElemList.Add(iter.CurrentNode);
System.Data.Odbc (1)
System\Data\Odbc\OdbcErrorCollection.cs (1)
46_items.Add(error);
System.Data.OleDb (1)
OleDbErrorCollection.cs (1)
26items.Add(error);
System.Diagnostics.PerformanceCounter (1)
System\Diagnostics\SharedPerformanceCounter.cs (1)
687names.Add(counter.ToLowerInvariant());
System.Diagnostics.Process (1)
System\Diagnostics\ProcessModuleCollection.cs (1)
27internal void Add(ProcessModule module) => InnerList.Add(module);
System.DirectoryServices (132)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchema.cs (4)
435propertyList.Add(new ActiveDirectorySchemaProperty(context, commonName, ldapDisplayName, directoryEntry, schemaEntry)); 439propertyList.Add(new ActiveDirectorySchemaProperty(context, ldapDisplayName, directoryEntry, schemaEntry)); 489classList.Add(new ActiveDirectorySchemaClass(context, commonName, ldapDisplayName, directoryEntry, schemaEntry)); 493classList.Add(new ActiveDirectorySchemaClass(context, ldapDisplayName, directoryEntry, schemaEntry));
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaClass.cs (29)
615possibleSuperiorsList.Add((string)value!); 714mandatoryPropertiesList.Add((string)value!); 790optionalPropertiesList.Add((string)value!); 812optionalPropertyList.Add(propertyName); 875auxiliaryClassesList.Add((string)value!); 1180propertyNamesWithoutRangeRetrieval.Add(PropertyManager.DistinguishedName); 1181propertyNamesWithoutRangeRetrieval.Add(PropertyManager.Cn); 1182propertyNamesWithoutRangeRetrieval.Add(PropertyManager.Description); 1183propertyNamesWithoutRangeRetrieval.Add(PropertyManager.PossibleInferiors); 1184propertyNamesWithoutRangeRetrieval.Add(PropertyManager.SubClassOf); 1185propertyNamesWithoutRangeRetrieval.Add(PropertyManager.ObjectClassCategory); 1186propertyNamesWithoutRangeRetrieval.Add(PropertyManager.SchemaIDGuid); 1187propertyNamesWithoutRangeRetrieval.Add(PropertyManager.DefaultSecurityDescriptor); 1188propertyNamesWithRangeRetrieval.Add(PropertyManager.AuxiliaryClass); 1189propertyNamesWithRangeRetrieval.Add(PropertyManager.SystemAuxiliaryClass); 1190propertyNamesWithRangeRetrieval.Add(PropertyManager.MustContain); 1191propertyNamesWithRangeRetrieval.Add(PropertyManager.SystemMustContain); 1192propertyNamesWithRangeRetrieval.Add(PropertyManager.MayContain); 1193propertyNamesWithRangeRetrieval.Add(PropertyManager.SystemMayContain); 1198propertyNamesWithoutRangeRetrieval.Add(PropertyManager.LdapDisplayName); 1199propertyNamesWithoutRangeRetrieval.Add(PropertyManager.GovernsID); 1200propertyNamesWithRangeRetrieval.Add(PropertyManager.SystemPossibleSuperiors); 1201propertyNamesWithRangeRetrieval.Add(PropertyManager.PossibleSuperiors); 1318classes.Add(schemaClass); 1390properties.Add(schemaProperty); 1418values.Add(value); 1432values.Add(property); 1443values.Add(property); 1459values.Add(value);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaClassCollection.cs (2)
33InnerList.Add(new ActiveDirectorySchemaClass(context, ldapDisplayName, (DirectoryEntry?)null, null)); 50InnerList.Add(schClass);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaPropertyCollection.cs (2)
33this.InnerList.Add(new ActiveDirectorySchemaProperty(context, ldapDisplayName, (DirectoryEntry?)null, null)); 50this.InnerList.Add(schemaProperty);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLink.cs (1)
703propertyList.Add(propertyName);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLinkBridge.cs (1)
359propertyList.Add(propertyName);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySubnetCollection.cs (1)
186_copyList.Add(o);
System\DirectoryServices\ActiveDirectory\ADAMInstance.cs (2)
558roleList.Add(AdamRole.SchemaRole); 565roleList.Add(AdamRole.NamingRole);
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (1)
1204dcList.Add(new DomainController(dcContext, dcName));
System\DirectoryServices\ActiveDirectory\AttributeMetadataCollection.cs (1)
54internal int Add(AttributeMetadata metadata) => InnerList.Add(metadata);
System\DirectoryServices\ActiveDirectory\ConfigSet.cs (4)
445adamInstanceNames.Add(bindingInfo.Substring(prefix.Length)); 517adamInstanceList.Add(new AdamInstance(adamInstContext, adamInstanceName)); 645sites.Add(new ActiveDirectorySite(_context, (string)PropertyManager.GetSearchResultPropertyValue(res, PropertyManager.Cn)!, true)); 713appNCs.Add(new ApplicationPartition(appNCContext, nCName, null, ApplicationPartitionType.ADAMApplicationPartition, new DirectoryEntryManager(appNCContext)));
System\DirectoryServices\ActiveDirectory\DirectoryServer.cs (3)
227partitionList.Add(partition); 236propertyNames.Add(PropertyManager.HasPartialReplicaNCs); 253partitionList.Add(readOnlyPartition);
System\DirectoryServices\ActiveDirectory\DirectoryServerCollection.cs (1)
42InnerList.Add(server);
System\DirectoryServices\ActiveDirectory\Domain.cs (3)
1211childDomains.Add(new Domain(childContext, childDomainName)); 1283unmanagedTrustList.Add(unmanagedTrust); 1352tmpTrustList.Add(obj);
System\DirectoryServices\ActiveDirectory\DomainCollection.cs (1)
62internal int Add(Domain domain) => InnerList.Add(domain);
System\DirectoryServices\ActiveDirectory\DomainController.cs (2)
1035dcList.Add(new DomainController(dcContext, dcName)); 1259roleList.Add((ActiveDirectoryRole)i);
System\DirectoryServices\ActiveDirectory\Exception.cs (1)
457errorList.Add(managedError);
System\DirectoryServices\ActiveDirectory\Forest.cs (3)
876sites.Add(new ActiveDirectorySite(_context, siteName, true)); 972appNCs.Add(new ApplicationPartition(appNCContext, nCName, (string)PropertyManager.GetSearchResultPropertyValue(res, PropertyManager.DnsRoot)!, ApplicationPartitionType.ADApplicationPartition, new DirectoryEntryManager(appNCContext))); 1027domains.Add(new Domain(domainContext, domainName));
System\DirectoryServices\ActiveDirectory\ForestTrustCollision.cs (1)
57internal int Add(ForestTrustRelationshipCollision collision) => InnerList.Add(collision);
System\DirectoryServices\ActiveDirectory\ForestTrustDomainInfoCollection.cs (1)
38internal int Add(ForestTrustDomainInformation info) => InnerList.Add(info);
System\DirectoryServices\ActiveDirectory\ForestTrustRelationshipInformation.cs (13)
134ptrList.Add(ptr); 138ptrList.Add(tmpPtr); 164ptrList.Add(ptr); 167ptrList.Add(tmpPtr); 190sidList.Add((IntPtr)pSid); 192ptrList.Add(record.DomainInfo.DNSNameBuffer); 196ptrList.Add(record.DomainInfo.NetBIOSNameBuffer); 200ptrList.Add(tmpPtr); 222ptrList.Add(record.Data.Buffer); 226ptrList.Add(tmpPtr); 411tmpBinaryData.Add(byteArray); 412tmpBinaryDataTime.Add(record.Time); 413tmpBinaryRecordType.Add((int)record.ForestTrustType);
System\DirectoryServices\ActiveDirectory\GlobalCatalog.cs (1)
418gcList.Add(new GlobalCatalog(gcContext, gcName));
System\DirectoryServices\ActiveDirectory\Locator.cs (2)
117dcs.Add(new GlobalCatalog(dcContext, dcName)); 122dcs.Add(new DomainController(dcContext, dcName));
System\DirectoryServices\ActiveDirectory\ReadOnlyDirectoryServerCollection.cs (1)
62internal int Add(DirectoryServer server) => InnerList.Add(server);
System\DirectoryServices\ActiveDirectory\ReadOnlySiteCollection.cs (1)
69internal int Add(ActiveDirectorySite site) => InnerList.Add(site);
System\DirectoryServices\ActiveDirectory\ReadOnlySiteLinkBridgeCollection.cs (1)
62internal int Add(ActiveDirectorySiteLinkBridge bridge) => InnerList.Add(bridge);
System\DirectoryServices\ActiveDirectory\ReadOnlySiteLinkCollection.cs (1)
62internal int Add(ActiveDirectorySiteLink link) => InnerList.Add(link);
System\DirectoryServices\ActiveDirectory\ReadOnlyStringCollection.cs (1)
64internal void Add(string value) => InnerList.Add(value);
System\DirectoryServices\ActiveDirectory\ReplicationConnectionCollection.cs (1)
65internal int Add(ReplicationConnection value) => InnerList.Add(value);
System\DirectoryServices\ActiveDirectory\ReplicationCursorCollection.cs (1)
41private int Add(ReplicationCursor cursor) => InnerList.Add(cursor);
System\DirectoryServices\ActiveDirectory\ReplicationFailureCollection.cs (1)
44private int Add(ReplicationFailure failure) => InnerList.Add(failure);
System\DirectoryServices\ActiveDirectory\ReplicationNeighborCollection.cs (1)
44private int Add(ReplicationNeighbor neighbor) => InnerList.Add(neighbor);
System\DirectoryServices\ActiveDirectory\ReplicationOperationCollection.cs (1)
44private int Add(ReplicationOperation operation) => InnerList.Add(operation);
System\DirectoryServices\ActiveDirectory\TopLevelNameCollection.cs (1)
40return InnerList.Add(name);
System\DirectoryServices\ActiveDirectory\TrustRelationshipInformationCollection.cs (1)
54internal int Add(TrustRelationshipInformation info) => InnerList.Add(info);
System\DirectoryServices\ActiveDirectory\Utils.cs (15)
563resultList.Add(distinguishedName.Substring(nextTokenStart, i - nextTokenStart)); 578resultList.Add(distinguishedName.Substring(nextTokenStart, i - nextTokenStart + 1)); 1123propertyNamesWithoutRangeInfo.Add(lowerCasePropertyName); 1135propertiesStillToLoad.Add(lowerCasePropertyName); 1189propertiesStillToLoad.Add(propertyName); 1290propertyNames.Add(PropertyManager.MsDSNCReplicaLocations); 1291propertyNames.Add(PropertyManager.MsDSNCROReplicaLocations); 1497ntdsaNames.Add(ntdsaName); 1548ntdsaNames.Add(ntdsaName); 1563ntdsaNamesForRangeRetrieval.Add(ntdsaName); 1570ntdsaNames.Add(ntdsaName); 1682ntdsaNames.Add(ntdsaName); 1697ntdsaNamesForRangeRetrieval.Add(ntdsaName); 1756dnsNames.Add(hostName + ":" + (int)serverPorts[ntdsaName]!); 1760dnsNames.Add(hostName);
System\DirectoryServices\DirectorySearcher.cs (19)
668prefList.Add(info); 676prefList.Add(info); 685prefList.Add(info); 692prefList.Add(info); 700prefList.Add(info); 709prefList.Add(info); 718prefList.Add(info); 725prefList.Add(info); 733prefList.Add(info); 742prefList.Add(info); 751prefList.Add(info); 760prefList.Add(info); 769prefList.Add(info); 778prefList.Add(info); 787prefList.Add(info); 794prefList.Add(info); 817prefList.Add(info); 859prefList.Add(info); 868prefList.Add(info);
System\DirectoryServices\PropertyValueCollection.cs (5)
104_changeList.Add(value); 116_changeList.Add(value); 197InnerList.Add(var); 254_changeList.Add(value); 287_changeList.Add(value);
System\DirectoryServices\SearchResultCollection.cs (1)
58eagerList.Add(enumerator.Current);
System.DirectoryServices.AccountManagement (10)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (3)
160((ArrayList)mappingTableByProperty[propertyName]).Add(propertyEntry); 165((ArrayList)mappingTableByPropertyFull[propertyName]).Add(propertyEntry); 176((ArrayList)mappingTableByLDAP[ldapAttributeLower]).Add(propertyEntry);
System\DirectoryServices\AccountManagement\AD\RangeRetriever.cs (1)
135InnerList.Add(_currentResult);
System\DirectoryServices\AccountManagement\PrincipalCollection.cs (1)
58tempArray.Add(containmentEnumerator.Current);
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (2)
136((ArrayList)propertyMappingTableByProperty[propertyName]).Add(propertyEntry); 151((ArrayList)propertyMappingTableByWinNT[winNTAttributeLower]).Add(propertyEntry);
System\DirectoryServices\AccountManagement\StoreCtx.cs (3)
383qbeFilterDescription.FiltersToApply.Add(filter); 394qbeFilterDescription.FiltersToApply.Add(filter); 441qbeFilterDescription.FiltersToApply.Add(filter);
System.DirectoryServices.Protocols (21)
System\DirectoryServices\Protocols\common\BerConverter.cs (7)
357resultList.Add(boolResult); 361resultList.Add(result); 377resultList.Add(s); 387resultList.Add(byteArray); 419resultList.Add(stringArray); 429resultList.Add(result); 612binaryList.Add(berArray);
System\DirectoryServices\Protocols\common\BerConverter.Linux.cs (1)
20resultList.Add(byteArray);
System\DirectoryServices\Protocols\common\PartialResultsCollection.cs (1)
14internal int Add(object value) => InnerList.Add(value);
System\DirectoryServices\Protocols\common\SearchResults.cs (2)
41internal int Add(SearchResultReference reference) => InnerList.Add(reference); 75internal int Add(SearchResultEntry entry) => InnerList.Add(entry);
System\DirectoryServices\Protocols\ldap\LdapConnection.cs (8)
910list.Add(context); 1183controlList.Add(col); 1188controlList.Add(col); 1317ptrToFree.Add(berValues[j].bv_val); 1333ptrToFree.Add(controlPtr); 1630referralList.Add(s); 1656controlList.Add(directoryControl); 1829referralList.Add(s);
System\DirectoryServices\Protocols\ldap\LdapPartialResultsProcessor.cs (1)
29_resultList.Add(asyncResult);
System\DirectoryServices\Protocols\ldap\LdapSessionOptions.cs (1)
619referralList.Add(s);
System.Management (13)
System\Management\InteropClasses\WMIInterop.cs (1)
1236ndx = reqList.Add(myReq);
System\Management\ManagementObjectCollection.cs (1)
225arrList.Add(obj);
System\Management\MethodSet.cs (1)
272methodNames.Add(tempMethodName);
System\Management\WMIGenerator.cs (10)
1600arrKeyType.Add(cmp.Type); 1601arrKeys.Add(prop.Name); 1692arTemp.Add(strName); 1717BitMap.Add(ConvertBitMapValueToInt32(strArray[i])); 1754arTemp.Add(strName); 2804outParamsName.Add(prop.Name); 2937inoutParams.Add(prop.Name); 2938inoutParamsType.Add(cpde.Type); 4829arrayOut.Add(strToAdd); 5227arrayToAdd.Add(System.Convert.ToInt32(numericValue, (IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(int))));
System.Net.Primitives (3)
System\Net\CookieCollection.cs (3)
74m_list.Add(cookie); 216m_list.Add(cookie); 221m_list.Add(cookie);
System.Net.Security (2)
System\Security\Authentication\ExtendedProtection\ServiceNameCollection.cs (2)
50InnerList.Add(item); 141InnerList.Add(serviceName);
System.Net.WebProxy (1)
System\Net\WebProxy.cs (1)
482return base.Add(value);
System.Private.CoreLib (7)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (2)
557list.Add(value); 1207return _list.Add(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\SecurityElement.cs (5)
120list.Add(attrName); 121list.Add(attrValue); 187_attributes.Add(name); 188_attributes.Add(value); 211_children.Add(child);
System.Private.Windows.Core (2)
System\Private\Windows\Nrbf\SerializationRecordExtensions.cs (2)
372arrayList.Add(null); 376arrayList.Add(primitiveTypeRecord.Value);
System.Private.Xml (114)
System\Xml\Dom\XmlDocument.cs (3)
293gcElemRefs.Add(elemRef); 315elementList.Add(new WeakReference<XmlElement>(elem)); 323elementList.Add(new WeakReference<XmlElement>(elem));
System\Xml\Schema\Asttree.cs (7)
177_stack.Add(eaxis); 320_axisStack.Add(stack); 566AstArray.Add(ast); 645_fAxisArray.Add(new ForwardAxis(DoubleLinkAxis.ConvertTree((Axis)(ast.Input)), false)); 649_fAxisArray.Add(new ForwardAxis(DoubleLinkAxis.ConvertTree(ast), false)); 673_fAxisArray.Add(new ForwardAxis(DoubleLinkAxis.ConvertTree((Axis)(ast.Input)), true)); 677_fAxisArray.Add(new ForwardAxis(DoubleLinkAxis.ConvertTree(ast), true));
System\Xml\Schema\ConstraintStruct.cs (2)
132_cs.axisFields.Add(kss.fields[i]); // new, add to axisFields 134_KSs.Add(kss);
System\Xml\Schema\ContentValidator.cs (15)
85_particles.Add(particle); 122_particles.Add(particle); 141match.Add(_names[name]); 151match.Add(wildcard.Value); 158match.Add(_last); // add wildcard 243return _positions.Add(new Position(symbol, particle)); 1016particles.Add(p); 1032particles.Add(member); 1635names.Add(s); 1643names.Add(s); 1784names.Add(s); 1792names.Add(s); 2061names.Add(s); 2069names.Add(s); 2202names.Add(element.Key);
System\Xml\Schema\DataTypeImplementation.cs (2)
1114values.Add(new XmlAtomicValue(simpleValue.XmlType, simpleValue.TypedValue, nsmgr)); 1126values.Add(typedValue);
System\Xml\Schema\FacetChecker.cs (2)
175_derivedRestriction.Enumeration.Add(ParseFacetValue(_datatype, facet, SR.Sch_EnumerationFacetInvalid, nsmgr, nameTable)); 367_derivedRestriction.Patterns.Add(new Regex(Preprocess(_regStr.ToString())));
System\Xml\Schema\Preprocessor.cs (5)
308schema.ImportedNamespaces.Add(importNS); 677_redefinedList.Add(new RedefineEntry((external as XmlSchemaRedefine)!, _rootSchemaForRedefine!)); 694imports.Add(includedSchema); 698_rootSchema.ImportedNamespaces.Add(importNS); 960includesList.Add(schema);
System\Xml\Schema\SchemaCollectionCompiler.cs (2)
55members.Add(element); 474substitutionGroup.Members.Add(examplar); // Compiled mark
System\Xml\Schema\SchemaSetCompiler.cs (4)
478members.Add(element); 530newMembers.Add(g.Members[j]); 541substitutionGroup.Members.Add(newMembers[i]); 545substitutionGroup.Members.Add(examplar); // Compiled mark
System\Xml\Schema\XmlSchemaSet.cs (7)
422needToCheckSchemaList.Add(mainSchema); 677tnsSchemas.Add(currentSchema); 958oldSubstGroup.Members.Add(substGroup.Members[i]); 1001substitutionGroup.Members.Add(newMembers[i]); 1004substitutionGroup.Members.Add(headElement); 1105existingSchemas.Add(currentSchema); 1321removalList.Add(cKey);
System\Xml\Schema\XmlSchemaValidator.cs (10)
984attList.Add(attDef.SchemaAttribute); 1077defaultAttributes.Add(attrData); 1081defaultAttributes.Add(attdef.SchemaAttribute); 1579attList.Add(s_xsiTypeSO); 1583attList.Add(s_xsiNilSO); 1587attList.Add(s_xsiSLSO); 1591attList.Add(s_xsiNoNsSLSO); 2633expectedNames.Add(currentQName); 2641expectedNames.Add(currentQName); 2648expectedNames.Add(nextParticle.GetQualifiedName());
System\Xml\Serialization\CodeIdentifiers.cs (1)
156_list.Add(value);
System\Xml\Serialization\Compilation.cs (1)
286list.Add(modules[i].ModuleVersionId.ToString());
System\Xml\Serialization\ImportContext.cs (3)
92list.Add(item); 119deps.Add(o); 230list.Add(o);
System\Xml\Serialization\SchemaObjectWriter.cs (6)
133list.Add(NameOf(items[i])); 217attrs.Add(a[i]); 243ns.Add(s); 288list.Add(items[i]); 598list.Add(o.MemberTypes[i]); 656a.Add(facets[i]);
System\Xml\Serialization\Types.cs (1)
1499_typeMappings.Add(typeMapping);
System\Xml\Serialization\XmlReflectionImporter.cs (7)
1698elementList.Add(element); 1740elementList.Add(element); 1781elementList.Add(arrayElement); 1871elementList.Add(element); 1939elementList.Add(element); 1988elementList.Add(element); 2378_list.Add(item);
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1082equivalentElements.Add(equivalentElement);
System\Xml\Serialization\XmlSchemas.cs (1)
192removes.Add(external);
System\Xml\Serialization\XmlSerializationReader.cs (6)
484list.Add(buffer); 492list.Add(buffer); 1486_targetsWithoutIds.Add(o); 1499_fixups.Add(fixup); 1505_collectionFixups.Add(fixup); 3761attributes.Add(attribute);
System\Xml\Serialization\XmlSerializationWriter.cs (2)
950if (addToReferencesList) _referencesToWrite!.Add(o); 3742namedAnys.Add(element);
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (1)
883_dupAttrs.Add(qname);
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (1)
3747XmlILConstructInfo.Write(local1).CallersInfo.Add(XmlILConstructInfo.Write(local0));
System\Xml\Xsl\QIL\SubstitutionList.cs (2)
32_s.Add(find); 33_s.Add(replace);
System\Xml\Xsl\Runtime\WhitespaceRuleLookup.cs (1)
50_wildcards.Add(ruleInternal);
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (2)
953docIndexes.Add(navRoot); 954docIndexes.Add(index);
System\Xml\Xsl\XsltOld\Compiler.cs (2)
935list.Add(new AvtEvent(this.AddStringQuery(lex))); 940list.Add(new TextEvent(lex));
System\Xml\Xsl\XsltOld\ContainerAction.cs (2)
526compiler.CompiledStylesheet!.Imports.Add(uri); 861this.containedActions.Add(action);
System\Xml\Xsl\XsltOld\CopyCodeAction.cs (1)
26_copyEvents.Add(copyEvent);
System\Xml\Xsl\XsltOld\NumberAction.cs (2)
404list.Add(SimplifyValue(processor.Evaluate(frame, _valueKey))); 411list.Add(number);
System\Xml\Xsl\XsltOld\Processor.cs (1)
202_sortArray.Add(sortinfo);
System\Xml\Xsl\XsltOld\RecordBuilder.cs (2)
313_attributeList.Add(new BuilderInfo()); 741_namespaceList.Add(new BuilderInfo());
System\Xml\Xsl\XsltOld\RootAction.cs (2)
39_keyNodes.Add(new DocumentKeyList(root, table)); 156dstAttList!.Add(srcAttList[src]);
System\Xml\Xsl\XsltOld\SequentialOutput.cs (1)
395_outputCache.Add(record.MainNode.Clone());
System\Xml\Xsl\XsltOld\Stylesheet.cs (1)
85_whitespaceList!.Add(elem);
System\Xml\Xsl\XsltOld\TemplateManager.cs (1)
67this.templates.Add(template);
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (4)
278list.Add(_processor!.GetNavigator(uri)); 350list.Add(value.Clone()); 928resultCollection.Add(firstList); 930resultCollection.Add(newList);
System.Runtime.Caching (1)
System\Runtime\Caching\MemoryCacheStore.cs (1)
262entries.Add(entry);
System.Security.AccessControl (1)
System\Security\AccessControl\Rules.cs (1)
277InnerList.Add(rule);
System.Security.Cryptography.Xml (20)
System\Security\Cryptography\Xml\AncestralNamespaceContextManager.cs (1)
55_ancestorStack.Add(new NamespaceFrame());
System\Security\Cryptography\Xml\CanonicalXmlNodeList.cs (1)
38return _nodeArray.Add(value);
System\Security\Cryptography\Xml\EncryptionPropertyCollection.cs (2)
33return _props.Add(value); 38return _props.Add(value);
System\Security\Cryptography\Xml\KeyInfo.cs (2)
131_keyInfoClauses.Add(clause); 150requestedList.Add(tempObj);
System\Security\Cryptography\Xml\KeyInfoX509Data.cs (6)
117_certificates.Add(x509); 128_subjectKeyIds.Add(subjectKeyId); 134_subjectKeyIds.Add(Utils.DecodeHexString(subjectKeyId)); 145_subjectNames.Add(subjectName); 175_issuerSerials.Add(Utils.CreateX509IssuerSerial(issuerName, h.ToString())); 182_issuerSerials.Add(Utils.CreateX509IssuerSerial(issuerName, serialNumber));
System\Security\Cryptography\Xml\ReferenceList.cs (1)
35return _references.Add(value);
System\Security\Cryptography\Xml\SignedInfo.cs (1)
286_references.Add(reference);
System\Security\Cryptography\Xml\SignedXml.cs (1)
894sortedReferences.Add(reference);
System\Security\Cryptography\Xml\TransformChain.cs (2)
37_transforms.Add(transform); 201_transforms.Add(transform);
System\Security\Cryptography\Xml\Utils.cs (1)
641decryptionIssuerSerials!.Add(CreateX509IssuerSerial(certificate.IssuerName.Name, certificate.SerialNumber));
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (2)
84ExceptUris.Add(uri); 108ExceptUris.Add(idref);
System.ServiceModel.Primitives (5)
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (3)
357multipleHeaderValues[headerDescription.Index].Value.Add(item); 377elementList.Add(dataValue); 508items.Add(DeserializeParameterPart(reader, part, isRequest));
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
289unknownHeaders.Add(unknownHeader);
System\ServiceModel\Security\TimeBoundedCache.cs (1)
384expiredItems.Add(key);
System.Transactions.Local (10)
System\Transactions\Oletx\OletxEnlistment.cs (3)
138oletxResourceManager.ReenlistPendingList.Add(this); 155oletxResourceManager.ReenlistList.Add(this); 545OletxResourceManager.ReenlistList.Add(this);
System\Transactions\Oletx\OletxResourceManager.cs (3)
590resourceManager.ReenlistList.Add(localEnlistment); 634resourceManager.ReenlistList.Add(localEnlistment); 677resourceManager.ReenlistPendingList.Add(localEnlistment);
System\Transactions\Oletx\OletxTransaction.cs (2)
783Phase0EnlistVolatilementContainerList!.Add(localPhase0VolatileContainer); 930Phase0EnlistVolatilementContainerList!.Add(localPhase0VolatileContainer);
System\Transactions\Oletx\OletxVolatileEnlistment.cs (2)
106EnlistmentList.Add(enlistment); 578EnlistmentList.Add(enlistment);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\KeyTipService.cs (1)
313list.Add(item);
System.Windows.Forms (2)
System\Windows\Forms\Controls\UpDown\DomainUpDown.DomainUpDownItemCollection.cs (1)
56int ret = base.Add(item);
System\Windows\Forms\FormCollection.cs (1)
72InnerList.Add(form);
System.Windows.Forms.Design (11)
System\ComponentModel\Design\DesignSurface.cs (1)
451newErrors.Add(ex);
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
979arrayList.Add(o);
System\Windows\Forms\Design\DesignBindingValueUIHandler.cs (1)
42valueUIItemList.Add(new LocalUIItem(this, binding));
System\Windows\Forms\Design\ImageListImageEditor.cs (1)
77images.Add(image);
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (1)
155components.Add(control);
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
152items.Add(item); 870_items.Add(newItem);
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
309origSel.Add(keyService.SelectedDesignerControl);
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (1)
2032origSel.Add(SelectedDesignerControl);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (2)
93items.Add(item); 2146origSel.Add(KeyboardHandlingService.SelectedDesignerControl);
System.Xaml (1)
System\Windows\Markup\ArrayExtension.cs (1)
54public void AddChild(object value) => _arrayList.Add(value);
UIAutomationClient (11)
MS\Internal\Automation\ClientEventManager.cs (1)
123_listeners.Add(ec);
MS\Internal\Automation\HwndProxyElementProvider.cs (3)
1355uiFragmentRoots.Add(Wrap(hwnd)); 1363uiFragmentRoots.Add((IRawElementProviderSimple)proxyProvider); 1375uiFragmentRoots.Add(nonClientProvider);
MS\Internal\Automation\WinEventWrap.cs (1)
76_clientCallbacks.Add(clientCallback);
System\Windows\Automation\AutomationElement.cs (3)
799propArrays.Add(Schema.GetBasicProperties()); 811propArrays.Add(pi.Properties); 834interfaces.Add(pi.ID);
System\Windows\Automation\CacheRequest.cs (3)
105_properties.Add(AutomationElement.RuntimeIdProperty); 248_properties.Add(property); 266_patterns.Add(pattern);
UIAutomationClientSideProviders (7)
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
96actualParentChain.Add(scan);
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (2)
273rects.Add(rect); 714rects.Add(rect);
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (1)
477_groups.Add(group);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (2)
185rects.Add(rect); 198rects.Add(rect);
MS\Internal\AutomationProxies\WindowsTab.cs (1)
403list.Add (child);