1 override of RegisterSemanticModelAction
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\DiagnosticStartAnalysisScope.cs (1)
54public override void RegisterSemanticModelAction(Action<SemanticModelAnalysisContext> action)
12 references to RegisterSemanticModelAction
Microsoft.CodeAnalysis.CodeStyle (1)
AbstractRemoveUnnecessaryImportsDiagnosticAnalyzer.cs (1)
56context.RegisterSemanticModelAction(AnalyzeSemanticModel);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpRemoveUnreachableCodeDiagnosticAnalyzer.cs (1)
38=> context.RegisterSemanticModelAction(AnalyzeSemanticModel);
Microsoft.CodeAnalysis.CSharp.Features (1)
CSharpRemoveUnreachableCodeDiagnosticAnalyzer.cs (1)
38=> context.RegisterSemanticModelAction(AnalyzeSemanticModel);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (2)
1254context.RegisterSemanticModelAction(c => c.ReportDiagnostic(Diagnostic.Create(s_semanticRule, c.SemanticModel.SyntaxTree.GetRoot().GetLocation()))); 1270context.RegisterSemanticModelAction(c => c.ReportDiagnostic(Diagnostic.Create(s_semanticRule, c.SemanticModel.SyntaxTree.GetRoot().GetLocation())));
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Diagnostics\DiagnosticServiceTests.vb (1)
1703context.RegisterSemanticModelAction(Sub(sm) Return)
Microsoft.CodeAnalysis.Features (4)
AbstractRemoveUnnecessaryImportsDiagnosticAnalyzer.cs (1)
56context.RegisterSemanticModelAction(AnalyzeSemanticModel);
EmbeddedLanguages\Json\LanguageServices\AbstractJsonDetectionAnalyzer.cs (1)
45=> context.RegisterSemanticModelAction(Analyze);
EmbeddedLanguages\Json\LanguageServices\AbstractJsonDiagnosticAnalyzer.cs (1)
39=> context.RegisterSemanticModelAction(Analyze);
EmbeddedLanguages\RegularExpressions\LanguageServices\AbstractRegexDiagnosticAnalyzer.cs (1)
38=> context.RegisterSemanticModelAction(Analyze);
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\TestDiagnosticAnalyzer.cs (1)
45context.RegisterSemanticModelAction(this.AnalyzeSemanticModel);
Microsoft.CodeAnalysis.UnitTests (1)
Diagnostics\AnalysisContextInfoTests.cs (1)
78c.RegisterSemanticModelAction(b => ThrowIfMatch(nameof(c.RegisterSemanticModelAction), new AnalysisContextInfo(b.SemanticModel)));