CompilationUnitSyntax.WithEndOfFileToken(SyntaxToken) 方法

定义

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::CompilationUnitSyntax ^ WithEndOfFileToken(Microsoft::CodeAnalysis::SyntaxToken endOfFileToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax WithEndOfFileToken (Microsoft.CodeAnalysis.SyntaxToken endOfFileToken);
member this.WithEndOfFileToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax
Public Function WithEndOfFileToken (endOfFileToken As SyntaxToken) As CompilationUnitSyntax

参数

endOfFileToken
SyntaxToken

返回

适用于