PostSharp.ILAPI ReferencePost­Sharp.​Reflection.​Method­BodyMethod­Body­VisitorVisit­Method­Body
Open sandboxFocus

MethodBodyVisitor.VisitMethodBody Method

VisitMethodBody(IMethodBody)

Visits a method body and, recursively, all syntax nodes.

Declaration
public virtual object VisitMethodBody(IMethodBody methodBody)
Parameters
Type Name Description
IMethodBody methodBody

The method body to be visited.

Returns
Type Description
Object

methodBody, unless the override returns something else.