Share via


EndIfDirectiveTriviaSyntax.WithEndOfDirectiveToken(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::EndIfDirectiveTriviaSyntax ^ WithEndOfDirectiveToken(Microsoft::CodeAnalysis::SyntaxToken endOfDirectiveToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.EndIfDirectiveTriviaSyntax WithEndOfDirectiveToken (Microsoft.CodeAnalysis.SyntaxToken endOfDirectiveToken);
override this.WithEndOfDirectiveToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.EndIfDirectiveTriviaSyntax
Public Function WithEndOfDirectiveToken (endOfDirectiveToken As SyntaxToken) As EndIfDirectiveTriviaSyntax

Parameters

endOfDirectiveToken
SyntaxToken

Returns

Applies to