Base:
property
HashToken
Microsoft.CodeAnalysis.CSharp.Syntax.DirectiveTriviaSyntax.HashToken
9 references to HashToken
Microsoft.CodeAnalysis.CSharp (6)
Syntax.xml.Main.Generated.cs (1)
2236
=> node.Update(VisitToken(node.
HashToken
), VisitToken(node.LoadKeyword), VisitToken(node.File), VisitToken(node.EndOfDirectiveToken), node.IsActive);
Syntax.xml.Syntax.Generated.cs (5)
16581
if (hashToken != this.
HashToken
|| loadKeyword != this.LoadKeyword || file != this.File || endOfDirectiveToken != this.EndOfDirectiveToken)
16593
public LoadDirectiveTriviaSyntax WithLoadKeyword(SyntaxToken loadKeyword) => Update(this.
HashToken
, loadKeyword, this.File, this.EndOfDirectiveToken, this.IsActive);
16594
public LoadDirectiveTriviaSyntax WithFile(SyntaxToken file) => Update(this.
HashToken
, this.LoadKeyword, file, this.EndOfDirectiveToken, this.IsActive);
16596
public new LoadDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.
HashToken
, this.LoadKeyword, this.File, endOfDirectiveToken, this.IsActive);
16597
public LoadDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.
HashToken
, this.LoadKeyword, this.File, this.EndOfDirectiveToken, isActive);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14233
Assert.Equal(SyntaxKind.HashToken, node.
HashToken
.Kind());
14238
var newNode = node.WithHashToken(node.
HashToken
).WithLoadKeyword(node.LoadKeyword).WithFile(node.File).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
325
AddClassification(node.
HashToken
, ClassificationTypeNames.PreprocessorKeyword);