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

ILocalVariable.Slot Property

Gets the ordinal of the local variable.

Namespace:  PostSharp.Reflection.MethodBody
Assembly:  PostSharp (in PostSharp.dll) Version: 6.10.10.0 (6.10.10.0)
Syntax
C#
Nullable<int> Slot { get; }

Property Value

Type: Nullable<Int32>
Remarks
Several local variables may be assigned the same slot if they are used in different scopes.
See Also