Delen via


OperationVisitor<TArgument,TResult>.VisitDiscardPattern Method

Definition

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

Parameters

argument
TArgument

Returns

TResult

Applies to