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

MethodBodyVisitor.VisitLocalVariable Method

Visits a local variable definition.

Namespace:  PostSharp.Reflection.MethodBody
Assembly:  PostSharp (in PostSharp.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public virtual Object VisitLocalVariable(
	ILocalVariable localVariable
)

Parameters

localVariable
Type: PostSharp.Reflection.MethodBody.ILocalVariable
The local variable to be visited.

Return Value

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