Udostępnij za pośrednictwem


CSharpSyntaxVisitor<TResult>.VisitDiscardPattern Method

Definition

Called when the visitor visits a DiscardPatternSyntax node.

public virtual TResult VisitDiscardPattern (Microsoft.CodeAnalysis.CSharp.Syntax.DiscardPatternSyntax node);
public virtual TResult? VisitDiscardPattern (Microsoft.CodeAnalysis.CSharp.Syntax.DiscardPatternSyntax node);
abstract member VisitDiscardPattern : Microsoft.CodeAnalysis.CSharp.Syntax.DiscardPatternSyntax -> 'Result
override this.VisitDiscardPattern : Microsoft.CodeAnalysis.CSharp.Syntax.DiscardPatternSyntax -> 'Result
Public Overridable Function VisitDiscardPattern (node As DiscardPatternSyntax) As TResult

Parameters

Returns

TResult

Applies to