PostSharpAPI ReferencePost­Sharp.​Reflection.​Method­BodyILocal­Variable­ExpressionGet­Possible­Assignments
Open sandboxFocus

Method GetPossibleAssignments

GetPossibleAssignments()

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

Declaration
IList<IExpression> GetPossibleAssignments()
Returns
Type Description
IList<IExpression>

List of possible assignments.