PostSharp4.3/API Reference/Post­Sharp.​Reflection.​Syntax Namespace/ISyntax­Reflection­Service Interface
ISyntaxReflectionService Interface
Service that exposes the method GetMethodBody(MethodBase, SyntaxAbstractionLevel), which allows to decompile a method and get a AST representation.

Namespace: PostSharp.Reflection.Syntax
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public interface ISyntaxReflectionService : IService

The ISyntaxReflectionService type exposes the following members.

Methods
  NameDescription
Public methodGetMethodBody
Decompiles a method and gets an AST representation of it.
Remarks
See Also