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­Syntax­Element Method

MethodBodyVisitor.VisitSyntaxElement Method

Visits a syntax element and, recursively, all children elements.

Namespace:  PostSharp.Reflection.MethodBody
Assembly:  PostSharp (in PostSharp.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public virtual Object VisitSyntaxElement(
	IMethodBodyElement syntaxElement
)

Parameters

syntaxElement
Type: PostSharp.Reflection.MethodBody.IMethodBodyElement
The element to be visited.

Return Value

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