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