Base:
property
EndOfDirectiveToken
Microsoft.CodeAnalysis.CSharp.Syntax.DirectiveTriviaSyntax.EndOfDirectiveToken
8 references to EndOfDirectiveToken
Microsoft.CodeAnalysis.CSharp (6)
Syntax.xml.Main.Generated.cs (1)
2233
=> node.Update(VisitToken(node.HashToken), VisitToken(node.ReferenceKeyword), VisitToken(node.File), VisitToken(node.
EndOfDirectiveToken
), node.IsActive);
Syntax.xml.Syntax.Generated.cs (5)
16529
if (hashToken != this.HashToken || referenceKeyword != this.ReferenceKeyword || file != this.File || endOfDirectiveToken != this.
EndOfDirectiveToken
)
16540
public new ReferenceDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.ReferenceKeyword, this.File, this.
EndOfDirectiveToken
, this.IsActive);
16541
public ReferenceDirectiveTriviaSyntax WithReferenceKeyword(SyntaxToken referenceKeyword) => Update(this.HashToken, referenceKeyword, this.File, this.
EndOfDirectiveToken
, this.IsActive);
16542
public ReferenceDirectiveTriviaSyntax WithFile(SyntaxToken file) => Update(this.HashToken, this.ReferenceKeyword, file, this.
EndOfDirectiveToken
, this.IsActive);
16545
public ReferenceDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.ReferenceKeyword, this.File, this.
EndOfDirectiveToken
, isActive);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14222
Assert.Equal(SyntaxKind.EndOfDirectiveToken, node.
EndOfDirectiveToken
.Kind());
14224
var newNode = node.WithHashToken(node.HashToken).WithReferenceKeyword(node.ReferenceKeyword).WithFile(node.File).WithEndOfDirectiveToken(node.
EndOfDirectiveToken
).WithIsActive(node.IsActive);