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