共用方式為


CSharpSyntaxRewriter.VisitDiscardPattern(DiscardPatternSyntax) 方法

定義

public override Microsoft.CodeAnalysis.SyntaxNode VisitDiscardPattern (Microsoft.CodeAnalysis.CSharp.Syntax.DiscardPatternSyntax node);
public override Microsoft.CodeAnalysis.SyntaxNode? VisitDiscardPattern (Microsoft.CodeAnalysis.CSharp.Syntax.DiscardPatternSyntax node);
override this.VisitDiscardPattern : Microsoft.CodeAnalysis.CSharp.Syntax.DiscardPatternSyntax -> Microsoft.CodeAnalysis.SyntaxNode
Public Overrides Function VisitDiscardPattern (node As DiscardPatternSyntax) As SyntaxNode

參數

傳回

適用於