32 references to ConcurrentBag
aspire (1)
Backchannel\AuxiliaryBackchannelMonitor.cs (1)
202var failedSockets = new ConcurrentBag<string>();
Aspire.Hosting (1)
ApplicationModel\EndpointAnnotation.cs (1)
283private readonly ConcurrentBag<NetworkEndpointSnapshot> _snapshots = new();
Aspire.Hosting.Integration.Analyzers (1)
AspireExportAnalyzer.cs (1)
217var bag = exportsByKey.GetOrAdd(key, _ => new ConcurrentBag<(IMethodSymbol, Location)>());
Aspire.TestUtilities (1)
TestLoggerFactory.cs (1)
13public ConcurrentBag<string> Categories { get; } = new();
dotnet (2)
Commands\Test\MTP\MSBuildUtility.cs (1)
382var allProjects = new ConcurrentBag<ParallelizableTestModuleGroupWithSequentialInnerModules>();
Commands\Workload\Install\FileBasedInstaller.cs (1)
163var tempFilesToDelete = new ConcurrentBag<string>();
ILCompiler.ReadyToRun (3)
Compiler\DependencyAnalysis\ReadyToRun\ManifestMetadataTableNode.cs (1)
70private ConcurrentBag<EcmaModule> _modulesWhichMustBeIndexable = new ConcurrentBag<EcmaModule>();
Compiler\DependencyAnalysis\ReadyToRun\TypeValidationChecker.cs (1)
20private ConcurrentBag<(TypeDesc type, string reason)> _typeLoadValidationErrors = new ConcurrentBag<(TypeDesc type, string reason)>();
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (1)
481private readonly ConcurrentBag<StringDiscoverableAssemblyStubNode> _stringDiscoverableStubs = new ConcurrentBag<StringDiscoverableAssemblyStubNode>();
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\Converters\CollectionAdapters\ConcurrentBagBufferAdapter.cs (1)
10public static ConcurrentBag<TElement> CreateBuffer() => new();
Microsoft.AspNetCore.Http.Extensions (1)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\CollectionAdapters\ConcurrentBagBufferAdapter.cs (1)
10public static ConcurrentBag<TElement> CreateBuffer() => new();
Microsoft.Build (6)
BackEnd\Components\Communications\NodeProviderOutOfProc.cs (1)
90ConcurrentBag<NodeInfo> nodes = new();
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (2)
75_checkRegistry = new ConcurrentBag<CheckFactoryContext>(); 395var tempColl = new ConcurrentBag<CheckFactoryContext>();
BuildCheck\Infrastructure\EditorConfig\EditorConfigParser.cs (2)
17private static ConcurrentBag<string> editorConfigFilePaths = new ConcurrentBag<string>(); 38editorConfigFilePaths = new ConcurrentBag<string>();
Graph\GraphBuilder.cs (1)
629_projectReferrers.GetOrAdd(referenceInfo.ReferenceConfiguration, _ => new ConcurrentBag<string>())
Microsoft.CodeAnalysis.Analyzers (1)
MetaAnalyzers\DiagnosticAnalyzerAPIUsageAnalyzer.cs (1)
95var diagnosticAnalyzerTypes = new ConcurrentBag<INamedTypeSymbol>();
Microsoft.CodeAnalysis.Features (1)
CodeFixes\Suppression\AbstractSuppressionBatchFixAllProvider.cs (1)
146var bag = new ConcurrentBag<(Diagnostic diagnostic, CodeAction action)>();
Microsoft.DotNet.SourceBuild.Tasks (1)
src\UsageReport\WritePackageUsageData.cs (1)
176var usages = new ConcurrentBag<Usage>();
Microsoft.Maui.Resizetizer (1)
ResizetizeImages.cs (1)
49 var resizedImages = new ConcurrentBag<ResizedImageInfo>();
Microsoft.ML.Core (1)
Utilities\ObjectPool.cs (1)
46_pool = new ConcurrentBag<T>();
Microsoft.ML.Data (1)
DataView\CacheDataView.cs (1)
99_cacheFillerThreads = new ConcurrentBag<Task>();
Microsoft.ML.TensorFlow (1)
TensorflowTransform.cs (1)
638_runners = new ConcurrentBag<Runner>();
Microsoft.ML.Transforms (1)
Text\WordEmbeddingsExtractor.cs (1)
679var parsedData = new ConcurrentBag<(string key, float[] values, long lineNumber)>();
Microsoft.ML.Vision (1)
DnnRetrainTransform.cs (1)
839_runners = new ConcurrentBag<Runner>();
Microsoft.TestPlatform.CrossPlatEngine (1)
PostProcessing\PostProcessingTestRunAttachmentsProcessingEventsHandler.cs (1)
20private readonly ConcurrentBag<AttachmentSet> _attachmentsSet = new();
Microsoft.VisualStudio.TestPlatform.Common (1)
DataCollection\DataCollectionAttachmentManager.cs (1)
174_attachmentTasks.GetOrAdd(fileTransferInfo.Context, _ => new ConcurrentBag<Task>());
NuGet.Build.Tasks.Console (1)
MSBuildStaticGraphRestore.cs (1)
811var additionalMessages = new ConcurrentBag<IAssetsLogMessage>();
NuGet.Commands (2)
RestoreCommand\RequestFactory\DependencyGraphSpecRequestProvider.cs (2)
84var requests = new ConcurrentBag<RestoreSummaryRequest>(); 85var toolRequests = new ConcurrentBag<RestoreSummaryRequest>();
System.Reflection.MetadataLoadContext (1)
System\Reflection\MetadataLoadContext.Disposing.cs (1)
11private ConcurrentBag<IDisposable> _disposables = new ConcurrentBag<IDisposable>();