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)
140
if (
_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);