PostSharp4.3//API Reference/Post­Sharp.​Reflection.​Syntax Namespace/Syntax­Tree­Visitor Class/Syntax­Tree­Visitor Methods/Syntax­Tree­Visitor.​Visit­Method­Body Method
SyntaxTreeVisitor.VisitMethodBody Method
Visits a method body and, recursively, all syntax nodes.

Namespace: PostSharp.Reflection.Syntax
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public virtual Object VisitMethodBody(
	ISyntaxMethodBody methodBody
)

Parameters

methodBody
Type: PostSharp.Reflection.Syntax.ISyntaxMethodBody
The method body to be visited.

Return Value

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