30 instantiations of ConcurrentBag
AnalyzerRunner (1)
Aspire.Hosting (1)
Aspire.Hosting.Analyzers (1)
Aspire.TestUtilities (1)
InMemory.FunctionalTests (1)
Microsoft.AspNetCore.Analyzers.Test (6)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Microsoft.AspNetCore.Http.Extensions (1)
Microsoft.CodeAnalysis.Analyzers (1)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.Test.Utilities (2)
Microsoft.DotNet.Baselines.Tasks (1)
Microsoft.DotNet.Deployment.Tasks.Links (2)
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.VisualStudio.LanguageServices.Xaml (1)
System.Reflection.MetadataLoadContext (1)
112 references to ConcurrentBag
AnalyzerRunner (1)
Aspire.Hosting (1)
Aspire.Hosting.Analyzers (4)
AspireExportAnalyzer.cs (4)
60var exportsByKey = new ConcurrentDictionary<(string ExportId, string TargetType), ConcurrentBag<(IMethodSymbol Method, Location Location)>>();
75ConcurrentDictionary<(string ExportId, string TargetType), ConcurrentBag<(IMethodSymbol Method, Location Location)>> exportsByKey)
153var bag = exportsByKey.GetOrAdd(key, _ => new ConcurrentBag<(IMethodSymbol, Location)>());
222ConcurrentDictionary<(string ExportId, string TargetType), ConcurrentBag<(IMethodSymbol Method, Location Location)>> exportsByKey)
Aspire.TestUtilities (1)
InMemory.FunctionalTests (1)
Microsoft.AspNetCore.Analyzers.Test (6)
Microsoft.AspNetCore.Components.Endpoints (11)
Microsoft.AspNetCore.Components.Endpoints.Tests (3)
Binding\FormDataMapperTests.cs (3)
785var expected = new ConcurrentBag<int>(new[] { 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 });
786CanDeserialize_Collection<ConcurrentBag<int>, ConcurrentBag<int>, int>(expected);
Microsoft.AspNetCore.Http.Extensions (11)
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.CSharp.EditorFeatures.UnitTests (1)
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.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.Test.Utilities (2)
Microsoft.DotNet.Baselines.Tasks (2)
Microsoft.DotNet.Deployment.Tasks.Links (2)
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.VisualStudio.LanguageServices.Xaml (1)
netstandard (1)
System (1)
System.Collections.Concurrent (31)
System.Reflection.MetadataLoadContext (2)