1 implementation of IUnitTestingIncrementalAnalyzer
Microsoft.CodeAnalysis.Features (1)
ExternalAccess\UnitTesting\API\NewUnitTestingIncrementalAnalyzer.cs (1)
15
private sealed class NewUnitTestingIncrementalAnalyzer :
IUnitTestingIncrementalAnalyzer
56 references to IUnitTestingIncrementalAnalyzer
Microsoft.CodeAnalysis.Features (56)
ExternalAccess\UnitTesting\API\NewUnitTestingIncrementalAnalyzerProvider.cs (2)
17
private
IUnitTestingIncrementalAnalyzer
? _lazyAnalyzer;
33
public
IUnitTestingIncrementalAnalyzer
CreateIncrementalAnalyzer()
ExternalAccess\UnitTesting\SolutionCrawler\IUnitTestingIncrementalAnalyzerProvider.cs (1)
9
IUnitTestingIncrementalAnalyzer
? CreateIncrementalAnalyzer(
ExternalAccess\UnitTesting\SolutionCrawler\IUnitTestingSolutionCrawlerService.cs (2)
17
/// in given <see cref="Workspace"/> with given <see cref="
IUnitTestingIncrementalAnalyzer
"/>.
19
void Reanalyze(string? workspaceKind, SolutionServices services,
IUnitTestingIncrementalAnalyzer
analyzer, IEnumerable<ProjectId>? projectIds = null, IEnumerable<DocumentId>? documentIds = null, bool highPriority = false);
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingSolutionCrawlerLogger.cs (5)
66
IUnitTestingIncrementalAnalyzer
analyzer,
86
public static void LogAnalyzers(int correlationId, string workspaceKind, ImmutableArray<
IUnitTestingIncrementalAnalyzer
> reordered, bool onlyHighPriorityAnalyzer)
103
FunctionId analyzersId, FunctionId analyzerId, int correlationId, string workspaceKind, ImmutableArray<
IUnitTestingIncrementalAnalyzer
> reordered)
117
foreach (
var
analyzer in reordered)
193
public static void LogIncrementalAnalyzerProcessorStatistics(int correlationId, Solution solution, CountLogAggregator<object> logAggregator, ImmutableArray<
IUnitTestingIncrementalAnalyzer
> analyzers)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingSolutionCrawlerRegistrationService.cs (2)
143
var
analyzer = lazyProvider.Value.CreateIncrementalAnalyzer();
156
public void Reanalyze(string? workspaceKind, SolutionServices services,
IUnitTestingIncrementalAnalyzer
analyzer, IEnumerable<ProjectId>? projectIds, IEnumerable<DocumentId>? documentIds, bool highPriority)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingSolutionCrawlerService.cs (1)
31
public void Reanalyze(string? workspaceKind, SolutionServices services,
IUnitTestingIncrementalAnalyzer
analyzer, IEnumerable<ProjectId>? projectIds = null, IEnumerable<DocumentId>? documentIds = null, bool highPriority = false)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.AbstractUnitTestingPriorityProcessor.cs (5)
26
private Lazy<ImmutableArray<
IUnitTestingIncrementalAnalyzer
>> _lazyAnalyzers;
31
Lazy<ImmutableArray<
IUnitTestingIncrementalAnalyzer
>> lazyAnalyzers,
43
public ImmutableArray<
IUnitTestingIncrementalAnalyzer
> Analyzers
54
public void AddAnalyzer(
IUnitTestingIncrementalAnalyzer
analyzer)
59
_lazyAnalyzers = new Lazy<ImmutableArray<
IUnitTestingIncrementalAnalyzer
>>(() => analyzers.Add(analyzer));
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (5)
96
IUnitTestingIncrementalAnalyzer
analyzer
161
public void Reanalyze(
IUnitTestingIncrementalAnalyzer
analyzer, UnitTestingReanalyzeScope scope
512
private async Task EnqueueWorkItemAsync(
IUnitTestingIncrementalAnalyzer
analyzer, UnitTestingReanalyzeScope scope
530
IUnitTestingIncrementalAnalyzer
analyzer, Project project, DocumentId documentId, Document? document, UnitTestingInvocationReasons invocationReasons)
635
internal void WaitUntilCompletion(ImmutableArray<
IUnitTestingIncrementalAnalyzer
> workers)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingIncrementalAnalyzerProcessor.cs (14)
80
var lazyAllAnalyzers = new Lazy<ImmutableArray<
IUnitTestingIncrementalAnalyzer
>>(() => GetIncrementalAnalyzers(_registration, analyzersGetter, onlyHighPriorityAnalyzer: false));
112
private static ImmutableArray<
IUnitTestingIncrementalAnalyzer
> GetIncrementalAnalyzers(UnitTestingRegistration registration, UnitTestingAnalyzersGetter analyzersGetter, bool onlyHighPriorityAnalyzer)
134
IUnitTestingIncrementalAnalyzer
analyzer
160
public ImmutableArray<
IUnitTestingIncrementalAnalyzer
> Analyzers => _normalPriorityProcessor.Analyzers;
199
TextDocument textDocument, ImmutableArray<
IUnitTestingIncrementalAnalyzer
> analyzers, UnitTestingWorkItem workItem, CancellationToken cancellationToken)
286
ImmutableArray<
IUnitTestingIncrementalAnalyzer
> analyzers,
289
Func<
IUnitTestingIncrementalAnalyzer
, T, CancellationToken, Task> runnerAsync,
298
foreach (
var
analyzer in analyzersToExecute)
305
var
local = analyzer;
319
private async Task RunBodyAnalyzersAsync(ImmutableArray<
IUnitTestingIncrementalAnalyzer
> analyzers, UnitTestingWorkItem workItem, Document document, CancellationToken cancellationToken)
444
internal void WaitUntilCompletion(ImmutableArray<
IUnitTestingIncrementalAnalyzer
> analyzers, List<UnitTestingWorkItem> items)
466
IUnitTestingIncrementalAnalyzer
475
public ImmutableArray<
IUnitTestingIncrementalAnalyzer
> GetOrderedAnalyzers(string workspaceKind, SolutionServices services, bool onlyHighPriorityAnalyzer)
503
return ImmutableArray<
IUnitTestingIncrementalAnalyzer
>.Empty;
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingLowPriorityProcessor.cs (3)
31
Lazy<ImmutableArray<
IUnitTestingIncrementalAnalyzer
>> lazyAnalyzers,
135
private async Task ProcessProjectAsync(ImmutableArray<
IUnitTestingIncrementalAnalyzer
> analyzers, UnitTestingWorkItem workItem, CancellationToken cancellationToken)
234
internal void WaitUntilCompletion(ImmutableArray<
IUnitTestingIncrementalAnalyzer
> analyzers, List<UnitTestingWorkItem> items)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingNormalPriorityProcessor.cs (5)
49
Lazy<ImmutableArray<
IUnitTestingIncrementalAnalyzer
>> lazyAnalyzers,
271
private async Task ProcessDocumentAsync(ImmutableArray<
IUnitTestingIncrementalAnalyzer
> analyzers, UnitTestingWorkItem workItem, CancellationToken cancellationToken)
502
private static async Task RemoveDocumentAsync(ImmutableArray<
IUnitTestingIncrementalAnalyzer
> analyzers, DocumentId documentId, CancellationToken cancellationToken)
504
foreach (
var
analyzer in analyzers)
600
internal void WaitUntilCompletion(ImmutableArray<
IUnitTestingIncrementalAnalyzer
> analyzers, List<UnitTestingWorkItem> items)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingWorkItem.cs (11)
38
public readonly ImmutableHashSet<
IUnitTestingIncrementalAnalyzer
> SpecificAnalyzers;
46
public IEnumerable<
IUnitTestingIncrementalAnalyzer
> GetApplicableAnalyzers(ImmutableArray<
IUnitTestingIncrementalAnalyzer
> allAnalyzers)
76
ImmutableHashSet<
IUnitTestingIncrementalAnalyzer
> specificAnalyzers,
97
: this(documentId, documentId.ProjectId, language, invocationReasons, isLowPriority, activeMember, ImmutableHashSet.Create<
IUnitTestingIncrementalAnalyzer
>(), retry: false, asyncToken)
101
public UnitTestingWorkItem(DocumentId documentId, string language, UnitTestingInvocationReasons invocationReasons, bool isLowPriority,
IUnitTestingIncrementalAnalyzer
? analyzer, IAsyncToken asyncToken)
103
analyzer == null ? ImmutableHashSet.Create<
IUnitTestingIncrementalAnalyzer
>() : ImmutableHashSet.Create(analyzer),
110
private ImmutableHashSet<
IUnitTestingIncrementalAnalyzer
> Union(ImmutableHashSet<
IUnitTestingIncrementalAnalyzer
> analyzers)
134
ImmutableHashSet<
IUnitTestingIncrementalAnalyzer
> analyzers, bool retry, IAsyncToken asyncToken)
173
public UnitTestingWorkItem With(ImmutableHashSet<
IUnitTestingIncrementalAnalyzer
> specificAnalyzers, IAsyncToken asyncToken)