28 references to SymbolDeclaredCompilationEvent
Microsoft.CodeAnalysis (28)
DiagnosticAnalyzer\AnalysisScope.cs (2)
213
public static bool ShouldSkipSymbolAnalysis(
SymbolDeclaredCompilationEvent
symbolEvent)
237
SymbolDeclaredCompilationEvent
symbolEvent,
DiagnosticAnalyzer\AnalyzerActionCounts.cs (1)
186
/// such as <see cref="
SymbolDeclaredCompilationEvent
"/>, <see cref="CompilationUnitCompletedEvent"/>, etc.
DiagnosticAnalyzer\AnalyzerDriver.cs (9)
1660
case
SymbolDeclaredCompilationEvent
symbolDeclaredEvent:
1708
analysisScope.OriginalFilterFile?.SourceTree, analysisScope.OriginalFilterSpan, cancellationToken, out
var
processedContainerEvent))
1724
case
SymbolDeclaredCompilationEvent
symbolEvent:
1753
private async ValueTask<EventProcessedState> TryProcessSymbolDeclaredAsync(
SymbolDeclaredCompilationEvent
symbolEvent, AnalysisScope analysisScope, CancellationToken cancellationToken)
1786
private void ExecuteSymbolActions(
SymbolDeclaredCompilationEvent
symbolEvent, AnalysisScope analysisScope, bool isGeneratedCodeSymbol, CancellationToken cancellationToken)
1811
SymbolDeclaredCompilationEvent
symbolEvent,
1892
SymbolDeclaredCompilationEvent
symbolEvent,
2495
SymbolDeclaredCompilationEvent
symbolEvent,
2569
SymbolDeclaredCompilationEvent
symbolEvent,
DiagnosticAnalyzer\AnalyzerExecutor.cs (4)
356
SymbolDeclaredCompilationEvent
symbolDeclaredEvent,
417
[NotNullWhen(returnValue: true)] out
SymbolDeclaredCompilationEvent
? containingSymbolDeclaredEvent)
448
SymbolDeclaredCompilationEvent
symbolDeclaredEvent,
465
SymbolDeclaredCompilationEvent
symbolDeclaredEvent,
DiagnosticAnalyzer\AnalyzerManager.AnalyzerExecutionContext.cs (6)
38
private Dictionary<ISymbol, (ImmutableArray<SymbolEndAnalyzerAction>,
SymbolDeclaredCompilationEvent
)>? _lazyPendingSymbolEndActionsMap;
405
out (ImmutableArray<SymbolEndAnalyzerAction> symbolEndActions,
SymbolDeclaredCompilationEvent
symbolDeclaredEvent) containerEndActionsAndEvent)
432
public bool TryStartExecuteSymbolEndActions(ImmutableArray<SymbolEndAnalyzerAction> symbolEndActions,
SymbolDeclaredCompilationEvent
symbolDeclaredEvent)
463
public void MarkSymbolEndAnalysisPending(ISymbol symbol, ImmutableArray<SymbolEndAnalyzerAction> symbolEndActions,
SymbolDeclaredCompilationEvent
symbolDeclaredEvent)
471
private void MarkSymbolEndAnalysisPending_NoLock(ISymbol symbol, ImmutableArray<SymbolEndAnalyzerAction> symbolEndActions,
SymbolDeclaredCompilationEvent
symbolDeclaredEvent)
473
_lazyPendingSymbolEndActionsMap ??= new Dictionary<ISymbol, (ImmutableArray<SymbolEndAnalyzerAction>,
SymbolDeclaredCompilationEvent
)>();
DiagnosticAnalyzer\AnalyzerManager.cs (3)
468
out (ImmutableArray<SymbolEndAnalyzerAction> symbolEndActions,
SymbolDeclaredCompilationEvent
symbolDeclaredEvent) containerEndActionsAndEvent)
473
public bool TryStartExecuteSymbolEndActions(ImmutableArray<SymbolEndAnalyzerAction> symbolEndActions, DiagnosticAnalyzer analyzer,
SymbolDeclaredCompilationEvent
symbolDeclaredEvent)
482
SymbolDeclaredCompilationEvent
symbolDeclaredEvent)
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (3)
775
if (compilationEvents.Any(e => e is
SymbolDeclaredCompilationEvent
) &&
905
if (compilationEvent is
SymbolDeclaredCompilationEvent
symbolDeclaredEvent &&
1086
case
SymbolDeclaredCompilationEvent
symbolDeclaredCompilationEvent: