9 references to ElseKeyword
Microsoft.CodeAnalysis.CSharp (8)
_generated\0\Syntax.xml.Main.Generated.cs (1)
2203=> node.Update(VisitToken(node.HashToken), VisitToken(node.ElseKeyword), VisitToken(node.EndOfDirectiveToken), node.IsActive, node.BranchTaken);
_generated\2\Syntax.xml.Syntax.Generated.cs (5)
15780if (hashToken != this.HashToken || elseKeyword != this.ElseKeyword || endOfDirectiveToken != this.EndOfDirectiveToken) 15791public new ElseDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.ElseKeyword, this.EndOfDirectiveToken, this.IsActive, this.BranchTaken); 15794public new ElseDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.ElseKeyword, endOfDirectiveToken, this.IsActive, this.BranchTaken); 15795public ElseDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.ElseKeyword, this.EndOfDirectiveToken, isActive, this.BranchTaken); 15796public ElseDirectiveTriviaSyntax WithBranchTaken(bool branchTaken) => Update(this.HashToken, this.ElseKeyword, this.EndOfDirectiveToken, this.IsActive, branchTaken);
Syntax\CSharpSyntaxTree.cs (1)
266positions.Add(((ElseDirectiveTriviaSyntax)directive).ElseKeyword.SpanStart);
Syntax\DirectiveTriviaSyntax.cs (1)
28return ((ElseDirectiveTriviaSyntax)this).ElseKeyword;
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
174AddClassification(node.ElseKeyword, ClassificationTypeNames.PreprocessorKeyword);