Open sandboxFocus

Method VisitMethodBody

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.