33 instantiations of ConcurrentBag
aspire (1)
Aspire.Hosting (1)
Aspire.Hosting.Integration.Analyzers (1)
Aspire.TestUtilities (1)
dotnet (2)
ILCompiler.ReadyToRun (3)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Http.Extensions (1)
Microsoft.Build (6)
Microsoft.CodeAnalysis.Analyzers (1)
Microsoft.CodeAnalysis.Features (1)
Microsoft.DotNet.SourceBuild.Tasks (1)
Microsoft.Maui.Resizetizer (1)
Microsoft.ML.Core (1)
Microsoft.ML.Data (1)
Microsoft.ML.TensorFlow (1)
Microsoft.ML.Transforms (1)
Microsoft.ML.Vision (1)
Microsoft.TestPlatform.CrossPlatEngine (1)
Microsoft.VisualStudio.TestPlatform.Common (1)
NuGet.Build.Tasks.Console (1)
NuGet.Commands (3)
System.Reflection.MetadataLoadContext (1)
127 references to ConcurrentBag
aspire (2)
Aspire.Hosting (1)
Aspire.Hosting.Integration.Analyzers (4)
AspireExportAnalyzer.cs (4)
75var exportsByKey = new ConcurrentDictionary<(string ExportId, string TargetType), ConcurrentBag<(IMethodSymbol Method, Location Location)>>();
123ConcurrentDictionary<(string ExportId, string TargetType), ConcurrentBag<(IMethodSymbol Method, Location Location)>> exportsByKey)
217var bag = exportsByKey.GetOrAdd(key, _ => new ConcurrentBag<(IMethodSymbol, Location)>());
762ConcurrentDictionary<(string ExportId, string TargetType), ConcurrentBag<(IMethodSymbol Method, Location Location)>> exportsByKey)
Aspire.Hosting.Tests (8)
Aspire.TestUtilities (1)
dotnet (4)
ILCompiler.ReadyToRun (3)
Microsoft.AspNetCore.Components.Endpoints (11)
Microsoft.AspNetCore.Http.Extensions (11)
Microsoft.Build (7)
Microsoft.CodeAnalysis.Analyzers (11)
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer.cs (10)
250var idToAnalyzerMap = new ConcurrentDictionary<string, ConcurrentDictionary<string, ConcurrentBag<Location>>>();
476var locations = analyzerToDescriptorLocationsMap[analyzerName];
1196ConcurrentDictionary<string, ConcurrentDictionary<string, ConcurrentBag<Location>>> idToAnalyzerMap)
1217ConcurrentBag<Location> AddLocationFactory(string analyzerName)
1220ConcurrentBag<Location> UpdateLocationsFactory(string analyzerName, ConcurrentBag<Location> bag)
1226ConcurrentDictionary<string, ConcurrentBag<Location>> AddNamedTypeFactory(string r)
1228var dict = new ConcurrentDictionary<string, ConcurrentBag<Location>>();
1236ConcurrentDictionary<string, ConcurrentBag<Location>> UpdateNamedTypeFactory(string r, ConcurrentDictionary<string, ConcurrentBag<Location>> existingValue)
Microsoft.CodeAnalysis.Features (8)
CodeFixes\Suppression\AbstractSuppressionBatchFixAllProvider.cs (7)
146var bag = new ConcurrentBag<(Diagnostic diagnostic, CodeAction action)>();
201ConcurrentBag<(Diagnostic diagnostic, CodeAction action)> fixes,
248private static async Task<IReadOnlyDictionary<DocumentId, ConcurrentBag<(CodeAction, Document)>>> GetDocumentIdToChangedDocumentsAsync(
254var documentIdToChangedDocuments = new ConcurrentDictionary<DocumentId, ConcurrentBag<(CodeAction, Document)>>();
272IReadOnlyDictionary<DocumentId, ConcurrentBag<(CodeAction, Document)>> documentIdToChangedDocuments,
340private static readonly Func<DocumentId, ConcurrentBag<(CodeAction, Document)>> s_getValue =
345ConcurrentDictionary<DocumentId, ConcurrentBag<(CodeAction, Document)>> documentIdToChangedDocuments,
Microsoft.DotNet.SourceBuild.Tasks (1)
Microsoft.Maui.Resizetizer (4)
Microsoft.ML.Core (1)
Microsoft.ML.Data (1)
Microsoft.ML.TensorFlow (1)
Microsoft.ML.Transforms (1)
Microsoft.ML.Vision (1)
Microsoft.NET.Sdk.StaticWebAssets.Tasks (1)
Microsoft.TestPlatform.CrossPlatEngine (1)
Microsoft.VisualStudio.TestPlatform.Common (3)
netstandard (1)
NuGet.Build.Tasks.Console (3)
NuGet.Commands (3)
System (1)
System.Collections.Concurrent (31)
System.Reflection.MetadataLoadContext (2)