31 references to Add
AnalyzerRunner (1)
Program.cs (1)
195sums.Add(documentStatistics);
Aspire.Components.Common.Tests (1)
TestLoggerFactory.cs (1)
20Categories.Add(categoryName);
InMemory.FunctionalTests (2)
RequestTests.cs (2)
609usedIds.Add(id); 641usedIds.Add(id);
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\Converters\CollectionAdapters\ConcurrentBagBufferAdapter.cs (1)
14buffer.Add(element);
Microsoft.AspNetCore.Http.Extensions (1)
src\Components\Endpoints\src\FormMapping\Converters\CollectionAdapters\ConcurrentBagBufferAdapter.cs (1)
14buffer.Add(element);
Microsoft.Build.Engine.UnitTests (1)
ProjectCache\ProjectCacheTests.cs (1)
1393completedCacheRequests.Add(projectNumber);
Microsoft.CodeAnalysis.Features (1)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction.BatchFixer.cs (1)
100bag.Add((diagnostic, removeSuppressionCodeAction));
Microsoft.CodeAnalysis.LanguageServer (1)
Testing\TestDiscoverer.DiscoveryHandler.cs (1)
71_testCases.Add(test);
Microsoft.CodeAnalysis.Test.Utilities (7)
Diagnostics\CommonDiagnosticAnalyzers.cs (5)
2049diagnostics.Add(Diagnostic.Create(DuplicateStartActionRule, Location.None, symbolStartContext.Symbol.Name, _analyzerId)); 2059diagnostics.Add(Diagnostic.Create(DuplicateEndActionRule, Location.None, symbolEndContext.Symbol.Name, _analyzerId)); 2110diagnostics.Add(Diagnostic.Create(SymbolStartedOrderingRule, Location.None, member, symbolStarted, _analyzerId)); 2134diagnostics.Add(Diagnostic.Create(SymbolEndedOrderingRule, Location.None, container, symbolEnded, _analyzerId)); 2149diagnostics.Add(Diagnostic.Create(OperationOrderingRule, Location.None, symbolStartContext.Symbol, operationContext.Operation.Syntax.ToString(), _analyzerId));
TempFiles\TempRoot.cs (2)
57_temps.Add(dir); 70_temps.Add(file);
Microsoft.DotNet.Deployment.Tasks.Links (2)
Microsoft.DotNet.SourceBuild.Tasks (2)
src\UsageReport\WritePackageUsageData.cs (2)
215usages.Add(Usage.Create( 229usages.Add(Usage.Create(
Microsoft.Maui.Resizetizer (8)
ResizetizeImages.cs (8)
100 resizedImages.Add(r); 184 resizedImages.Add(iconGenerated); 195 resizedImages.Add(assetGenerated); 203 resizedImages.Add(windowsIconGen.Generate()); 226 resizedImages.Add(new ResizedImageInfo() { Dpi = dpi, Filename = destination }); 232 resizedImages.Add(r); 245 resizedImages.Add(r); 258 resizedImages.Add(r);
Microsoft.ML.Core (1)
Utilities\ObjectPool.cs (1)
62_pool.Add(item);
System.Collections.Concurrent (1)
System\Collections\Concurrent\ConcurrentBag.cs (1)
88Add(item);
System.Reflection.MetadataLoadContext (1)
System\Reflection\MetadataLoadContext.Disposing.cs (1)
24internal void RegisterForDisposal(IDisposable disposable) => _disposables.Add(disposable);