CaseSwitchLabelSyntax
csharp
public sealed class CaseSwitchLabelSyntaxRepresents a case label within a switch statement.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
This node is associated with the following syntax kinds:
CaseSwitchLabel
Fields and properties (3)
public SyntaxToken Keywordpublic ExpressionSyntax ValueGets an ExpressionSyntax that represents the constant expression that gets matched for the case label.
public SyntaxToken ColonToken
Methods (7)
public override SyntaxNode? GetSlot(int index)public override void Accept(SyntaxVisitor visitor)public override TResult Accept<TResult>(SyntaxVisitor<TResult> visitor)public CaseSwitchLabelSyntax Update(SyntaxToken keyword, ExpressionSyntax value, SyntaxToken colonToken)public CaseSwitchLabelSyntax WithKeyword(SyntaxToken keyword)public CaseSwitchLabelSyntax WithValue(ExpressionSyntax value)public CaseSwitchLabelSyntax WithColonToken(SyntaxToken colonToken)
Used by (6)
- BinderVixen.Raven
- CaseSwitchLabelSyntaxVixen.Raven
- SyntaxFactoryVixen.Raven
- SyntaxRewriterVixen.Raven
- SyntaxVisitorVixen.Raven
- SyntaxVisitorVixen.Raven