16 references to CaseStatement
Microsoft.CodeAnalysis.VisualBasic (16)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
1816VisitStatement(caseBlock.CaseStatement)
BoundTree\Statement.vb (1)
37Return ImmutableArray.Create(Of BoundNode)(Me.CaseStatement, Me.Body)
CodeGen\EmitStatement.vb (2)
986Dim caseClauses = caseBlock.CaseStatement.CaseClauses 1197Dim 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)
5065If caseStatement IsNot Me.CaseStatement OrElse body IsNot Me.Body Then 11593Me.Visit(node.CaseStatement) 12621Dim caseStatement As BoundCaseStatement = DirectCast(Me.Visit(node.CaseStatement), BoundCaseStatement) 13924New 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()) 349For Each caseClause In caseBlock.CaseStatement.CaseClauses 390Return rewritten.Update(rewritten.CaseStatement, rewrittenBody)
Lowering\SyntheticBoundNodeFactory.vb (1)
712For Each l As BoundSimpleCaseClause In s.CaseStatement.CaseClauses