PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection.​Method­Body Namespace / IMethod­Body Interface / IMethod­Body Properties

IMethodBody Properties

The IMethodBody type exposes the following members.

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