MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​Reflection.​Method­BodyIMethod­Body­Service
Open sandboxFocus

IMethodBodyService Interface

The source code of method bodies and expression bodies is not represented in the high-level API of Metalama. If you need to access source code from an aspect, you must implement a service using Metalama SDK.

Namespace: PostSharp.Reflection.MethodBody
Assembly: Metalama.Migration.dll
public interface IMethodBodyService : IService


Name Description
GetMethodBody(MethodBase, MethodBodyAbstractionLevel)

See Also