PostSharp4.3/API Reference/Post­Sharp.​Reflection.​Syntax Namespace/ISyntax­Method­Body Interface
ISyntaxMethodBody Interface
Represents the body of a method.

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

The ISyntaxMethodBody type exposes the following members.

Properties
  NameDescription
Public propertyMethod
Gets the method whose body is represented by the current object.
Public propertyParentElement
Gets the parent element in the tree.
(Inherited from ISyntaxElement.)
Public propertyParentMethodBody
Gets the parent method body.
(Inherited from ISyntaxElement.)
Public propertyRootBlock
Gets the root instruction block of the method.
Public propertySyntaxElementKind
Gets the kind of syntax element.
(Inherited from ISyntaxElement.)
See Also