Base:
property
EndOfDirectiveToken
Microsoft.CodeAnalysis.CSharp.Syntax.DirectiveTriviaSyntax.EndOfDirectiveToken
10 references to EndOfDirectiveToken
Microsoft.CodeAnalysis.CSharp (6)
Syntax.xml.Main.Generated.cs (1)
2242
=> node.Update(VisitToken(node.HashToken), VisitToken(node.ColonToken), VisitToken(node.Content), VisitToken(node.
EndOfDirectiveToken
), node.IsActive);
Syntax.xml.Syntax.Generated.cs (5)
16689
if (hashToken != this.HashToken || colonToken != this.ColonToken || content != this.Content || endOfDirectiveToken != this.
EndOfDirectiveToken
)
16700
public new IgnoredDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.ColonToken, this.Content, this.
EndOfDirectiveToken
, this.IsActive);
16701
public IgnoredDirectiveTriviaSyntax WithColonToken(SyntaxToken colonToken) => Update(this.HashToken, colonToken, this.Content, this.
EndOfDirectiveToken
, this.IsActive);
16702
public IgnoredDirectiveTriviaSyntax WithContent(SyntaxToken content) => Update(this.HashToken, this.ColonToken, content, this.
EndOfDirectiveToken
, this.IsActive);
16705
public IgnoredDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.ColonToken, this.Content, this.
EndOfDirectiveToken
, isActive);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Generated\Syntax.Test.xml.Generated.cs (2)
14263
Assert.Equal(SyntaxKind.EndOfDirectiveToken, node.
EndOfDirectiveToken
.Kind());
14265
var newNode = node.WithHashToken(node.HashToken).WithColonToken(node.ColonToken).WithContent(node.Content).WithEndOfDirectiveToken(node.
EndOfDirectiveToken
).WithIsActive(node.IsActive);
Parsing\IgnoredDirectiveParsingTests.cs (2)
127
Assert.Empty(structure.
EndOfDirectiveToken
.GetLeadingTrivia());
149
Assert.Empty(structure.
EndOfDirectiveToken
.GetLeadingTrivia());