PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection.​Method­Body Namespace / Method­Body­Visitor Class / Method­Body­Visitor Methods / Method­Body­Visitor.​Visit­Variable­Expression Method

MethodBodyVisitor.VisitVariableExpression Method

Visits an expression of type ILocalVariableExpression.

Namespace:  PostSharp.Reflection.MethodBody
Assembly:  PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public virtual Object VisitVariableExpression(
	ILocalVariableExpression expression
)

Parameters

expression
Type: PostSharp.Reflection.MethodBody.ILocalVariableExpression
The element to be visited.

Return Value

Type: Object
expression, unless the override returns something else.
See Also