4 instantiations of SwitchStatementSyntax
Microsoft.CodeAnalysis.CSharp (4)
_generated\1\Syntax.xml.Internal.Generated.cs (4)
13983
=> new
SwitchStatementSyntax
(this.Kind, this.attributeLists, this.switchKeyword, this.openParenToken, this.expression, this.closeParenToken, this.openBraceToken, this.sections, this.closeBraceToken, diagnostics, GetAnnotations());
13986
=> new
SwitchStatementSyntax
(this.Kind, this.attributeLists, this.switchKeyword, this.openParenToken, this.expression, this.closeParenToken, this.openBraceToken, this.sections, this.closeBraceToken, GetDiagnostics(), annotations);
31716
return new
SwitchStatementSyntax
(SyntaxKind.SwitchStatement, attributeLists.Node, switchKeyword, openParenToken, expression, closeParenToken, openBraceToken, sections.Node, closeBraceToken, this.context);
37138
return new
SwitchStatementSyntax
(SyntaxKind.SwitchStatement, attributeLists.Node, switchKeyword, openParenToken, expression, closeParenToken, openBraceToken, sections.Node, closeBraceToken);
13 references to SwitchStatementSyntax
Microsoft.CodeAnalysis.CSharp (13)
_generated\1\Syntax.xml.Internal.Generated.cs (7)
13965
public
SwitchStatementSyntax
Update(CoreSyntax.SyntaxList<AttributeListSyntax> attributeLists, SyntaxToken switchKeyword, SyntaxToken openParenToken, ExpressionSyntax expression, SyntaxToken closeParenToken, SyntaxToken openBraceToken, CoreSyntax.SyntaxList<SwitchSectionSyntax> sections, SyntaxToken closeBraceToken)
13969
var
newNode = SyntaxFactory.SwitchStatement(attributeLists, switchKeyword, openParenToken, expression, closeParenToken, openBraceToken, sections, closeBraceToken);
27556
public virtual TResult VisitSwitchStatement(
SwitchStatementSyntax
node) => this.DefaultVisit(node);
27810
public virtual void VisitSwitchStatement(
SwitchStatementSyntax
node) => this.DefaultVisit(node);
28344
public override CSharpSyntaxNode VisitSwitchStatement(
SwitchStatementSyntax
node)
31686
public
SwitchStatementSyntax
SwitchStatement(CoreSyntax.SyntaxList<AttributeListSyntax> attributeLists, SyntaxToken switchKeyword, SyntaxToken? openParenToken, ExpressionSyntax expression, SyntaxToken? closeParenToken, SyntaxToken openBraceToken, CoreSyntax.SyntaxList<SwitchSectionSyntax> sections, SyntaxToken closeBraceToken)
37108
public static
SwitchStatementSyntax
SwitchStatement(CoreSyntax.SyntaxList<AttributeListSyntax> attributeLists, SyntaxToken switchKeyword, SyntaxToken? openParenToken, ExpressionSyntax expression, SyntaxToken? closeParenToken, SyntaxToken openBraceToken, CoreSyntax.SyntaxList<SwitchSectionSyntax> sections, SyntaxToken closeBraceToken)
_generated\2\Syntax.xml.Syntax.Generated.cs (5)
8604
public SyntaxToken SwitchKeyword => new SyntaxToken(this, ((InternalSyntax.
SwitchStatementSyntax
)this.Green).switchKeyword, GetChildPosition(1), GetChildIndex(1));
8613
var slot = ((Syntax.InternalSyntax.
SwitchStatementSyntax
)this.Green).openParenToken;
8630
var slot = ((Syntax.InternalSyntax.
SwitchStatementSyntax
)this.Green).closeParenToken;
8638
public SyntaxToken OpenBraceToken => new SyntaxToken(this, ((InternalSyntax.
SwitchStatementSyntax
)this.Green).openBraceToken, GetChildPosition(5), GetChildIndex(5));
8648
public SyntaxToken CloseBraceToken => new SyntaxToken(this, ((InternalSyntax.
SwitchStatementSyntax
)this.Green).closeBraceToken, GetChildPosition(7), GetChildIndex(7));
Parser\LanguageParser.cs (1)
10224
private
SwitchStatementSyntax
ParseSwitchStatement(SyntaxList<AttributeListSyntax> attributes)