3 instantiations of EventProcessedState
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\AnalyzerDriver.EventProcessedState.cs (3)
16
public static readonly EventProcessedState Processed = new
EventProcessedState
(EventProcessedStateKind.Processed);
17
public static readonly EventProcessedState NotProcessed = new
EventProcessedState
(EventProcessedStateKind.NotProcessed);
41
return new
EventProcessedState
(subsetProcessedAnalyzers);
13 references to EventProcessedState
Microsoft.CodeAnalysis (13)
DiagnosticAnalyzer\AnalyzerDriver.cs (10)
1636
EventProcessedState
eventProcessedState = await TryProcessEventCoreAsync(e, analysisScope, cancellationToken).ConfigureAwait(false);
1718
private async ValueTask<
EventProcessedState
> TryProcessEventCoreAsync(CompilationEvent compilationEvent, AnalysisScope analysisScope, CancellationToken cancellationToken)
1729
return
EventProcessedState
.Processed;
1733
return
EventProcessedState
.Processed;
1737
return
EventProcessedState
.Processed;
1748
/// <see cref="
EventProcessedState
"/> indicating the current state of processing of the given compilation event.
1753
private async ValueTask<
EventProcessedState
> TryProcessSymbolDeclaredAsync(SymbolDeclaredCompilationEvent symbolEvent, AnalysisScope analysisScope, CancellationToken cancellationToken)
1780
return subsetProcessedAnalyzers.IsEmpty ?
EventProcessedState
.NotProcessed :
EventProcessedState
.CreatePartiallyProcessed(subsetProcessedAnalyzers);
1783
return
EventProcessedState
.Processed;
DiagnosticAnalyzer\AnalyzerDriver.EventProcessedState.cs (3)
16
public static readonly
EventProcessedState
Processed = new EventProcessedState(EventProcessedStateKind.Processed);
17
public static readonly
EventProcessedState
NotProcessed = new EventProcessedState(EventProcessedStateKind.NotProcessed);
39
public static
EventProcessedState
CreatePartiallyProcessed(ImmutableArray<DiagnosticAnalyzer> subsetProcessedAnalyzers)