Open sandboxFocus

Interface IMethodBodyService

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
Syntax
[Obsolete("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.", true)]
public interface IMethodBodyService : IService

Methods

Name Description
GetMethodBody(MethodBase, MethodBodyAbstractionLevel)

See Also