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); 31716return new SwitchStatementSyntax(SyntaxKind.SwitchStatement, attributeLists.Node, switchKeyword, openParenToken, expression, closeParenToken, openBraceToken, sections.Node, closeBraceToken, this.context); 37138return 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)
13965public SwitchStatementSyntax Update(CoreSyntax.SyntaxList<AttributeListSyntax> attributeLists, SyntaxToken switchKeyword, SyntaxToken openParenToken, ExpressionSyntax expression, SyntaxToken closeParenToken, SyntaxToken openBraceToken, CoreSyntax.SyntaxList<SwitchSectionSyntax> sections, SyntaxToken closeBraceToken) 13969var newNode = SyntaxFactory.SwitchStatement(attributeLists, switchKeyword, openParenToken, expression, closeParenToken, openBraceToken, sections, closeBraceToken); 27556public virtual TResult VisitSwitchStatement(SwitchStatementSyntax node) => this.DefaultVisit(node); 27810public virtual void VisitSwitchStatement(SwitchStatementSyntax node) => this.DefaultVisit(node); 28344public override CSharpSyntaxNode VisitSwitchStatement(SwitchStatementSyntax node) 31686public SwitchStatementSyntax SwitchStatement(CoreSyntax.SyntaxList<AttributeListSyntax> attributeLists, SyntaxToken switchKeyword, SyntaxToken? openParenToken, ExpressionSyntax expression, SyntaxToken? closeParenToken, SyntaxToken openBraceToken, CoreSyntax.SyntaxList<SwitchSectionSyntax> sections, SyntaxToken closeBraceToken) 37108public 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)
8604public SyntaxToken SwitchKeyword => new SyntaxToken(this, ((InternalSyntax.SwitchStatementSyntax)this.Green).switchKeyword, GetChildPosition(1), GetChildIndex(1)); 8613var slot = ((Syntax.InternalSyntax.SwitchStatementSyntax)this.Green).openParenToken; 8630var slot = ((Syntax.InternalSyntax.SwitchStatementSyntax)this.Green).closeParenToken; 8638public SyntaxToken OpenBraceToken => new SyntaxToken(this, ((InternalSyntax.SwitchStatementSyntax)this.Green).openBraceToken, GetChildPosition(5), GetChildIndex(5)); 8648public SyntaxToken CloseBraceToken => new SyntaxToken(this, ((InternalSyntax.SwitchStatementSyntax)this.Green).closeBraceToken, GetChildPosition(7), GetChildIndex(7));
Parser\LanguageParser.cs (1)
10224private SwitchStatementSyntax ParseSwitchStatement(SyntaxList<AttributeListSyntax> attributes)