Base:
property
HashToken
Microsoft.CodeAnalysis.CSharp.Syntax.DirectiveTriviaSyntax.HashToken
8 references to HashToken
Microsoft.CodeAnalysis.CSharp (5)
Syntax.xml.Main.Generated.cs (1)
2206
=> node.Update(VisitToken(node.
HashToken
), VisitToken(node.WarningKeyword), VisitToken(node.EndOfDirectiveToken), node.IsActive);
Syntax.xml.Syntax.Generated.cs (4)
15976
if (hashToken != this.
HashToken
|| warningKeyword != this.WarningKeyword || endOfDirectiveToken != this.EndOfDirectiveToken)
15988
public WarningDirectiveTriviaSyntax WithWarningKeyword(SyntaxToken warningKeyword) => Update(this.
HashToken
, warningKeyword, this.EndOfDirectiveToken, this.IsActive);
15990
public new WarningDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.
HashToken
, this.WarningKeyword, endOfDirectiveToken, this.IsActive);
15991
public WarningDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.
HashToken
, this.WarningKeyword, this.EndOfDirectiveToken, isActive);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14085
Assert.Equal(SyntaxKind.HashToken, node.
HashToken
.Kind());
14089
var newNode = node.WithHashToken(node.
HashToken
).WithWarningKeyword(node.WarningKeyword).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
193
AddClassification(node.
HashToken
, ClassificationTypeNames.PreprocessorKeyword);