PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection.​Method­Body Namespace / ILocal­Variable Interface / ILocal­Variable Properties

ILocalVariable Properties

The ILocalVariable type exposes the following members.

Properties
  NameDescription
Public propertyMethodBodyElementKind
Gets the kind of syntax element.
(Inherited from IMethodBodyElement.)
Public propertyName
Gets the name of the local variable.
Public propertyParentElement
Gets the parent element in the tree.
(Inherited from IMethodBodyElement.)
Public propertyParentMethodBody
Gets the parent method body.
(Inherited from IMethodBodyElement.)
Public propertySlot
Gets the ordinal of the local variable.
Public propertyVariableType
Gets the type of the local variable.
See Also