PostSharp4.3//API Reference/Post­Sharp.​Reflection.​Syntax Namespace/Syntax­Tree­Visitor Class/Syntax­Tree­Visitor Methods/Syntax­Tree­Visitor.​Visit­Local­Variable Method
SyntaxTreeVisitor.VisitLocalVariable Method
Visits a local variable definition.

Namespace: PostSharp.Reflection.Syntax
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public virtual Object VisitLocalVariable(
	ISyntaxLocalVariable localVariable
)

Parameters

localVariable
Type: PostSharp.Reflection.Syntax.ISyntaxLocalVariable
The local variable to be visited.

Return Value

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