1 write to DocumentId
Microsoft.CodeAnalysis.Features (1)
SolutionCrawler\WorkCoordinator.WorkItem.cs (1)
79
DocumentId
= documentId;
26 references to DocumentId
Microsoft.CodeAnalysis.Features (26)
SolutionCrawler\WorkCoordinator.AsyncDocumentWorkItemQueue.cs (3)
97
Contract.ThrowIfNull(item.
DocumentId
);
99
Cancel_NoLock(item.
DocumentId
);
102
var key = item.
DocumentId
;
SolutionCrawler\WorkCoordinator.HighPriorityProcessor.cs (7)
82
Contract.ThrowIfFalse(item.
DocumentId
!= null, "can only enqueue a document work item");
105
if (_processor._documentTracker.TryGetActiveDocument() != item.
DocumentId
)
116
Contract.ThrowIfNull(item.
DocumentId
);
121
Logger.Log(FunctionId.WorkCoordinator_ActiveFileEnqueue, s_enqueueLogger, Environment.TickCount, item.
DocumentId
, !added);
184
Contract.ThrowIfNull(workItem.
DocumentId
);
192
var documentId = workItem.
DocumentId
;
228
_workItemQueue.MarkWorkItemDoneFor(workItem.
DocumentId
);
SolutionCrawler\WorkCoordinator.IncrementalAnalyzerProcessor.cs (1)
106
Contract.ThrowIfNull(item.
DocumentId
);
SolutionCrawler\WorkCoordinator.NormalPriorityProcessor.cs (8)
65
Contract.ThrowIfFalse(item.
DocumentId
!= null, "can only enqueue a document work item");
71
Logger.Log(FunctionId.WorkCoordinator_DocumentWorker_Enqueue, s_enqueueLogger, Environment.TickCount, item.
DocumentId
, !added);
76
Processor._logAggregator, item.Language, item.
DocumentId
, item.InvocationReasons, item.IsLowPriority, item.ActiveMember, added);
81
Contract.ThrowIfFalse(item.
DocumentId
!= null);
88
AddHigherPriorityDocument(item.
DocumentId
);
259
Contract.ThrowIfNull(workItem.
DocumentId
);
267
var documentId = workItem.
DocumentId
;
343
_workItemQueue.MarkWorkItemDoneFor(workItem.
DocumentId
);
SolutionCrawler\WorkCoordinator.WorkItem.cs (7)
105
public object Key =>
DocumentId
?? (object)ProjectId;
110
DocumentId
, ProjectId, Language, InvocationReasons, IsLowPriority, ActiveMember, SpecificAnalyzers,
123
DocumentId
, ProjectId, Language,
146
DocumentId
, ProjectId, Language, InvocationReasons, IsLowPriority, ActiveMember, SpecificAnalyzers,
152
RoslynDebug.Assert(
DocumentId
!= null);
157
DocumentId
.ProjectId,
168
=> $"{
DocumentId
?.ToString() ?? ProjectId.ToString()}, ({InvocationReasons}), LowPriority:{IsLowPriority}, ActiveMember:{ActiveMember != null}, Retry:{IsRetry}, ({string.Join("|", SpecificAnalyzers.Select(a => a.GetType().Name))})";