22 references to AnalyzerActions
Microsoft.CodeAnalysis (22)
DiagnosticAnalyzer\AnalyzerDriver.cs (22)
183
/// <seealso cref="
AnalyzerActions
"/>
387
/// Initializes the <see cref="
AnalyzerActions
"/> and related actions maps for the analyzer driver.
425
_lazySymbolActionsByKind = MakeSymbolActionsByKind(in
AnalyzerActions
);
426
_lazySemanticModelActions = MakeActionsByAnalyzer(
AnalyzerActions
.SemanticModelActions);
427
_lazySyntaxTreeActions = MakeActionsByAnalyzer(
AnalyzerActions
.SyntaxTreeActions);
428
_lazyAdditionalFileActions = MakeActionsByAnalyzer(
AnalyzerActions
.AdditionalFileActions);
429
_lazyCompilationActions = MakeActionsByAnalyzer(this.
AnalyzerActions
.CompilationActions);
430
_lazyCompilationEndActions = MakeActionsByAnalyzer(this.
AnalyzerActions
.CompilationEndActions);
433
if (this.
AnalyzerActions
.SymbolStartActionsCount > 0)
553
foreach (var action in this.
AnalyzerActions
.SymbolStartActions)
1661
if (
AnalyzerActions
.SymbolStartActionsCount > 0)
1687
if (
AnalyzerActions
.SymbolStartActionsCount == 0 || symbol.IsImplicitlyDeclared)
1760
var hasPerSymbolActions =
AnalyzerActions
.SymbolStartActionsCount > 0 && (!skipSymbolAnalysis || !skipDeclarationAnalysis);
1817
Debug.Assert(
AnalyzerActions
.SymbolStartActionsCount > 0);
2051
if (this.
AnalyzerActions
.SymbolStartActionsCount == 0)
2067
foreach (var action in this.
AnalyzerActions
.SymbolStartActions)
2082
foreach (var action in this.
AnalyzerActions
.SymbolStartActions)
2111
if (
AnalyzerActions
.SymbolStartActionsCount == 0 || symbol.IsImplicitlyDeclared)
2144
Debug.Assert(
AnalyzerActions
.SymbolStartActionsCount > 0);
2433
if (
AnalyzerActions
.IsEmpty)
2440
return GroupedAnalyzerActions.Create(analyzers,
AnalyzerActions
);
2504
AnalyzerActions
, additionalPerSymbolActions.AnalyzerActions, symbol,