Base:
property
HashToken
Microsoft.CodeAnalysis.CSharp.Syntax.DirectiveTriviaSyntax.HashToken
10 references to HashToken
Microsoft.CodeAnalysis.CSharp (7)
Syntax.xml.Main.Generated.cs (1)
2218
=> node.Update(VisitToken(node.
HashToken
), VisitToken(node.LineKeyword), VisitToken(node.Line), VisitToken(node.File), VisitToken(node.EndOfDirectiveToken), node.IsActive);
Syntax.xml.Syntax.Generated.cs (6)
16208
if (hashToken != this.
HashToken
|| lineKeyword != this.LineKeyword || line != this.Line || file != this.File || endOfDirectiveToken != this.EndOfDirectiveToken)
16221
public new LineDirectiveTriviaSyntax WithLineKeyword(SyntaxToken lineKeyword) => Update(this.
HashToken
, lineKeyword, this.Line, this.File, this.EndOfDirectiveToken, this.IsActive);
16222
public LineDirectiveTriviaSyntax WithLine(SyntaxToken line) => Update(this.
HashToken
, this.LineKeyword, line, this.File, this.EndOfDirectiveToken, this.IsActive);
16224
public new LineDirectiveTriviaSyntax WithFile(SyntaxToken file) => Update(this.
HashToken
, this.LineKeyword, this.Line, file, this.EndOfDirectiveToken, this.IsActive);
16226
public new LineDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.
HashToken
, this.LineKeyword, this.Line, this.File, endOfDirectiveToken, this.IsActive);
16227
public LineDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.
HashToken
, this.LineKeyword, this.Line, this.File, this.EndOfDirectiveToken, isActive);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14139
Assert.Equal(SyntaxKind.HashToken, node.
HashToken
.Kind());
14145
var newNode = node.WithHashToken(node.
HashToken
).WithLineKeyword(node.LineKeyword).WithLine(node.Line).WithFile(node.File).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
237
AddClassification(node.
HashToken
, ClassificationTypeNames.PreprocessorKeyword);