SymbolStartAnalysisContext.RegisterOperationBlockStartAction Method

Definition

Register an action to be executed at the start of semantic analysis of a method body or an expression appearing outside a method body. An operation block start action can register other actions and/or collect state information to be used in diagnostic analysis, but cannot itself report any Diagnostics.

public abstract void RegisterOperationBlockStartAction (Action<Microsoft.CodeAnalysis.Diagnostics.OperationBlockStartAnalysisContext> action);
abstract member RegisterOperationBlockStartAction : Action<Microsoft.CodeAnalysis.Diagnostics.OperationBlockStartAnalysisContext> -> unit
Public MustOverride Sub RegisterOperationBlockStartAction (action As Action(Of OperationBlockStartAnalysisContext))

Parameters

action
Action<OperationBlockStartAnalysisContext>

Action to be executed at the start of semantic analysis of an operation block.

Applies to