Base:
property
EndOfDirectiveToken
Microsoft.CodeAnalysis.CSharp.Syntax.DirectiveTriviaSyntax.EndOfDirectiveToken
9 references to EndOfDirectiveToken
Microsoft.CodeAnalysis.CSharp (6)
Syntax.xml.Main.Generated.cs (1)
2239
=> node.Update(VisitToken(node.HashToken), VisitToken(node.ExclamationToken), VisitToken(node.
EndOfDirectiveToken
), node.IsActive);
Syntax.xml.Syntax.Generated.cs (4)
16631
if (hashToken != this.HashToken || exclamationToken != this.ExclamationToken || endOfDirectiveToken != this.
EndOfDirectiveToken
)
16642
public new ShebangDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.ExclamationToken, this.
EndOfDirectiveToken
, this.IsActive);
16643
public ShebangDirectiveTriviaSyntax WithExclamationToken(SyntaxToken exclamationToken) => Update(this.HashToken, exclamationToken, this.
EndOfDirectiveToken
, this.IsActive);
16646
public ShebangDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.ExclamationToken, this.
EndOfDirectiveToken
, isActive);
Syntax\ShebangDirectiveTriviaSyntax.cs (1)
15
var token = InternalSyntax.SyntaxToken.StringLiteral(this.
EndOfDirectiveToken
.LeadingTrivia.ToString());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Generated\Syntax.Test.xml.Generated.cs (2)
14249
Assert.Equal(SyntaxKind.EndOfDirectiveToken, node.
EndOfDirectiveToken
.Kind());
14251
var newNode = node.WithHashToken(node.HashToken).WithExclamationToken(node.ExclamationToken).WithEndOfDirectiveToken(node.
EndOfDirectiveToken
).WithIsActive(node.IsActive);
Parsing\ScriptParsingTests.cs (1)
10252
var endOfDirective = shebang.
EndOfDirectiveToken
;