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­Method­Body Method

MethodBodyVisitor.VisitMethodBody Method

Visits a method body 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 VisitMethodBody(
	IMethodBody methodBody
)

Parameters

methodBody
Type: PostSharp.Reflection.MethodBody.IMethodBody
The method body to be visited.

Return Value

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