共用方式為


OperationVisitor<TArgument,TResult>.VisitUnaryOperator Method

Definition

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

Parameters

operation
IUnaryOperation
argument
TArgument

Returns

TResult

Applies to