11 references to ElseKeyword
Microsoft.CodeAnalysis.CSharp (8)
Syntax.xml.Main.Generated.cs (1)
2191
=> node.Update(VisitToken(node.HashToken), VisitToken(node.
ElseKeyword
), VisitToken(node.EndOfDirectiveToken), node.IsActive, node.BranchTaken);
Syntax.xml.Syntax.Generated.cs (5)
15730
if (hashToken != this.HashToken || elseKeyword != this.
ElseKeyword
|| endOfDirectiveToken != this.EndOfDirectiveToken)
15741
public new ElseDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.
ElseKeyword
, this.EndOfDirectiveToken, this.IsActive, this.BranchTaken);
15744
public new ElseDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.
ElseKeyword
, endOfDirectiveToken, this.IsActive, this.BranchTaken);
15745
public ElseDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.
ElseKeyword
, this.EndOfDirectiveToken, isActive, this.BranchTaken);
15746
public ElseDirectiveTriviaSyntax WithBranchTaken(bool branchTaken) => Update(this.HashToken, this.
ElseKeyword
, this.EndOfDirectiveToken, this.IsActive, branchTaken);
Syntax\CSharpSyntaxTree.cs (1)
266
positions.Add(((ElseDirectiveTriviaSyntax)directive).
ElseKeyword
.SpanStart);
Syntax\DirectiveTriviaSyntax.cs (1)
28
return ((ElseDirectiveTriviaSyntax)this).
ElseKeyword
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14020
Assert.Equal(SyntaxKind.ElseKeyword, node.
ElseKeyword
.Kind());
14024
var newNode = node.WithHashToken(node.HashToken).WithElseKeyword(node.
ElseKeyword
).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive).WithBranchTaken(node.BranchTaken);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
173
AddClassification(node.
ElseKeyword
, ClassificationTypeNames.PreprocessorKeyword);