MethodBodyVisitor.VisitSyntaxElement Method |
Visits a syntax element and, recursively, all children elements.
Namespace: PostSharp.Reflection.MethodBody
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public virtual Object VisitSyntaxElement( IMethodBodyElement syntaxElement )
Parameters
- syntaxElement
- Type: PostSharp.Reflection.MethodBody.IMethodBodyElement
The element to be visited.
Return Value
Type: ObjectsyntaxElement, unless the override returns something else.