9 references to ErrorKeyword
Microsoft.CodeAnalysis.CSharp (6)
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)
15938
public new ErrorDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.
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);
Syntax\DirectiveTriviaSyntax.cs (1)
36
return ((ErrorDirectiveTriviaSyntax)this).
ErrorKeyword
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14073
Assert.Equal(SyntaxKind.ErrorKeyword, node.
ErrorKeyword
.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)
187
AddClassification(node.
ErrorKeyword
, ClassificationTypeNames.PreprocessorKeyword);