1 override of RegisterSemanticModelAction
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\DiagnosticStartAnalysisScope.cs (1)
54public override void RegisterSemanticModelAction(Action<SemanticModelAnalysisContext> action)
17 references to RegisterSemanticModelAction
Microsoft.AspNetCore.App.Analyzers (1)
RouteEmbeddedLanguage\RoutePatternAnalyzer.cs (1)
160context.RegisterSemanticModelAction(AnalyzeSemanticModel);
Microsoft.AspNetCore.App.Analyzers.Test (1)
Infrastructure\WellKnownTypesTests.cs (1)
106context.RegisterSemanticModelAction(AnalyzeSemanticModel);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\RemoveUnnecessaryImports\AbstractRemoveUnnecessaryImportsDiagnosticAnalyzer.cs (1)
80context.RegisterSemanticModelAction(AnalyzeSemanticModel);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\RemoveUnreachableCode\CSharpRemoveUnreachableCodeDiagnosticAnalyzer.cs (1)
38=> context.RegisterSemanticModelAction(AnalyzeSemanticModel);
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\RemoveUnreachableCode\CSharpRemoveUnreachableCodeDiagnosticAnalyzer.cs (1)
38=> context.RegisterSemanticModelAction(AnalyzeSemanticModel);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
CodeFixes\CodeFixServiceTests.cs (1)
1198context.RegisterSemanticModelAction(context =>
Diagnostics\DiagnosticAnalyzerServiceTests.cs (2)
924context.RegisterSemanticModelAction(c => c.ReportDiagnostic(Diagnostic.Create(s_semanticRule, c.SemanticModel.SyntaxTree.GetRoot().GetLocation()))); 940context.RegisterSemanticModelAction(c => c.ReportDiagnostic(Diagnostic.Create(s_semanticRule, c.SemanticModel.SyntaxTree.GetRoot().GetLocation())));
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Diagnostics\DiagnosticServiceTests.vb (1)
1670context.RegisterSemanticModelAction(Sub(sm) Return)
Microsoft.CodeAnalysis.Features (4)
EmbeddedLanguages\Json\LanguageServices\AbstractJsonDetectionAnalyzer.cs (1)
44=> context.RegisterSemanticModelAction(Analyze);
EmbeddedLanguages\Json\LanguageServices\AbstractJsonDiagnosticAnalyzer.cs (1)
37=> context.RegisterSemanticModelAction(Analyze);
EmbeddedLanguages\RegularExpressions\LanguageServices\AbstractRegexDiagnosticAnalyzer.cs (1)
38=> context.RegisterSemanticModelAction(Analyze);
src\Analyzers\Core\Analyzers\RemoveUnnecessaryImports\AbstractRemoveUnnecessaryImportsDiagnosticAnalyzer.cs (1)
80context.RegisterSemanticModelAction(AnalyzeSemanticModel);
Microsoft.CodeAnalysis.Test.Utilities (3)
Diagnostics\CommonDiagnosticAnalyzers.cs (2)
1105context.RegisterSemanticModelAction(context => 3119context.RegisterSemanticModelAction(context =>
Diagnostics\TestDiagnosticAnalyzer.cs (1)
45context.RegisterSemanticModelAction(this.AnalyzeSemanticModel);
Microsoft.ML.InternalCodeAnalyzer (1)
BestFriendAnalyzer.cs (1)
45context.RegisterSemanticModelAction(Analyze);