10 references to EndIfKeyword
Microsoft.CodeAnalysis.CSharp (7)
Syntax.xml.Main.Generated.cs (1)
2194
=> node.Update(VisitToken(node.HashToken), VisitToken(node.
EndIfKeyword
), VisitToken(node.EndOfDirectiveToken), node.IsActive);
Syntax.xml.Syntax.Generated.cs (4)
15780
if (hashToken != this.HashToken || endIfKeyword != this.
EndIfKeyword
|| endOfDirectiveToken != this.EndOfDirectiveToken)
15791
public new EndIfDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.
EndIfKeyword
, this.EndOfDirectiveToken, this.IsActive);
15794
public new EndIfDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.
EndIfKeyword
, endOfDirectiveToken, this.IsActive);
15795
public EndIfDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.
EndIfKeyword
, this.EndOfDirectiveToken, isActive);
Syntax\CSharpSyntaxTree.cs (1)
271
positions.Add(((EndIfDirectiveTriviaSyntax)directive).
EndIfKeyword
.SpanStart);
Syntax\DirectiveTriviaSyntax.cs (1)
30
return ((EndIfDirectiveTriviaSyntax)this).
EndIfKeyword
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14034
Assert.Equal(SyntaxKind.EndIfKeyword, node.
EndIfKeyword
.Kind());
14037
var newNode = node.WithHashToken(node.HashToken).WithEndIfKeyword(node.
EndIfKeyword
).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
180
AddClassification(node.
EndIfKeyword
, ClassificationTypeNames.PreprocessorKeyword);