2 instantiations of BoundCaseBlock
Microsoft.CodeAnalysis.VisualBasic (2)
Generated\BoundNodes.xml.Generated.vb (1)
5066Dim result = New BoundCaseBlock(Me.Syntax, caseStatement, body, Me.HasErrors)
Lowering\SyntheticBoundNodeFactory.vb (1)
740Dim boundCaseBlock = New BoundCaseBlock(_syntax, boundCaseStatement, Block(ImmutableArray.Create(Of BoundStatement)(statements)))
45 references to BoundCaseBlock
Microsoft.CodeAnalysis.VisualBasic (45)
Analysis\FlowAnalysis\AbstractFlowPass.vb (2)
1806Private Sub VisitCaseBlocks(caseBlocks As ImmutableArray(Of BoundCaseBlock)) 1851Public Overrides Function VisitCaseBlock(node As BoundCaseBlock) As BoundNode
Binding\Binder_SelectCase.vb (9)
44Dim caseBlocks As ImmutableArray(Of BoundCaseBlock) = selectBinder.BindCaseBlocks( 107) As ImmutableArray(Of BoundCaseBlock) 110Dim caseBlocksBuilder = ArrayBuilder(Of BoundCaseBlock).GetInstance() 120Return ImmutableArray(Of BoundCaseBlock).Empty 128) As BoundCaseBlock 375caseBlockBuilder As ArrayBuilder(Of BoundCaseBlock), 378) As ImmutableArray(Of BoundCaseBlock) 553Private Function RecommendSwitchTable(selectExpr As BoundRValuePlaceholder, caseBlocks As ArrayBuilder(Of BoundCaseBlock), diagnostics As BindingDiagnosticBag) As Boolean 659Private Function ReportInvalidSelectCaseRange(caseBlocks As ArrayBuilder(Of BoundCaseBlock), diagnostics As BindingDiagnosticBag) As Boolean
CodeGen\EmitStatement.vb (3)
952Private Function CreateCaseBlockLabels(caseBlocks As ImmutableArray(Of BoundCaseBlock)) As ImmutableArray(Of GeneratedLabelSymbol) 970caseBlocks As ImmutableArray(Of BoundCaseBlock), 1184Private Sub EmitCaseBlocks(caseBlocks As ImmutableArray(Of BoundCaseBlock), caseBlockLabels As ImmutableArray(Of GeneratedLabelSymbol), exitLabel As LabelSymbol)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (2)
1035Dim caseBlocks As ImmutableArray(Of BoundCaseBlock) = Me.VisitList(node.CaseBlocks) 1047Public Overrides Function VisitCaseBlock(node As BoundCaseBlock) As BoundNode
Generated\BoundNodes.xml.Generated.vb (12)
4966Public Sub New(syntax As SyntaxNode, expressionStatement As BoundExpressionStatement, exprPlaceholderOpt As BoundRValuePlaceholder, caseBlocks As ImmutableArray(Of BoundCaseBlock), recommendSwitchTable As Boolean, exitLabel As LabelSymbol, Optional hasErrors As Boolean = False) 4995Private ReadOnly _CaseBlocks As ImmutableArray(Of BoundCaseBlock) 4996Public ReadOnly Property CaseBlocks As ImmutableArray(Of BoundCaseBlock) 5021Public Function Update(expressionStatement As BoundExpressionStatement, exprPlaceholderOpt As BoundRValuePlaceholder, caseBlocks As ImmutableArray(Of BoundCaseBlock), recommendSwitchTable As Boolean, exitLabel As LabelSymbol) As BoundSelectStatement 5064Public Function Update(caseStatement As BoundCaseStatement, body As BoundBlock) As BoundCaseBlock 9529Return VisitCaseBlock(CType(node, BoundCaseBlock), arg) 10071Public Overridable Function VisitCaseBlock(node As BoundCaseBlock, arg As A) As R 10774Public Overridable Function VisitCaseBlock(node As BoundCaseBlock) As BoundNode 11592Public Overrides Function VisitCaseBlock(node As BoundCaseBlock) As BoundNode 12616Dim caseBlocks As ImmutableArray(Of BoundCaseBlock) = Me.VisitList(node.CaseBlocks) 12620Public Overrides Function VisitCaseBlock(node As BoundCaseBlock) As BoundNode 13922Public Overrides Function VisitCaseBlock(node As BoundCaseBlock, arg As Object) As TreeDumperNode
Lowering\Instrumentation\CompoundInstrumenter.vb (2)
207Public Overrides Function InstrumentCaseBlockConditionalGoto(original As BoundCaseBlock, condGoto As BoundStatement) As BoundStatement 211Public Overrides Function InstrumentCaseElseBlock(original As BoundCaseBlock, rewritten As BoundBlock) As BoundStatement
Lowering\Instrumentation\DebugInfoInjector.vb (2)
305Public Overrides Function InstrumentCaseBlockConditionalGoto(original As BoundCaseBlock, condGoto As BoundStatement) As BoundStatement 309Public Overrides Function InstrumentCaseElseBlock(original As BoundCaseBlock, rewritten As BoundBlock) As BoundStatement
Lowering\Instrumentation\Instrumenter.vb (2)
320Public Overridable Function InstrumentCaseBlockConditionalGoto(original As BoundCaseBlock, condGoto As BoundStatement) As BoundStatement 325Public Overridable Function InstrumentCaseElseBlock(original As BoundCaseBlock, rewritten As BoundBlock) As BoundStatement
Lowering\LocalRewriter\LocalRewriter_If.vb (2)
152condGoto = _instrumenterOpt.InstrumentCaseBlockConditionalGoto(DirectCast(instrumentationTargetOpt, BoundCaseBlock), condGoto) 196condGoto = _instrumenterOpt.InstrumentCaseBlockConditionalGoto(DirectCast(instrumentationTargetOpt, BoundCaseBlock), condGoto)
Lowering\LocalRewriter\LocalRewriter_SelectCase.vb (5)
67caseBlocks As ImmutableArray(Of BoundCaseBlock), 200caseBlocks As ImmutableArray(Of BoundCaseBlock), 256caseBlocks As ImmutableArray(Of BoundCaseBlock), 381Public Overrides Function VisitCaseBlock(node As BoundCaseBlock) As BoundNode 382Dim rewritten = DirectCast(MyBase.VisitCaseBlock(node), BoundCaseBlock)
Lowering\SyntheticBoundNodeFactory.vb (4)
691Public Function [Select](ex As BoundExpression, sections As IEnumerable(Of BoundCaseBlock)) As BoundStatement 692Dim sectionsArray = ImmutableArray.CreateRange(Of BoundCaseBlock)(sections) 709Private Sub CheckSwitchSections(sections As ImmutableArray(Of BoundCaseBlock)) 730Public Function SwitchSection(values As List(Of Integer), ParamArray statements As BoundStatement()) As BoundCaseBlock