Base:
property
EndOfDirectiveToken
Microsoft.CodeAnalysis.CSharp.Syntax.DirectiveTriviaSyntax.EndOfDirectiveToken
7 references to EndOfDirectiveToken
Microsoft.CodeAnalysis.CSharp (5)
Syntax.xml.Main.Generated.cs (1)
2194
=> node.Update(VisitToken(node.HashToken), VisitToken(node.EndIfKeyword), VisitToken(node.
EndOfDirectiveToken
), node.IsActive);
Syntax.xml.Syntax.Generated.cs (4)
15780
if (hashToken != this.HashToken || endIfKeyword != this.EndIfKeyword || endOfDirectiveToken != this.
EndOfDirectiveToken
)
15791
public new EndIfDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.EndIfKeyword, this.
EndOfDirectiveToken
, this.IsActive);
15792
public EndIfDirectiveTriviaSyntax WithEndIfKeyword(SyntaxToken endIfKeyword) => Update(this.HashToken, endIfKeyword, this.
EndOfDirectiveToken
, this.IsActive);
15795
public EndIfDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.EndIfKeyword, this.
EndOfDirectiveToken
, isActive);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14035
Assert.Equal(SyntaxKind.EndOfDirectiveToken, node.
EndOfDirectiveToken
.Kind());
14037
var newNode = node.WithHashToken(node.HashToken).WithEndIfKeyword(node.EndIfKeyword).WithEndOfDirectiveToken(node.
EndOfDirectiveToken
).WithIsActive(node.IsActive);