9 references to WarningKeyword
Microsoft.CodeAnalysis.CSharp (6)
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)
15987
public new WarningDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.
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);
Syntax\DirectiveTriviaSyntax.cs (1)
38
return ((WarningDirectiveTriviaSyntax)this).
WarningKeyword
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14086
Assert.Equal(SyntaxKind.WarningKeyword, node.
WarningKeyword
.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)
194
AddClassification(node.
WarningKeyword
, ClassificationTypeNames.PreprocessorKeyword);