53 references to IUnitTestingIncrementalAnalyzer
Microsoft.CodeAnalysis.Features (53)
ExternalAccess\UnitTesting\API\NewUnitTestingIncrementalAnalyzer.cs (1)
13
private sealed class NewUnitTestingIncrementalAnalyzer(INewUnitTestingIncrementalAnalyzerImplementation implementation) :
IUnitTestingIncrementalAnalyzer
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);
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingSolutionCrawlerLogger.cs (4)
66
IUnitTestingIncrementalAnalyzer
analyzer,
79
public static void LogAnalyzers(int correlationId, string workspaceKind, ImmutableArray<
IUnitTestingIncrementalAnalyzer
> reordered, bool onlyHighPriorityAnalyzer)
96
FunctionId analyzersId, FunctionId analyzerId, int correlationId, string workspaceKind, ImmutableArray<
IUnitTestingIncrementalAnalyzer
> reordered)
110
foreach (
var
analyzer in reordered)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingSolutionCrawlerRegistrationService.cs (2)
119
var
analyzer = lazyProvider.Value.CreateIncrementalAnalyzer();
128
public void Reanalyze(string? workspaceKind, SolutionServices services,
IUnitTestingIncrementalAnalyzer
analyzer, IEnumerable<ProjectId>? projectIds, IEnumerable<DocumentId>? documentIds)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingSolutionCrawlerService.cs (1)
30
public void Reanalyze(string? workspaceKind, SolutionServices services,
IUnitTestingIncrementalAnalyzer
analyzer, IEnumerable<ProjectId>? projectIds = null, IEnumerable<DocumentId>? documentIds = null)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.AbstractUnitTestingPriorityProcessor.cs (5)
26
private Lazy<ImmutableArray<
IUnitTestingIncrementalAnalyzer
>> _lazyAnalyzers;
31
Lazy<ImmutableArray<
IUnitTestingIncrementalAnalyzer
>> lazyAnalyzers,
42
public ImmutableArray<
IUnitTestingIncrementalAnalyzer
> Analyzers
53
public void AddAnalyzer(
IUnitTestingIncrementalAnalyzer
analyzer)
58
_lazyAnalyzers = new Lazy<ImmutableArray<
IUnitTestingIncrementalAnalyzer
>>(() => analyzers.Add(analyzer));
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (5)
88
public void AddAnalyzer(
IUnitTestingIncrementalAnalyzer
analyzer)
98
public void Reanalyze(
IUnitTestingIncrementalAnalyzer
analyzer, UnitTestingReanalyzeScope scope)
391
private async Task EnqueueWorkItemAsync(
IUnitTestingIncrementalAnalyzer
analyzer, UnitTestingReanalyzeScope scope)
402
IUnitTestingIncrementalAnalyzer
analyzer, Project project, DocumentId documentId, Document? document, UnitTestingInvocationReasons invocationReasons)
497
internal void WaitUntilCompletion(ImmutableArray<
IUnitTestingIncrementalAnalyzer
> workers)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingIncrementalAnalyzerProcessor.cs (13)
57
var lazyAllAnalyzers = new Lazy<ImmutableArray<
IUnitTestingIncrementalAnalyzer
>>(() => GetIncrementalAnalyzers(_registration, analyzersGetter, onlyHighPriorityAnalyzer: false));
66
private static ImmutableArray<
IUnitTestingIncrementalAnalyzer
> GetIncrementalAnalyzers(UnitTestingRegistration registration, UnitTestingAnalyzersGetter analyzersGetter, bool onlyHighPriorityAnalyzer)
85
IUnitTestingIncrementalAnalyzer
analyzer)
97
public ImmutableArray<
IUnitTestingIncrementalAnalyzer
> Analyzers => _normalPriorityProcessor.Analyzers;
120
TextDocument textDocument, ImmutableArray<
IUnitTestingIncrementalAnalyzer
> analyzers, UnitTestingWorkItem workItem, CancellationToken cancellationToken)
148
ImmutableArray<
IUnitTestingIncrementalAnalyzer
> analyzers,
151
Func<
IUnitTestingIncrementalAnalyzer
, T, CancellationToken, Task> runnerAsync,
160
foreach (
var
analyzer in analyzersToExecute)
167
var
local = analyzer;
181
private async Task RunBodyAnalyzersAsync(ImmutableArray<
IUnitTestingIncrementalAnalyzer
> analyzers, UnitTestingWorkItem workItem, Document document, CancellationToken cancellationToken)
269
internal void WaitUntilCompletion(ImmutableArray<
IUnitTestingIncrementalAnalyzer
> analyzers, List<UnitTestingWorkItem> items)
287
private readonly Dictionary<(string workspaceKind, SolutionServices services), ImmutableArray<
IUnitTestingIncrementalAnalyzer
>> _analyzerMap = [];
289
public ImmutableArray<
IUnitTestingIncrementalAnalyzer
> GetOrderedAnalyzers(string workspaceKind, SolutionServices services, bool onlyHighPriorityAnalyzer)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingLowPriorityProcessor.cs (3)
31
Lazy<ImmutableArray<
IUnitTestingIncrementalAnalyzer
>> lazyAnalyzers,
118
private async Task ProcessProjectAsync(ImmutableArray<
IUnitTestingIncrementalAnalyzer
> analyzers, UnitTestingWorkItem workItem, CancellationToken cancellationToken)
195
internal void WaitUntilCompletion(ImmutableArray<
IUnitTestingIncrementalAnalyzer
> analyzers, List<UnitTestingWorkItem> items)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingNormalPriorityProcessor.cs (5)
46
Lazy<ImmutableArray<
IUnitTestingIncrementalAnalyzer
>> lazyAnalyzers,
170
private async Task ProcessDocumentAsync(ImmutableArray<
IUnitTestingIncrementalAnalyzer
> analyzers, UnitTestingWorkItem workItem, CancellationToken cancellationToken)
292
private static async Task RemoveDocumentAsync(ImmutableArray<
IUnitTestingIncrementalAnalyzer
> analyzers, DocumentId documentId, CancellationToken cancellationToken)
294
foreach (
var
analyzer in analyzers)
376
internal void WaitUntilCompletion(ImmutableArray<
IUnitTestingIncrementalAnalyzer
> analyzers, List<UnitTestingWorkItem> items)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingWorkItem.cs (9)
38
public readonly ImmutableHashSet<
IUnitTestingIncrementalAnalyzer
> SpecificAnalyzers;
46
public IEnumerable<
IUnitTestingIncrementalAnalyzer
> GetApplicableAnalyzers(ImmutableArray<
IUnitTestingIncrementalAnalyzer
> allAnalyzers)
62
ImmutableHashSet<
IUnitTestingIncrementalAnalyzer
> specificAnalyzers,
87
public UnitTestingWorkItem(DocumentId documentId, string language, UnitTestingInvocationReasons invocationReasons, bool isLowPriority,
IUnitTestingIncrementalAnalyzer
? analyzer, IAsyncToken asyncToken)
96
private ImmutableHashSet<
IUnitTestingIncrementalAnalyzer
> Union(ImmutableHashSet<
IUnitTestingIncrementalAnalyzer
> analyzers)
120
ImmutableHashSet<
IUnitTestingIncrementalAnalyzer
> analyzers, bool retry, IAsyncToken asyncToken)
159
public UnitTestingWorkItem With(ImmutableHashSet<
IUnitTestingIncrementalAnalyzer
> specificAnalyzers, IAsyncToken asyncToken)