34 implementations of Add
mscorlib (11)
system\Collections\Concurrent\ConcurrentDictionary.cs (1)
1500void IDictionary.Add(object key, object value)
system\collections\dictionarybase.cs (1)
106void IDictionary.Add(object key, object value) {
system\collections\emptyreadonlydictionaryinternal.cs (1)
116public void Add(Object key, Object value) {
system\collections\generic\dictionary.cs (1)
655void IDictionary.Add(object key, object value) {
system\collections\hashtable.cs (1)
440public virtual void Add(Object key, Object value) {
system\collections\listdictionaryinternal.cs (1)
137public void Add(Object key, Object value) {
system\collections\objectmodel\readonlydictionary.cs (1)
175void IDictionary.Add(object key, object value) {
system\collections\sortedlist.cs (1)
180public virtual void Add(Object key, Object value) {
system\runtime\remoting\ichannel.cs (2)
693public virtual void Add(Object key, Object value) { throw new NotSupportedException(); } 882public virtual void Add(Object key, Object value) { throw new NotSupportedException(); }
system\runtime\remoting\message.cs (1)
2064public virtual void Add(Object key, Object value)
PresentationBuildTasks (1)
Framework\System\Windows\Markup\XmlnsDictionary.cs (1)
149public void Add(object prefix, object xmlNamespace)
PresentationCore (2)
Core\CSharp\System\Windows\Media\CharacterMetricsDictionary.cs (1)
318void SC.IDictionary.Add(object key, object value)
Core\CSharp\System\Windows\Media\CultureSpecificStringDictionary.cs (1)
294void SC.IDictionary.Add(object key, object value)
PresentationFramework (3)
src\Framework\System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
342void IDictionary.Add(object key, object value)
src\Framework\System\Windows\Markup\XmlnsDictionary.cs (1)
149public void Add(object prefix, object xmlNamespace)
src\Framework\System\Windows\ResourceDictionary.cs (1)
613public void Add(object key, object value)
System (6)
compmod\system\collections\generic\sorteddictionary.cs (1)
294void IDictionary.Add(object key, object value) {
compmod\system\collections\generic\sortedlist.cs (1)
246void System.Collections.IDictionary.Add(Object key, Object value) {
compmod\system\collections\specialized\hybriddictionary.cs (1)
231public void Add(object key, object value) {
compmod\system\collections\specialized\listdictionary.cs (1)
172public void Add(object key, object value) {
compmod\system\collections\specialized\ordereddictionary.cs (1)
205public void Add(object key, object value) {
compmod\system\componentmodel\PropertyDescriptorCollection.cs (1)
478void IDictionary.Add(object key, object value) {
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (1)
253void IDictionary.Add(object key, object value) {
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (1)
253void IDictionary.Add(object key, object value) {
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (1)
220void System.Collections.IDictionary.Add(object keyword, object value) {
System.Runtime.Remoting (1)
channels\http\combinedhttpchannel.cs (1)
432public virtual void Add(Object key, Object value) { throw new NotSupportedException(); }
System.ServiceModel (1)
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
704public void Add(object key, object value)
System.ServiceModel.Internals (1)
System\Runtime\Collections\OrderedDictionary.cs (1)
243void IDictionary.Add(object key, object value)
System.Web (4)
UI\FilteredAttributeCollection.cs (1)
151void IDictionary.Add(object key, object value) {
UI\ParsedAttributeCollection.cs (1)
236void IDictionary.Add(object key, object value) {
UI\StateBag.cs (1)
191void IDictionary.Add(object key,object value) {
UI\WebParts\PersonalizationDictionary.cs (1)
144void IDictionary.Add(object key, object value) {
WindowsBase (1)
Base\MS\Internal\IO\Packaging\CompoundFile\StreamWithDictionary.cs (1)
126void IDictionary.Add( object key, object val )
168 references to Add
mscorlib (6)
system\exception.cs (5)
208dict.Add("RestrictedDescription", restrictedError); 209dict.Add("RestrictedErrorReference", restrictedErrorReference); 210dict.Add("RestrictedCapabilitySid", restrictedCapabilitySid); 214dict.Add("__RestrictedErrorObject", (restrictedErrorObject == null ? null : new __RestrictedErrorObject(restrictedErrorObject))); 215dict.Add("__HasRestrictedLanguageErrorObject", hasrestrictedLanguageErrorObject);
system\runtime\remoting\message.cs (1)
2080_dict.Add(key, value);
PresentationCore (3)
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (3)
428ae.Data.Add("System.Windows.Ink.StrokeCollection", ""); 523ae.Data.Add("System.Windows.Ink.StrokeCollection", ""); 536ae.Data.Add("System.Windows.Ink.StrokeCollection", "");
PresentationFramework (2)
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
4710dictionary.Add(currentContext.Key, currentObject);
src\Framework\System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
345((IDictionary) _dictionary).Add(key, value);
System (2)
services\monitoring\system\diagnosticts\InstanceDataCollection.cs (1)
74Dictionary.Add(objectName, value);
services\monitoring\system\diagnosticts\InstanceDataCollectionCollection.cs (1)
58Dictionary.Add(objectName, value);
System.Activities (1)
System\Activities\XamlIntegration\ActivityXamlServices.cs (1)
324exception.Data.Add(message, message.Message);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
1159((IDictionary)instance).Add(key, value);
System.Core (1)
System\Diagnostics\Eventing\Reader\EventLogWatcher.cs (1)
235this.asyncException.Data.Add("RealException", e);
System.Data (10)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
1159((IDictionary)instance).Add(key, value);
fx\src\data\System\Data\SqlClient\SqlException.cs (9)
144exception.Data.Add(OriginalClientConnectionIdKey, internalConnection.OriginalClientConnectionId); 148exception.Data.Add(RoutingDestinationKey, internalConnection.RoutingDestination); 173exception.Data.Add("HelpLink.ProdName", "Microsoft SQL Server"); 176exception.Data.Add("HelpLink.ProdVer", serverVersion); 178exception.Data.Add("HelpLink.EvtSrc", "MSSQLServer"); 179exception.Data.Add("HelpLink.EvtID", errorCollection[0].Number.ToString(CultureInfo.InvariantCulture)); 180exception.Data.Add("HelpLink.BaseHelpUrl", "http://go.microsoft.com/fwlink"); 181exception.Data.Add("HelpLink.LinkId", "20476"); 190exception.Data.Add(entry.Key, entry.Value);
System.Runtime.Serialization (5)
System\Runtime\Serialization\CodeExporter.cs (5)
459type.UserData.Add(surrogateDataKey, dataContractSet.GetSurrogateData(dataContract)); 569typeReference.UserData.Add(codeUserDataActualTypeKey, type); 686typeReference.UserData.Add(codeUserDataActualTypeKey, type); 715typeReference.UserData.Add(codeUserDataActualTypeKey, type); 885property.UserData.Add(surrogateDataKey, dataContractSet.GetSurrogateData(dataMember));
System.ServiceModel (2)
System\ServiceModel\Channels\HttpChannelHelpers.cs (2)
603exception.Data.Add(HttpChannelUtilities.HttpStatusCodeExceptionKey, statusCode); 606exception.Data.Add(HttpChannelUtilities.HttpStatusDescriptionExceptionKey, statusDescription);
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\ServiceParser.cs (1)
498attribs.Add(attribName, attribValue);
System.Web (74)
Compilation\BaseResourcesBuildProvider.cs (1)
196resourceList.Add(de.Key, de.Value);
Compilation\CodeDOMUtility.cs (1)
354castedExpression.UserData.Add("CastIsBoxing", true);
Hosting\ApplicationManager.cs (5)
1683dict.Add(".appDomain", "*"); 1684dict.Add(".appId", appId); 1685dict.Add(".appPath", appPath); 1686dict.Add(".appVPath", appVPath.VirtualPathString); 1687dict.Add(".domainId", domainId);
Hosting\ISAPIWorkerRequest.cs (2)
2861_serverVars.Add("APPL_MD_PATH", HttpRuntime.AppDomainAppId); 2864_serverVars.Add(_serverVarNames[i], ss[i-1]);
httpstaticobjectscollection.cs (2)
43_objects.Add(name, new HttpStaticObjectsEntry(name, t, lateBound)); 222col._objects.Add(name, entry);
SiteMapProvider.cs (1)
371context.Items.Add(_resolutionTicket, true);
State\SessionIDManager.cs (1)
171context.Items.Add(COOKIELESS_SESSION_KEY, id);
State\SessionStateUtil.cs (1)
43context.Items.Add(SESSION_KEY, sessionState);
UI\BatchParser.cs (1)
316attribs.Add(attribName, attribValue);
UI\Control.cs (1)
3096namingContainer._occasionalFields.NamedControls.Add(control._id, control);
UI\ControlBuilder.cs (1)
1371attribs.Add("Text", "<%#" + codeBlockBuilder.Content + "%>");
UI\MasterPage.cs (1)
157_contentTemplateCollection.Add(templateName, template);
UI\ObjectStateFormatter.cs (1)
565table.Add(DeserializeValue(reader),
UI\OrderedDictionaryStateHelper.cs (1)
26dictionary.Add(pairEntry.First, pairEntry.Second);
UI\Page.cs (3)
2674_contentTemplateCollection.Add(templateName, template); 5486controlStates.Add(ctl.UniqueID, controlState); 5498controlStates.Add(PageRegisteredControlsThatRequirePostBackKey, _registeredControlsThatRequirePostBack);
UI\ParsedAttributeCollection.cs (2)
66_allFiltersDictionary.Add(Util.CreateFilteredName(filter, name), value); 74filteredAttributes.Data.Add(name, value);
UI\SimpleWebHandlerParser.cs (1)
283attribs.Add(attribName, attribValue);
UI\StateBag.cs (1)
169bag.Add(key,item);
UI\TagNameToTypeMapper.cs (1)
444_mappedTags.Add(tagName, type);
UI\TemplateControl.cs (16)
87_eventObjects.Add(_pagePreInitEventName, Page.EventPreInit); 88_eventObjects.Add(_pageInitEventName, EventInit); 89_eventObjects.Add(_pageInitCompleteEventName, Page.EventInitComplete); 90_eventObjects.Add(_pageLoadEventName, EventLoad); 91_eventObjects.Add(_pagePreLoadEventName, Page.EventPreLoad); 92_eventObjects.Add(_pageLoadCompleteEventName, Page.EventLoadComplete); 93_eventObjects.Add(_pagePreRenderCompleteEventName, Page.EventPreRenderComplete); 94_eventObjects.Add(_pageDataBindEventName, EventDataBinding); 95_eventObjects.Add(_pagePreRenderEventName, EventPreRender); 96_eventObjects.Add(_pageSaveStateCompleteEventName, Page.EventSaveStateComplete); 97_eventObjects.Add(_pageUnloadEventName, EventUnload); 98_eventObjects.Add(_pageErrorEventName, EventError); 99_eventObjects.Add(_pageAbortTransactionEventName, EventAbortTransaction); 100_eventObjects.Add(_onTransactionAbortEventName, EventAbortTransaction); 101_eventObjects.Add(_pageCommitTransactionEventName, EventCommitTransaction); 102_eventObjects.Add(_onTransactionCommitEventName, EventCommitTransaction);
UI\WebControls\AdRotator.cs (3)
429dict.Add(field, DataBinder.GetPropertyValue(enumerator.Current, field)); 553dict.Add(reader.LocalName, reader.ReadString()); 613dict.Add(prop.LocalName, prop.InnerText);
UI\WebControls\AutoGeneratedField.cs (1)
160dictionary.Add(dataField, value);
UI\WebControls\BoundField.cs (1)
378dictionary.Add(dataField, value);
UI\WebControls\CheckBoxField.cs (1)
253dictionary.Add(dataField, value);
UI\WebControls\DataKey.cs (1)
103_keyTable.Add(_keyNames[i], myState[i]);
UI\WebControls\DetailsView.cs (3)
2321e.Keys.Add(entry.Key, entry.Value); 2638e.OldValues.Add(entry.Key, entry.Value); 2643e.Keys.Add(entry.Key, entry.Value);
UI\WebControls\FormView.cs (3)
1951e.Keys.Add(entry.Key, entry.Value); 2268e.OldValues.Add(entry.Key, entry.Value); 2273e.Keys.Add(entry.Key, entry.Value);
UI\WebControls\GridView.cs (3)
2861e.Keys.Add(entry.Key, entry.Value); 3202e.OldValues.Add(entry.Key, entry.Value); 3207e.Keys.Add(entry.Key, entry.Value);
UI\WebControls\ImageField.cs (1)
316dictionary.Add(dataField, value);
UI\WebControls\ParameterCollection.cs (1)
196valueDictionary.Add(uniqueName, param.ParameterValue);
UI\WebControls\SqlDataSourceView.cs (2)
622caseInsensitiveExclusionList.Add(de.Key, de.Value); 1201caseInsensitiveExclusionList.Add(de.Key, de.Value);
UI\WebParts\WebPartManager.cs (6)
1608connectionIDs.Add(connectionID, null); 3122properties.Add(propertyName, val); 3129properties.Add(propertyName, new PersonalizationEntry(val, personalizationScope)); 3920_zoneIDs.Add(zoneID, zone); 4380_manager._partAndChildControlIDs.Add(partID, null); 4395_manager._partAndChildControlIDs.Add(childControlID, null);
XmlSiteMapProvider.cs (4)
453UrlTable.Add(newNode.Url, newNode); 454KeyTable.Add(newNode.Key, newNode); 486UrlTable.Add(newNode.Url, newNode); 487KeyTable.Add(newNode.Key, newNode);
System.Web.Extensions (3)
UI\WebControls\ListView.cs (3)
2207e.Keys.Add(entry.Key, entry.Value); 2535e.OldValues.Add(entry.Key, entry.Value); 2540e.Keys.Add(entry.Key, entry.Value);
System.Web.Mobile (18)
UI\MobileControls\Adapters\HtmlFormAdapter.cs (1)
89bodyAttributes.Add("bgcolor", ColorTranslator.ToHtml(backColor));
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (2)
936attributes.Add("id", form.ClientID); 942attributes.Add("title", title);
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (2)
883_cacheBuffer.Add(entry.Key, entry.Value); 910_cacheBuffer.Add(newDeviceSpecificID, value);
UI\MobileControls\Design\PropertyOverridesDialog.cs (2)
477_cacheBuffer.Add(entry.Key, entry.Value); 504_cacheBuffer.Add(newDeviceSpecificID, value);
UI\MobileControls\LiteralTextParser.cs (11)
128_recognizedTags.Add("b", LiteralElementType.Bold); 129_recognizedTags.Add("B", LiteralElementType.Bold); 131_recognizedTags.Add("i", LiteralElementType.Italic); 132_recognizedTags.Add("I", LiteralElementType.Italic); 134_recognizedTags.Add("br", LiteralElementType.Break); 135_recognizedTags.Add("BR", LiteralElementType.Break); 137_recognizedTags.Add("p", LiteralElementType.Paragraph); 138_recognizedTags.Add("P", LiteralElementType.Paragraph); 140_recognizedTags.Add("a", LiteralElementType.Anchor); 141_recognizedTags.Add("A", LiteralElementType.Anchor); 543dictionary.Add(
System.Web.Services (4)
System\Web\Services\Description\ServiceDescription.cs (1)
2828Table.Add(key, value);
System\Web\Services\Discovery\DiscoveryClientDocuments.cs (1)
56Dictionary.Add(url, value);
System\Web\Services\Discovery\DiscoveryClientReferences.cs (1)
64Dictionary.Add(url, value);
System\Web\Services\Discovery\DiscoveryExceptionDictionary.cs (1)
56Dictionary.Add(url, value);
System.Workflow.Activities (20)
CorrelationValidator.cs (17)
430error.UserData.Add(typeof(EventInfo), ((EventInfo)memberInfo).Name); 432error.UserData.Add(typeof(MethodInfo), methodInfo.Name); 441error.UserData.Add(typeof(EventInfo), ((EventInfo)memberInfo).Name); 443error.UserData.Add(typeof(MethodInfo), methodInfo.Name); 454error.UserData.Add(typeof(EventInfo), ((EventInfo)memberInfo).Name); 456error.UserData.Add(typeof(MethodInfo), methodInfo.Name); 457error.UserData.Add(typeof(ParameterInfo), param.Name); 479error.UserData.Add(typeof(CorrelationParameterAttribute), interfaceType.Name); 486error.UserData.Add(typeof(CorrelationParameterAttribute), interfaceType.Name); 577error.UserData.Add(typeof(CorrelationAliasAttribute), memberInfo.Name); 603error.UserData.Add(typeof(CorrelationParameterAttribute), (memberInfo.DeclaringType == interfaceType) ? memberInfo.Name : memberInfo.DeclaringType.Name); 610error.UserData.Add(typeof(CorrelationAliasAttribute), (memberInfo.DeclaringType == interfaceType) ? memberInfo.Name : memberInfo.DeclaringType.Name); 619error.UserData.Add(typeof(CorrelationInitializerAttribute), interfaceType.Name); 646error.UserData.Add(typeof(CorrelationParameterAttribute), interfaceType.Name); 676error.UserData.Add(typeof(CorrelationAliasAttribute), memberInfo.Name); 684error.UserData.Add(typeof(CorrelationAliasAttribute), memberInfo.Name); 692error.UserData.Add(typeof(CorrelationAliasAttribute), memberInfo.Name);
Designers\EventSinkActivityDesigner.cs (1)
49properties.Add("CorrelationToken", corrRefProperty);
Designers\InvokeMethodActivityDesigner.cs (1)
48properties.Add("CorrelationToken", corrRefProperty);
Rules\Helpers.cs (1)
100result.UserData.Add(newKey, newValue);
System.Workflow.ComponentModel (6)
AuthoringOM\Design\PropertyDescriptors.cs (1)
171props.Add(property.Name, property);
AuthoringOM\Serializer\DictionaryMarkupSerializer.cs (2)
98dictionary.Add(key, childObj); 171this.keylookupDictionary.Add(value, extendee);
AuthoringOM\Serializer\PrimitiveCodeDomSerializer.cs (1)
65expression.UserData.Add("CastIsBoxing", true);
Shared\XomlSerializationHelpers.cs (2)
393codeNamespace.UserData.Add("TruncatedNamespace", null); 398codeNamespace.UserData.Add("TruncatedNamespace", null);
System.Workflow.Runtime (1)
Hosting\WorkflowWebHostingModule.cs (1)
73HttpContext.Current.Items.Add("__WorkflowInstanceId__", new Guid(routingCookie.Value));
System.WorkflowServices (1)
System\ServiceModel\Dispatcher\ServiceErrorHandler.cs (1)
27data.Add(dataKey, true);
System.Xml (1)
System\Xml\Serialization\Compilation.cs (1)
645Dictionary.Add(key, value);
WindowsBase (6)
Base\MS\Internal\IO\Packaging\CompoundFile\StreamWithDictionary.cs (1)
129baseDictionary.Add(key, val);
Base\MS\Internal\IO\Zip\ZipArchive.cs (2)
211ZipFileInfoDictionary.Add(zipFileInfo.Name, zipFileInfo); 257ZipFileInfoDictionary.Add(zipFileInfo.Name, zipFileInfo);
Base\MS\Internal\IO\Zip\ZipIOCentralDirectoryBlock.cs (2)
321CentralDirectoryDictionary.Add(fileHeader.FileName, fileHeader); 417CentralDirectoryDictionary.Add(fileHeader.FileName, fileHeader);
Base\System\Windows\Threading\Dispatcher.cs (1)
3033e.Data.Add(ExceptionDataKey, null);