22 references to CaseStatement
Microsoft.CodeAnalysis.VisualBasic (22)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
1800VisitStatement(caseBlock.CaseStatement)
Binding\Binder_SelectCase.vb (4)
396Not caseBlock.CaseStatement.Syntax.IsMissing Then 398Dim caseStatement = caseBlock.CaseStatement 584For Each caseClause In caseBlock.CaseStatement.CaseClauses 661For Each caseClause In caseBlock.CaseStatement.CaseClauses
BoundTree\Statement.vb (1)
37Return ImmutableArray.Create(Of BoundNode)(Me.CaseStatement, Me.Body)
CodeGen\EmitStatement.vb (2)
986Dim caseClauses = caseBlock.CaseStatement.CaseClauses 1198Dim caseStatement = caseBlock.CaseStatement
CodeGen\Optimizer\StackScheduler.Analyzer.vb (1)
1049Dim caseStatement As BoundCaseStatement = DirectCast(Me.Visit(node.CaseStatement), BoundCaseStatement)
Generated\BoundNodes.xml.Generated.vb (4)
5046If caseStatement IsNot Me.CaseStatement OrElse body IsNot Me.Body Then 11559Me.Visit(node.CaseStatement) 12587Dim caseStatement As BoundCaseStatement = DirectCast(Me.Visit(node.CaseStatement), BoundCaseStatement) 13887New TreeDumperNode("caseStatement", Nothing, new TreeDumperNode() {Visit(node.CaseStatement, Nothing)}),
Lowering\Instrumentation\DebugInfoInjector.vb (2)
306Return New BoundSequencePoint(original.CaseStatement.Syntax, MyBase.InstrumentCaseBlockConditionalGoto(original, condGoto)) 310Return New BoundSequencePoint(original.CaseStatement.Syntax, MyBase.InstrumentCaseElseBlock(original, rewritten))
Lowering\LocalRewriter\LocalRewriter_SelectCase.vb (4)
273Dim rewrittenCaseCondition As BoundExpression = RewriteCaseStatement(generateUnstructuredExceptionHandlingResumeCode, curCaseBlock.CaseStatement, unstructuredExceptionHandlingResumeTarget) 286Debug.Assert(Not curCaseBlock.CaseStatement.CaseClauses.Any()) 353For Each caseClause In caseBlock.CaseStatement.CaseClauses 394Return rewritten.Update(rewritten.CaseStatement, rewrittenBody)
Lowering\SyntheticBoundNodeFactory.vb (1)
708For Each l As BoundSimpleCaseClause In s.CaseStatement.CaseClauses
Operations\VisualBasicOperationFactory.vb (2)
1085Dim caseStatement = boundCaseBlock.CaseStatement 1103Return Create(boundCaseBlock.CaseStatement.ConditionOpt)