1 write to _workItemQueue
Microsoft.CodeAnalysis.Features (1)
SolutionCrawler\WorkCoordinator.HighPriorityProcessor.cs (1)
46_workItemQueue = new AsyncDocumentWorkItemQueue(processor._registration.ProgressReporter, processor._registration.Workspace);
9 references to _workItemQueue
Microsoft.CodeAnalysis.Features (9)
SolutionCrawler\WorkCoordinator.HighPriorityProcessor.cs (9)
68public int WorkItemCount => _workItemQueue.WorkItemCount; 69public bool HasAnyWork => _workItemQueue.HasAnyWork; 119var added = _workItemQueue.AddOrReplace(item); 126=> _workItemQueue.WaitAsync(cancellationToken); 168if (_workItemQueue.TryTake(documentId, out workItem, out cancellationToken)) 174return _workItemQueue.TryTakeAnyWork( 222_workItemQueue.AddOrReplace(workItem.Retry(Listener.BeginAsyncOperation("ReenqueueWorkItem"))); 228_workItemQueue.MarkWorkItemDoneFor(workItem.DocumentId); 233=> _workItemQueue.Dispose();