1 write to SpecificAnalyzers
Microsoft.CodeAnalysis.Features (1)
SolutionCrawler\WorkCoordinator.WorkItem.cs (1)
86
SpecificAnalyzers
= specificAnalyzers;
13 references to SpecificAnalyzers
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
SolutionCrawler\WorkCoordinatorTests.cs (3)
1328
Assert.True(item.
SpecificAnalyzers
.IsEmpty);
1349
Assert.True(item.
SpecificAnalyzers
.IsEmpty);
1370
Assert.Equal(2, item.
SpecificAnalyzers
.Count);
Microsoft.CodeAnalysis.Features (10)
SolutionCrawler\WorkCoordinator.AsyncDocumentWorkItemQueue.cs (1)
112
documentMap[key] = existingWorkItem.With(item.InvocationReasons, item.ActiveMember, item.
SpecificAnalyzers
, item.IsRetry, item.AsyncToken);
SolutionCrawler\WorkCoordinator.AsyncProjectWorkItemQueue.cs (1)
80
_projectWorkQueue[key] = existingWorkItem.With(item.InvocationReasons, item.ActiveMember, item.
SpecificAnalyzers
, item.IsRetry, item.AsyncToken);
SolutionCrawler\WorkCoordinator.WorkItem.cs (8)
41
/// If this work item has any specific analyzer(s), then returns the intersection of <see cref="
SpecificAnalyzers
"/>
46
=>
SpecificAnalyzers
?.Count > 0 ?
SpecificAnalyzers
.Where(allAnalyzers.Contains) : allAnalyzers;
110
DocumentId, ProjectId, Language, InvocationReasons, IsLowPriority, ActiveMember,
SpecificAnalyzers
,
127
ComputeNewSpecificAnalyzers(specificAnalyzers,
SpecificAnalyzers
), IsRetry || retry,
146
DocumentId, ProjectId, Language, InvocationReasons, IsLowPriority, ActiveMember,
SpecificAnalyzers
,
162
SpecificAnalyzers
,
168
=> $"{DocumentId?.ToString() ?? ProjectId.ToString()}, ({InvocationReasons}), LowPriority:{IsLowPriority}, ActiveMember:{ActiveMember != null}, Retry:{IsRetry}, ({string.Join("|",
SpecificAnalyzers
.Select(a => a.GetType().Name))})";