10 references to LoadKeyword
Microsoft.CodeAnalysis.CSharp (7)
Syntax.xml.Main.Generated.cs (1)
2236
=> node.Update(VisitToken(node.HashToken), VisitToken(node.
LoadKeyword
), VisitToken(node.File), VisitToken(node.EndOfDirectiveToken), node.IsActive);
Syntax.xml.Syntax.Generated.cs (5)
16581
if (hashToken != this.HashToken || loadKeyword != this.
LoadKeyword
|| file != this.File || endOfDirectiveToken != this.EndOfDirectiveToken)
16592
public new LoadDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.
LoadKeyword
, this.File, this.EndOfDirectiveToken, this.IsActive);
16594
public LoadDirectiveTriviaSyntax WithFile(SyntaxToken file) => Update(this.HashToken, this.
LoadKeyword
, file, this.EndOfDirectiveToken, this.IsActive);
16596
public new LoadDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.
LoadKeyword
, this.File, endOfDirectiveToken, this.IsActive);
16597
public LoadDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.
LoadKeyword
, this.File, this.EndOfDirectiveToken, isActive);
Syntax\DirectiveTriviaSyntax.cs (1)
56
return ((LoadDirectiveTriviaSyntax)this).
LoadKeyword
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14234
Assert.Equal(SyntaxKind.LoadKeyword, node.
LoadKeyword
.Kind());
14238
var newNode = node.WithHashToken(node.HashToken).WithLoadKeyword(node.
LoadKeyword
).WithFile(node.File).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
326
AddClassification(node.
LoadKeyword
, ClassificationTypeNames.PreprocessorKeyword);