PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection.​Method­Body Namespace / Method­Body­Visitor Class / Method­Body­Visitor Methods / Method­Body­Visitor.​Visit­Block­Expression Method

MethodBodyVisitor.VisitBlockExpression Method

Visits an instruction block and, recursively, all syntax nodes.

Namespace:  PostSharp.Reflection.MethodBody
Assembly:  PostSharp (in PostSharp.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public virtual Object VisitBlockExpression(
	IBlockExpression instructionBlock
)

Parameters

instructionBlock
Type: PostSharp.Reflection.MethodBody.IBlockExpression
The method body to be visited.

Return Value

Type: Object
instructionBlock, unless the override returns something else.
See Also