Base:
property
EndOfDirectiveToken
Microsoft.CodeAnalysis.CSharp.Syntax.DirectiveTriviaSyntax.EndOfDirectiveToken
7 references to EndOfDirectiveToken
Microsoft.CodeAnalysis.CSharp (5)
Syntax.xml.Main.Generated.cs (1)
2206
=> node.Update(VisitToken(node.HashToken), VisitToken(node.WarningKeyword), VisitToken(node.
EndOfDirectiveToken
), node.IsActive);
Syntax.xml.Syntax.Generated.cs (4)
15976
if (hashToken != this.HashToken || warningKeyword != this.WarningKeyword || endOfDirectiveToken != this.
EndOfDirectiveToken
)
15987
public new WarningDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.WarningKeyword, this.
EndOfDirectiveToken
, this.IsActive);
15988
public WarningDirectiveTriviaSyntax WithWarningKeyword(SyntaxToken warningKeyword) => Update(this.HashToken, warningKeyword, this.
EndOfDirectiveToken
, this.IsActive);
15991
public WarningDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.WarningKeyword, this.
EndOfDirectiveToken
, isActive);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14087
Assert.Equal(SyntaxKind.EndOfDirectiveToken, node.
EndOfDirectiveToken
.Kind());
14089
var newNode = node.WithHashToken(node.HashToken).WithWarningKeyword(node.WarningKeyword).WithEndOfDirectiveToken(node.
EndOfDirectiveToken
).WithIsActive(node.IsActive);