PostSharp4.3//API Reference/Post­Sharp.​Reflection.​Syntax Namespace/Syntax­Tree­Visitor Class/Syntax­Tree­Visitor Methods/Syntax­Tree­Visitor.​Visit­Switch­Expression Method
SyntaxTreeVisitor.VisitSwitchExpression Method
Visits an expression of type ISwitchExpression 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 VisitSwitchExpression(
	ISwitchExpression expression
)

Parameters

expression
Type: PostSharp.Reflection.Syntax.ISwitchExpression
The element to be visited.

Return Value

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