Share via


DiscardPatternSyntax.WithUnderscoreToken(SyntaxToken) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.DiscardPatternSyntax WithUnderscoreToken (Microsoft.CodeAnalysis.SyntaxToken underscoreToken);
member this.WithUnderscoreToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.DiscardPatternSyntax
Public Function WithUnderscoreToken (underscoreToken As SyntaxToken) As DiscardPatternSyntax

Parameters

underscoreToken
SyntaxToken

Returns

Applies to