Implemented interface member:
method
Add
System.Collections.Generic.IDictionary<TKey, TValue>.Add(TKey, TValue)
52 references to Add
Aspire.Dashboard (1)
Components\Controls\Chart\MetricTable.razor.cs (1)
158percentiles.Add(trace.Percentile!.Value, (trace.Name, trace.Values[i], GetDirectionChange(valueDiffs[traceIndex])));
Microsoft.AspNetCore.Authentication.Twitter (4)
TwitterHandler.cs (4)
196authorizationParts.Add("oauth_token", accessToken.Token); 204signatureParts.Add(queryParameter.Key, queryParameter.Value); 211signatureParts.Add(formItem.Key, formItem.Value); 232authorizationParts.Add("oauth_signature", signature);
Microsoft.Build (2)
Definition\Toolset.cs (1)
497subToolsetsWithVersion.Add(subToolsetVersion, subToolsetName);
VersionUtilities.cs (1)
53versionValues.Add(candidateVersion, new List<string>() { version });
Microsoft.Build.CommandLine.UnitTests (1)
VersionUtilities.cs (1)
53versionValues.Add(candidateVersion, new List<string>() { version });
Microsoft.Build.Tasks.Core (2)
AssemblyFoldersEx.cs (1)
471targetFrameworkVersionToRegistryVersions.Add(candidateVersion, listOfFrameworks);
VersionUtilities.cs (1)
53versionValues.Add(candidateVersion, new List<string>() { version });
Microsoft.Build.Utilities.Core (2)
AssemblyFoldersEx.cs (1)
471targetFrameworkVersionToRegistryVersions.Add(candidateVersion, listOfFrameworks);
VersionUtilities.cs (1)
53versionValues.Add(candidateVersion, new List<string>() { version });
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (3)
ObjectFormatterTests.cs (3)
651obj.Add(1, 0x1a); 652obj.Add(3, 0x3c); 653obj.Add(2, 0x2b);
Microsoft.Data.Analysis (3)
DataFrameColumn.cs (1)
511heapOfValueAndListOfTupleOfSortAndBufferIndex.Add(nextValue, new List<ValueTuple<int, int>>() { (nextValueAndBufferSortIndex.bufferSortIndex, bufferIndex) });
DataFrameColumns\StringDataFrameColumn.cs (1)
257heapOfValueAndListOfTupleOfSortAndBufferIndex.Add(valueAndBufferSortIndex.Item1, new List<ValueTuple<int, int>>() { (valueAndBufferSortIndex.Item2, i) });
PrimitiveDataFrameColumn.Sort.cs (1)
98heapOfValueAndListOfTupleOfSortAndBufferIndex.Add(valueAndBufferIndex.Item1, new List<ValueTuple<int, int>>() { (valueAndBufferIndex.Item2, i) });
Microsoft.DotNet.Build.Tasks.Packaging.Tests (4)
PackageIndexTests.cs (4)
19packageIndex.Packages.Add("MyPackage", new PackageInfo()); 34packageIndex.Packages.Add("MyPackage", new PackageInfo()); 35packageIndex.Packages.Add("MyPackage2", new PackageInfo()); 54packageIndex.Packages.Add("MyPackage3", new PackageInfo());
Microsoft.Extensions.ApiDescription.Client.Tests (11)
GetCurrentOpenApiReferenceTest.cs (1)
51orderedMetadata.Add(key, metadata[key]);
GetOpenApiReferenceMetadataTest.cs (9)
60orderedMetadata.Add(key, metadata[key]); 118orderedMetadata.Add(key, metadata[key]); 176orderedMetadata.Add(key, metadata[key]); 234orderedMetadata.Add(key, metadata[key]); 384orderedMetadata.Add(key, metadata[key]); 447orderedMetadata.Add(key, metadata[key]); 545orderedMetadata.Add(key, metadata[key]); 557orderedMetadata.Add(key, metadata[key]); 569orderedMetadata.Add(key, metadata[key]);
MetadataSerializerTest.cs (1)
133orderedMetadata.Add(key, metadata[key]);
Microsoft.ML.TimeSeries (2)
RootCauseAnalyzer.cs (2)
268entropyGainMap.Add(dimension, gain); 315entropyMap.Add(dimension, entropy);
Microsoft.ML.Tokenizers (1)
Model\BPETokenizer.cs (1)
253VocabReverse.Add(kvp.Value, kvp.Key.Data!);
RunTests (1)
AssemblyScheduler.cs (1)
264currentFilters.Add(assembly, filterList);
System.Collections (1)
System\Collections\Generic\SortedDictionary.cs (1)
353Add(tempKey, (TValue)value!);
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
870dictionary.Add(item.Key, item.Value);
System.IO.Packaging (1)
System\IO\Packaging\ZipPackage.cs (1)
1066contentTypeStreamPieces.Add(pieceInfo, zipFileInfo);
System.Resources.Extensions (6)
src\libraries\Common\src\System\Resources\ResourceWriter.cs (6)
100_resourceList.Add(name, value); 127_resourceList.Add(name, value); 158_resourceList.Add(name, value); 168_resourceList.Add(name, new StreamWrapper(value, closeAfterWrite)); 189_resourceList.Add(name, value); 327_resourceList.Add(entry.Key, entry.Value);
System.Resources.Writer (6)
src\libraries\Common\src\System\Resources\ResourceWriter.cs (6)
100_resourceList.Add(name, value); 127_resourceList.Add(name, value); 158_resourceList.Add(name, value); 168_resourceList.Add(name, new StreamWrapper(value, closeAfterWrite)); 189_resourceList.Add(name, value); 327_resourceList.Add(entry.Key, entry.Value);