Compartilhar via


CSharpSyntaxVisitor<TResult>.VisitSwitchExpression Method

Definition

Called when the visitor visits a SwitchExpressionSyntax node.

public virtual TResult VisitSwitchExpression (Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax node);
public virtual TResult? VisitSwitchExpression (Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax node);
abstract member VisitSwitchExpression : Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax -> 'Result
override this.VisitSwitchExpression : Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax -> 'Result
Public Overridable Function VisitSwitchExpression (node As SwitchExpressionSyntax) As TResult

Parameters

Returns

TResult

Applies to