OperationVisitor<TArgument,TResult>.VisitSwitchExpression Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- operation
- ISwitchExpressionOperation
- argument
- TArgument
Returns
TResult