1 override of RegisterSemanticModelAction
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\DiagnosticStartAnalysisScope.cs (1)
159
public override void
RegisterSemanticModelAction
(Action<SemanticModelAnalysisContext> action)
5 references to RegisterSemanticModelAction
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\CompilerDiagnosticAnalyzer.cs (1)
47
c.
RegisterSemanticModelAction
(CompilationAnalyzer.AnalyzeSemanticModel);
Microsoft.CodeAnalysis.Test.Utilities (4)
Diagnostics\CommonDiagnosticAnalyzers.cs (4)
1564
context.
RegisterSemanticModelAction
(context =>
2744
context.
RegisterSemanticModelAction
(semanticModelContext =>
2946
context.
RegisterSemanticModelAction
(context => HandleCallback(context.SemanticModel.SyntaxTree.GetRoot().GetLocation(), context.SemanticModel.Compilation, context.ReportDiagnostic, context.CancellationToken));
3027
context.
RegisterSemanticModelAction
(semanticModelContext => AnalyzedSemanticModels.Add(semanticModelContext.SemanticModel));