PostSharpAPI ReferencePost­Sharp.​Reflection.​Method­BodyILocal­Variable­Expression
Open sandboxFocus

ILocalVariableExpression Interface

Expression that represents a local variable.

Namespace: PostSharp.Reflection.MethodBody
Assembly: PostSharp.dll
Syntax
public interface ILocalVariableExpression : IExpression, IMethodBodyElement

Properties

Name Description
LocalVariable

Gets the local variable.

TrivialValue

Gets the value of the ILocalVariable at this specific point of the program execution, in case this value can be determined trivially.

Methods

Name Description
GetPossibleAssignments()

Returns an array of all possible assignments of the ILocalVariable at this specific point of the program execution.