共用方式為


OperationVisitor<TArgument,TResult>.VisitMethodBodyOperation Method

Definition

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

Parameters

argument
TArgument

Returns

TResult

Applies to