1 write to DocumentId
Microsoft.CodeAnalysis.Features (1)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingWorkItem.cs (1)
68
DocumentId
= documentId;
20 references to DocumentId
Microsoft.CodeAnalysis.Features (20)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingAsyncDocumentWorkItemQueue.cs (3)
93
Contract.ThrowIfNull(item.
DocumentId
);
95
Cancel_NoLock(item.
DocumentId
);
98
var key = item.
DocumentId
;
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingIncrementalAnalyzerProcessor.cs (1)
76
Contract.ThrowIfNull(item.
DocumentId
);
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingNormalPriorityProcessor.cs (8)
63
Contract.ThrowIfFalse(item.
DocumentId
!= null, "can only enqueue a document work item");
69
Logger.Log(FunctionId.WorkCoordinator_DocumentWorker_Enqueue, s_enqueueLogger, Environment.TickCount, item.
DocumentId
, !added);
74
Processor._logAggregator, item.Language, item.
DocumentId
, item.InvocationReasons, item.IsLowPriority, item.ActiveMember, added);
79
Contract.ThrowIfFalse(item.
DocumentId
!= null);
86
AddHigherPriorityDocument(item.
DocumentId
);
172
Contract.ThrowIfNull(workItem.
DocumentId
);
180
var documentId = workItem.
DocumentId
;
245
_workItemQueue.MarkWorkItemDoneFor(workItem.
DocumentId
);
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingWorkItem.cs (8)
94
public object Key =>
DocumentId
?? (object)ProjectId;
114
DocumentId
, ProjectId, Language, InvocationReasons, IsLowPriority, ActiveMember, SpecificAnalyzers,
127
DocumentId
, ProjectId, Language,
138
DocumentId
, ProjectId, Language, InvocationReasons, IsLowPriority, ActiveMember, SpecificAnalyzers,
144
RoslynDebug.Assert(
DocumentId
!= null);
149
DocumentId
.ProjectId,
161
return new UnitTestingWorkItem(
DocumentId
, ProjectId, Language, InvocationReasons,
166
=> $"{
DocumentId
?.ToString() ?? ProjectId.ToString()}, ({InvocationReasons}), LowPriority:{IsLowPriority}, ActiveMember:{ActiveMember != null}, Retry:{IsRetry}, ({string.Join("|", SpecificAnalyzers.Select(a => a.GetType().Name))})";