CSharpSyntaxVisitor<TResult>.VisitDiscardPattern 方法

定义

访问者访问 DiscardPatternSyntax 节点时调用。

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

参数

返回

TResult

适用于