1 override of RegisterCodeBlockAction
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\DiagnosticStartAnalysisScope.cs (1)
78public override void RegisterCodeBlockAction(Action<CodeBlockAnalysisContext> action)
12 references to RegisterCodeBlockAction
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
771context.RegisterCodeBlockAction(OnCodeBlockEnded);
Semantics\PrimaryConstructorTests.cs (2)
4818context.RegisterCodeBlockAction(Handle); 5837context.RegisterCodeBlockAction(Handle);
Semantics\RecordTests.cs (1)
27281context.RegisterCodeBlockAction(Handle);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\RecordStructTests.cs (1)
6563context.RegisterCodeBlockAction(Handle);
Semantics\TopLevelStatementsTests.cs (1)
6911context.RegisterCodeBlockAction(Handle);
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (2)
Diagnostics\DiagnosticServiceTests.vb (2)
1692context.RegisterCodeBlockAction(AddressOf AnalyzeCodeBlock) 1819context.RegisterCodeBlockAction(AddressOf OnCodeBlockEnded)
Microsoft.CodeAnalysis.Test.Utilities (3)
Diagnostics\CommonDiagnosticAnalyzers.cs (2)
608context.RegisterCodeBlockAction(codeBlockContext => 3210context.RegisterCodeBlockAction(context =>
Diagnostics\TestDiagnosticAnalyzer.cs (1)
46context.RegisterCodeBlockAction(this.AnalyzeCodeBlock);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.vb (1)
408context.RegisterCodeBlockAction(AddressOf OnCodeBlock)