共用方式為


OperationVisitor<TArgument,TResult>.VisitSwitchExpression Method

Definition

public virtual TResult VisitSwitchExpression (Microsoft.CodeAnalysis.Operations.ISwitchExpressionOperation operation, TArgument argument);
public virtual TResult? VisitSwitchExpression (Microsoft.CodeAnalysis.Operations.ISwitchExpressionOperation operation, TArgument argument);
abstract member VisitSwitchExpression : Microsoft.CodeAnalysis.Operations.ISwitchExpressionOperation * 'Argument -> 'Result
override this.VisitSwitchExpression : Microsoft.CodeAnalysis.Operations.ISwitchExpressionOperation * 'Argument -> 'Result
Public Overridable Function VisitSwitchExpression (operation As ISwitchExpressionOperation, argument As TArgument) As TResult

Parameters

argument
TArgument

Returns

TResult

Applies to