Base:
property
HashToken
Microsoft.CodeAnalysis.CSharp.Syntax.DirectiveTriviaSyntax.HashToken
9 references to HashToken
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)
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);
16704
public new IgnoredDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.
HashToken
, this.ColonToken, this.Content, endOfDirectiveToken, this.IsActive);
16705
public IgnoredDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.
HashToken
, this.ColonToken, this.Content, this.EndOfDirectiveToken, isActive);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14260
Assert.Equal(SyntaxKind.HashToken, node.
HashToken
.Kind());
14265
var newNode = node.WithHashToken(node.
HashToken
).WithColonToken(node.ColonToken).WithContent(node.Content).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
333
AddClassification(node.
HashToken
, ClassificationTypeNames.PreprocessorKeyword);