Share via


OperationBlockStartAnalysisContext.RegisterOperationBlockEndAction Method

Definition

Register an action to be executed at the end of semantic analysis of a method body or an expression appearing outside a method body. A code block end action reports Diagnostics about code blocks.

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

Parameters

action
Action<OperationBlockAnalysisContext>

Action to be executed at the end of semantic analysis of a code block.

Applies to