1 type derived from OperationBlockStartAnalysisContext
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\DiagnosticStartAnalysisScope.cs (1)
321internal sealed class AnalyzerOperationBlockStartAnalysisContext : OperationBlockStartAnalysisContext
35 references to OperationBlockStartAnalysisContext
Microsoft.AspNetCore.Analyzers (3)
MiddlewareAnalyzer.cs (1)
20public void AnalyzeConfigureMethod(OperationBlockStartAnalysisContext context)
OptionsAnalyzer.cs (1)
21public void AnalyzeConfigureServices(OperationBlockStartAnalysisContext context)
ServicesAnalyzer.cs (1)
20public void AnalyzeConfigureServices(OperationBlockStartAnalysisContext context)
Microsoft.CodeAnalysis (9)
DiagnosticAnalyzer\DiagnosticAnalysisContext.cs (4)
161public virtual void RegisterOperationBlockStartAction(Action<OperationBlockStartAnalysisContext> action) 416public virtual void RegisterOperationBlockStartAction(Action<OperationBlockStartAnalysisContext> action) 974public abstract void RegisterOperationBlockStartAction(Action<OperationBlockStartAnalysisContext> action); 1223/// An operation block start action can use an <see cref="OperationBlockStartAnalysisContext"/> to register actions to be executed
DiagnosticAnalyzer\DiagnosticAnalyzerAction.cs (2)
73public Action<OperationBlockStartAnalysisContext> Action { get; } 75public OperationBlockStartAnalyzerAction(Action<OperationBlockStartAnalysisContext> action, DiagnosticAnalyzer analyzer)
DiagnosticAnalyzer\DiagnosticStartAnalysisScope.cs (3)
96public override void RegisterOperationBlockStartAction(Action<OperationBlockStartAnalysisContext> action) 195public override void RegisterOperationBlockStartAction(Action<OperationBlockStartAnalysisContext> action) 265public override void RegisterOperationBlockStartAction(Action<OperationBlockStartAnalysisContext> action)
Microsoft.CodeAnalysis.CodeStyle (7)
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (2)
67public static void Analyze(OperationBlockStartAnalysisContext context, SymbolStartAnalyzer symbolStartAnalyzer) 82OperationBlockStartAnalysisContext context,
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.cs (1)
97private void OnOperationBlock(OperationBlockStartAnalysisContext context)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\AnalysisContextExtensions.cs (4)
90/// - <see cref="OperationBlockStartAnalysisContext.FilterSpan"/> is <see langword="null"/> (we are analyzing the entire tree) 92/// - <paramref name="span"/> intersects with <see cref="OperationBlockStartAnalysisContext.FilterSpan"/>. 94public static bool ShouldAnalyzeSpan(this OperationBlockStartAnalysisContext context, TextSpan span) 186public static SyntaxNode GetAnalysisRoot(this OperationBlockStartAnalysisContext context, IOperation operationBlock, bool findInTrivia, bool getInnermostNodeForTie = false)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Semantics\PrimaryConstructorTests.cs (2)
4641private void Handle(OperationBlockStartAnalysisContext context) 4705private void RegisterOperationAction(OperationBlockStartAnalysisContext context)
Semantics\RecordTests.cs (2)
27149private void Handle(OperationBlockStartAnalysisContext context) 27213private void RegisterOperationAction(OperationBlockStartAnalysisContext context)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\TopLevelStatementsTests.cs (3)
6856private void Handle(OperationBlockStartAnalysisContext context) 7344private void Handle1(OperationBlockStartAnalysisContext context) 7411private void Handle1(OperationBlockStartAnalysisContext context)
Microsoft.CodeAnalysis.Features (3)
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (2)
67public static void Analyze(OperationBlockStartAnalysisContext context, SymbolStartAnalyzer symbolStartAnalyzer) 82OperationBlockStartAnalysisContext context,
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.cs (1)
97private void OnOperationBlock(OperationBlockStartAnalysisContext context)
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
2567private void OnOperationBlockStart(OperationBlockStartAnalysisContext context)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\GetDiagnosticsTests.vb (1)
612context.RegisterOperationBlockStartAction(Sub(blockStartContext As OperationBlockStartAnalysisContext)
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\AnalysisContextExtensions.cs (4)
90/// - <see cref="OperationBlockStartAnalysisContext.FilterSpan"/> is <see langword="null"/> (we are analyzing the entire tree) 92/// - <paramref name="span"/> intersects with <see cref="OperationBlockStartAnalysisContext.FilterSpan"/>. 94public static bool ShouldAnalyzeSpan(this OperationBlockStartAnalysisContext context, TextSpan span) 186public static SyntaxNode GetAnalysisRoot(this OperationBlockStartAnalysisContext context, IOperation operationBlock, bool findInTrivia, bool getInnermostNodeForTie = false)