Base:
property
HashToken
Microsoft.CodeAnalysis.CSharp.Syntax.DirectiveTriviaSyntax.HashToken
8 references to HashToken
Microsoft.CodeAnalysis.CSharp (5)
Syntax.xml.Main.Generated.cs (1)
2203
=> node.Update(VisitToken(node.
HashToken
), VisitToken(node.ErrorKeyword), VisitToken(node.EndOfDirectiveToken), node.IsActive);
Syntax.xml.Syntax.Generated.cs (4)
15927
if (hashToken != this.
HashToken
|| errorKeyword != this.ErrorKeyword || endOfDirectiveToken != this.EndOfDirectiveToken)
15939
public ErrorDirectiveTriviaSyntax WithErrorKeyword(SyntaxToken errorKeyword) => Update(this.
HashToken
, errorKeyword, this.EndOfDirectiveToken, this.IsActive);
15941
public new ErrorDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.
HashToken
, this.ErrorKeyword, endOfDirectiveToken, this.IsActive);
15942
public ErrorDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.
HashToken
, this.ErrorKeyword, this.EndOfDirectiveToken, isActive);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14072
Assert.Equal(SyntaxKind.HashToken, node.
HashToken
.Kind());
14076
var newNode = node.WithHashToken(node.
HashToken
).WithErrorKeyword(node.ErrorKeyword).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
186
AddClassification(node.
HashToken
, ClassificationTypeNames.PreprocessorKeyword);