10 references to ReferenceKeyword
Microsoft.CodeAnalysis.CSharp (7)
Syntax.xml.Main.Generated.cs (1)
2233
=> node.Update(VisitToken(node.HashToken), VisitToken(node.
ReferenceKeyword
), VisitToken(node.File), VisitToken(node.EndOfDirectiveToken), node.IsActive);
Syntax.xml.Syntax.Generated.cs (5)
16529
if (hashToken != this.HashToken || referenceKeyword != this.
ReferenceKeyword
|| file != this.File || endOfDirectiveToken != this.EndOfDirectiveToken)
16540
public new ReferenceDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.
ReferenceKeyword
, this.File, this.EndOfDirectiveToken, this.IsActive);
16542
public ReferenceDirectiveTriviaSyntax WithFile(SyntaxToken file) => Update(this.HashToken, this.
ReferenceKeyword
, file, this.EndOfDirectiveToken, this.IsActive);
16544
public new ReferenceDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.
ReferenceKeyword
, this.File, endOfDirectiveToken, this.IsActive);
16545
public ReferenceDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.
ReferenceKeyword
, this.File, this.EndOfDirectiveToken, isActive);
Syntax\DirectiveTriviaSyntax.cs (1)
54
return ((ReferenceDirectiveTriviaSyntax)this).
ReferenceKeyword
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14220
Assert.Equal(SyntaxKind.ReferenceKeyword, node.
ReferenceKeyword
.Kind());
14224
var newNode = node.WithHashToken(node.HashToken).WithReferenceKeyword(node.
ReferenceKeyword
).WithFile(node.File).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
318
AddClassification(node.
ReferenceKeyword
, ClassificationTypeNames.PreprocessorKeyword);