1 write to _attachmentTasks
Microsoft.VisualStudio.TestPlatform.Common (1)
DataCollection\DataCollectionAttachmentManager.cs (1)
82_attachmentTasks = new ConcurrentDictionary<DataCollectionContext, ConcurrentBag<Task>>();
4 references to _attachmentTasks
Microsoft.VisualStudio.TestPlatform.Common (4)
DataCollection\DataCollectionAttachmentManager.cs (4)
140if (_attachmentTasks.TryGetValue(dataCollectionContext, out var tasks)) 155_attachmentTasks.TryRemove(dataCollectionContext, out _); 174_attachmentTasks.GetOrAdd(fileTransferInfo.Context, _ => new ConcurrentBag<Task>()); 322_attachmentTasks[fileTransferInfo.Context].Add(continuationTask);