10 references to UndefKeyword
Microsoft.CodeAnalysis.CSharp (7)
Syntax.xml.Main.Generated.cs (1)
2215
=> node.Update(VisitToken(node.HashToken), VisitToken(node.
UndefKeyword
), VisitToken(node.Name), VisitToken(node.EndOfDirectiveToken), node.IsActive);
Syntax.xml.Syntax.Generated.cs (5)
16128
if (hashToken != this.HashToken || undefKeyword != this.
UndefKeyword
|| name != this.Name || endOfDirectiveToken != this.EndOfDirectiveToken)
16139
public new UndefDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.
UndefKeyword
, this.Name, this.EndOfDirectiveToken, this.IsActive);
16141
public UndefDirectiveTriviaSyntax WithName(SyntaxToken name) => Update(this.HashToken, this.
UndefKeyword
, name, this.EndOfDirectiveToken, this.IsActive);
16143
public new UndefDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.
UndefKeyword
, this.Name, endOfDirectiveToken, this.IsActive);
16144
public UndefDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.
UndefKeyword
, this.Name, this.EndOfDirectiveToken, isActive);
Syntax\DirectiveTriviaSyntax.cs (1)
44
return ((UndefDirectiveTriviaSyntax)this).
UndefKeyword
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14126
Assert.Equal(SyntaxKind.UndefKeyword, node.
UndefKeyword
.Kind());
14130
var newNode = node.WithHashToken(node.HashToken).WithUndefKeyword(node.
UndefKeyword
).WithName(node.Name).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
223
AddClassification(node.
UndefKeyword
, ClassificationTypeNames.PreprocessorKeyword);