OperationBlockStartAnalysisContext.RegisterOperationBlockEndAction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.