PostSharp4.3//API Reference/Post­Sharp.​Reflection.​Syntax Namespace/Syntax­Tree­Visitor Class/Syntax­Tree­Visitor Methods/Syntax­Tree­Visitor.​Visit­Syntax­Element Method
SyntaxTreeVisitor.VisitSyntaxElement Method
Visits a syntax element and, recursively, all children elements.

Namespace: PostSharp.Reflection.Syntax
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public virtual Object VisitSyntaxElement(
	ISyntaxElement syntaxElement
)

Parameters

syntaxElement
Type: PostSharp.Reflection.Syntax.ISyntaxElement
The element to be visited.

Return Value

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