9 references to RegionKeyword
Microsoft.CodeAnalysis.CSharp (6)
Syntax.xml.Main.Generated.cs (1)
2197
=> node.Update(VisitToken(node.HashToken), VisitToken(node.
RegionKeyword
), VisitToken(node.EndOfDirectiveToken), node.IsActive);
Syntax.xml.Syntax.Generated.cs (4)
15829
if (hashToken != this.HashToken || regionKeyword != this.
RegionKeyword
|| endOfDirectiveToken != this.EndOfDirectiveToken)
15840
public new RegionDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.
RegionKeyword
, this.EndOfDirectiveToken, this.IsActive);
15843
public new RegionDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.
RegionKeyword
, endOfDirectiveToken, this.IsActive);
15844
public RegionDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.
RegionKeyword
, this.EndOfDirectiveToken, isActive);
Syntax\DirectiveTriviaSyntax.cs (1)
32
return ((RegionDirectiveTriviaSyntax)this).
RegionKeyword
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14047
Assert.Equal(SyntaxKind.RegionKeyword, node.
RegionKeyword
.Kind());
14050
var newNode = node.WithHashToken(node.HashToken).WithRegionKeyword(node.
RegionKeyword
).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
201
AddClassification(node.
RegionKeyword
, ClassificationTypeNames.PreprocessorKeyword);