1 override of RegisterSyntaxTreeAction
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\DiagnosticStartAnalysisScope.cs (1)
42public override void RegisterSyntaxTreeAction(Action<SyntaxTreeAnalysisContext> action)
14 references to RegisterSyntaxTreeAction
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (1)
352=> context.RegisterSyntaxTreeAction(Analyze);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
CodeFixes\CodeFixServiceTests.cs (1)
557context.RegisterSyntaxTreeAction(c =>
Diagnostics\DiagnosticAnalyzerServiceTests.cs (2)
923context.RegisterSyntaxTreeAction(c => c.ReportDiagnostic(Diagnostic.Create(s_syntaxRule, c.Tree.GetRoot().GetLocation()))); 939context.RegisterSyntaxTreeAction(c => c.ReportDiagnostic(Diagnostic.Create(s_syntaxRule, c.Tree.GetRoot().GetLocation())));
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Diagnostics\PullDiagnosticTests.cs (1)
136context.RegisterSyntaxTreeAction(context =>
Microsoft.CodeAnalysis.Test.Utilities (6)
Diagnostics\CommonDiagnosticAnalyzers.cs (3)
975context.RegisterSyntaxTreeAction(c => ReportDiagnostic(c.ReportDiagnostic, ActionKind.SyntaxTree)); 2598context.RegisterSyntaxTreeAction(context => 3103context.RegisterSyntaxTreeAction(context =>
Diagnostics\SuppressMessageAttributeTests.DiagnosticAnalyzers.cs (2)
202analysisContext.RegisterSyntaxTreeAction( 241analysisContext.RegisterSyntaxTreeAction(
Diagnostics\TestDiagnosticAnalyzer.cs (1)
48context.RegisterSyntaxTreeAction(this.AnalyzeSyntaxTree);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
EditorConfigSettings\DataProvider\DataProviderTests.MockAnalyzerReference.cs (1)
107context.RegisterSyntaxTreeAction(c =>
Roslyn.VisualStudio.Next.UnitTests (2)
Services\VisualStudioDiagnosticAnalyzerExecutorTests.cs (2)
272context.RegisterSyntaxTreeAction(c => 292context.RegisterSyntaxTreeAction(c =>