9 references to Identifier
Microsoft.CodeAnalysis.CSharp (6)
Syntax.xml.Main.Generated.cs (1)
2209
=> node.Update(VisitToken(node.HashToken), VisitToken(node.
Identifier
), VisitToken(node.EndOfDirectiveToken), node.IsActive);
Syntax.xml.Syntax.Generated.cs (4)
16025
if (hashToken != this.HashToken || identifier != this.
Identifier
|| endOfDirectiveToken != this.EndOfDirectiveToken)
16036
public new BadDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.
Identifier
, this.EndOfDirectiveToken, this.IsActive);
16039
public new BadDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.
Identifier
, endOfDirectiveToken, this.IsActive);
16040
public BadDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.
Identifier
, this.EndOfDirectiveToken, isActive);
Syntax\DirectiveTriviaSyntax.cs (1)
40
return ((BadDirectiveTriviaSyntax)this).
Identifier
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14099
Assert.Equal(SyntaxKind.IdentifierToken, node.
Identifier
.Kind());
14102
var newNode = node.WithHashToken(node.HashToken).WithIdentifier(node.
Identifier
).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
231
AddClassification(node.
Identifier
, ClassificationTypeNames.PreprocessorKeyword);