PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection.​Syntax Namespace / ISyntax­Local­Variable Interface / ISyntax­Local­Variable Properties
ISyntaxLocalVariable Properties

The ISyntaxLocalVariable type exposes the following members.

  Name Description
Public property Name
Gets the name of the local variable.
Public property ParentElement
Gets the parent element in the tree.
(Inherited from ISyntaxElement.)
Public property ParentMethodBody
Gets the parent method body.
(Inherited from ISyntaxElement.)
Public property Slot
Gets the ordinal of the local variable.
Public property SyntaxElementKind
Gets the kind of syntax element.
(Inherited from ISyntaxElement.)
Public property VariableType
Gets the type of the local variable.
See Also