1 write to InvocationReasons
Microsoft.CodeAnalysis.Features (1)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingWorkItem.cs (1)
71
InvocationReasons
= invocationReasons;
17 references to InvocationReasons
Microsoft.CodeAnalysis.Features (17)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingAsyncDocumentWorkItemQueue.cs (1)
108
documentMap[key] = existingWorkItem.With(item.
InvocationReasons
, item.ActiveMember, item.SpecificAnalyzers, item.IsRetry, item.AsyncToken);
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingAsyncProjectWorkItemQueue.cs (1)
75
_projectWorkQueue[key] = existingWorkItem.With(item.
InvocationReasons
, item.ActiveMember, item.SpecificAnalyzers, item.IsRetry, item.AsyncToken);
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingIncrementalAnalyzerProcessor.cs (2)
123
var reasons = workItem.
InvocationReasons
;
187
var reasons = workItem.
InvocationReasons
;
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingLowPriorityProcessor.cs (1)
137
var reasons = workItem.
InvocationReasons
;
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingNormalPriorityProcessor.cs (6)
74
Processor._logAggregator, item.Language, item.DocumentId, item.
InvocationReasons
, item.IsLowPriority, item.ActiveMember, added);
81
if (!item.
InvocationReasons
.Contains(UnitTestingPredefinedInvocationReasons.HighPriority))
254
Debug.Assert(!workItem.
InvocationReasons
.Contains(UnitTestingPredefinedInvocationReasons.Reanalyze) || workItem.SpecificAnalyzers.Count > 0);
258
if (!workItem.
InvocationReasons
.Contains(UnitTestingPredefinedInvocationReasons.Reanalyze))
267
var reasons = workItem.
InvocationReasons
;
272
!workItem.
InvocationReasons
.Contains(UnitTestingPredefinedInvocationReasons.SemanticChanged))
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingWorkItem.cs (6)
114
DocumentId, ProjectId, Language,
InvocationReasons
, IsLowPriority, ActiveMember, SpecificAnalyzers,
128
InvocationReasons
.With(invocationReasons),
138
DocumentId, ProjectId, Language,
InvocationReasons
, IsLowPriority, ActiveMember, SpecificAnalyzers,
151
InvocationReasons
,
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))})";