MethodBodyVisitor.VisitMethodBody Method |
Visits a method body and, recursively, all syntax nodes.
Namespace: PostSharp.Reflection.MethodBody
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public virtual Object VisitMethodBody( IMethodBody methodBody )
Parameters
- methodBody
- Type: PostSharp.Reflection.MethodBody.IMethodBody
The method body to be visited.
Return Value
Type: ObjectmethodBody, unless the override returns something else.