4 instantiations of SelectStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (4)
Generated\Syntax.xml.Internal.Generated.vb (1)
15516Return new Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectStatementSyntax(Me, parent, startLocation)
Generated\Syntax.xml.Main.Generated.vb (2)
3254Return New SelectStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newSelectKeyword, newCaseKeyword, newExpression) 15838Return New SelectStatementSyntax(SyntaxKind.SelectStatement, Nothing, Nothing, DirectCast(selectKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(caseKeyword.Node, InternalSyntax.KeywordSyntax), expression)
Generated\Syntax.xml.Syntax.Generated.vb (1)
16984Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.SelectStatementSyntax(kind, errors, annotations, selectKeyword, caseKeyword, DirectCast(expression.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.ExpressionSyntax)), Nothing, 0)
39 references to SelectStatementSyntax
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\ControlFlowGraphVerifier.cs (2)
665if (syntax.Parent is VisualBasic.Syntax.SelectStatementSyntax switchStmt && switchStmt.Expression == syntax) 1293if (((VisualBasic.Syntax.SelectStatementSyntax)parent).Expression == syntax)
Microsoft.CodeAnalysis.VisualBasic (19)
Generated\Syntax.xml.Main.Generated.vb (9)
317Public Overridable Function VisitSelectStatement(ByVal node As SelectStatementSyntax) As TResult 1052Public Overridable Sub VisitSelectStatement(ByVal node As SelectStatementSyntax) 3229Dim newSelectStatement = DirectCast(Visit(node.SelectStatement), SelectStatementSyntax) 3243Public Overrides Function VisitSelectStatement(ByVal node As SelectStatementSyntax) As SyntaxNode 15659Public Shared Function SelectBlock(selectStatement As SelectStatementSyntax, caseBlocks As SyntaxList(of CaseBlockSyntax), endSelectStatement As EndBlockStatementSyntax) As SelectBlockSyntax 15690Public Shared Function SelectBlock(selectStatement As SelectStatementSyntax, caseBlocks As SyntaxList(of CaseBlockSyntax)) As SelectBlockSyntax 15702Public Shared Function SelectBlock(selectStatement As SelectStatementSyntax) As SelectBlockSyntax 15720Public Shared Function SelectStatement(selectKeyword As SyntaxToken, caseKeyword As SyntaxToken, expression As ExpressionSyntax) As SelectStatementSyntax 15849Public Shared Function SelectStatement(expression As ExpressionSyntax) As SelectStatementSyntax
Generated\Syntax.xml.Syntax.Generated.vb (9)
16824Friend _selectStatement as SelectStatementSyntax 16834Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), selectStatement As SelectStatementSyntax, caseBlocks As SyntaxNode, endSelectStatement As EndBlockStatementSyntax) 16841Public ReadOnly Property SelectStatement As SelectStatementSyntax 16852Public Shadows Function WithSelectStatement(selectStatement as SelectStatementSyntax) As SelectBlockSyntax 16948Public Function Update(selectStatement As SelectStatementSyntax, caseBlocks As SyntaxList(of CaseBlockSyntax), endSelectStatement As EndBlockStatementSyntax) As SelectBlockSyntax 17001Public Shadows Function WithSelectKeyword(selectKeyword as SyntaxToken) As SelectStatementSyntax 17026Public Shadows Function WithCaseKeyword(caseKeyword as SyntaxToken) As SelectStatementSyntax 17044Public Shadows Function WithExpression(expression as ExpressionSyntax) As SelectStatementSyntax 17088Public Function Update(selectKeyword As SyntaxToken, caseKeyword As SyntaxToken, expression As ExpressionSyntax) As SelectStatementSyntax
Syntax\SyntaxNormalizer.vb (1)
1334Public Overrides Function VisitSelectStatement(node As SelectStatementSyntax) As SyntaxNode
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
ElasticTriviaFormattingRule.vb (1)
315IsBeginStatement(Of SelectStatementSyntax, SelectBlockSyntax)(currentStatement) OrElse
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (5)
SyntaxTreeExtensions.vb (2)
421targetToken.IsChildToken(Of SelectStatementSyntax)(Function(selectStatement) selectStatement.SelectKeyword) OrElse 422targetToken.IsChildToken(Of SelectStatementSyntax)(Function(selectStatement) selectStatement.CaseKeyword) OrElse
VisualBasicTypeInferenceService.TypeInferrer.vb (3)
93Function(switchStatement As SelectStatementSyntax) InferTypeInSelectStatement(switchStatement), 167Function(switchStatement As SelectStatementSyntax) InferTypeInSelectStatement(switchStatement), 797Private Function InferTypeInSelectStatement(switchStatementSyntax As SelectStatementSyntax) As IEnumerable(Of TypeInferenceInfo)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
EndConstructGeneration\EndConstructStatementVisitor.vb (1)
157Public Overrides Function VisitSelectStatement(node As SelectStatementSyntax) As AbstractEndConstructResult
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
FlowAnalysis\RegionAnalysisTests.vb (2)
5169Dim stmtSyntaxNode = DirectCast(tree.GetCompilationUnitRoot().FindToken(tree.GetRoot.ToFullString().IndexOf("Select Case 1 + 2 + 3", StringComparison.Ordinal)).Parent, SelectStatementSyntax) 5193Dim selectSyntaxNode = DirectCast(tree.GetCompilationUnitRoot().FindToken(tree.GetRoot.ToFullString().IndexOf("Select Case 1 + 2 + 3", StringComparison.Ordinal)).Parent, SelectStatementSyntax)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
12784Private Shared Function GenerateRedSelectStatement() As SelectStatementSyntax
Microsoft.CodeAnalysis.VisualBasic.Workspaces (8)
CodeCleanup\Providers\AddMissingTokensCodeCleanupProvider.vb (2)
411Public Overrides Function VisitSelectStatement(node As SelectStatementSyntax) As SyntaxNode 412Dim newNode = DirectCast(MyBase.VisitSelectStatement(node), SelectStatementSyntax)
Formatting\Rules\ElasticTriviaFormattingRule.vb (1)
315IsBeginStatement(Of SelectStatementSyntax, SelectBlockSyntax)(currentStatement) OrElse
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (2)
421targetToken.IsChildToken(Of SelectStatementSyntax)(Function(selectStatement) selectStatement.SelectKeyword) OrElse 422targetToken.IsChildToken(Of SelectStatementSyntax)(Function(selectStatement) selectStatement.CaseKeyword) OrElse
VisualBasicTypeInferenceService.TypeInferrer.vb (3)
93Function(switchStatement As SelectStatementSyntax) InferTypeInSelectStatement(switchStatement), 167Function(switchStatement As SelectStatementSyntax) InferTypeInSelectStatement(switchStatement), 797Private Function InferTypeInSelectStatement(switchStatementSyntax As SelectStatementSyntax) As IEnumerable(Of TypeInferenceInfo)