1 write to Branch
Microsoft.CodeAnalysis.VisualBasic (1)
Analysis\FlowAnalysis\AbstractFlowPass.NestedTypes.vb (1)
108Me.Branch = branch
26 references to Branch
Microsoft.CodeAnalysis.VisualBasic (26)
Analysis\FlowAnalysis\AbstractFlowPass.NestedTypes.vb (5)
92Select Case Branch.Kind 94Return CType(Branch, BoundConditionalGoto).Label 96Return CType(Branch, BoundGotoStatement).Label 98Return CType(Branch, BoundExitStatement).Label 100Return CType(Branch, BoundContinueStatement).Label
Analysis\FlowAnalysis\AbstractFlowPass.vb (7)
399Select Case pending.Branch.Kind 401Dim exitStmt = TryCast(pending.Branch, BoundExitStatement) 425Select Case pending.Branch.Kind 429Dim continueStmt = TryCast(pending.Branch, BoundContinueStatement) 481NoteBranch(pending, pending.Branch, target) 502Dim label As LabelSymbol = GetBranchTargetLabel(pending.Branch, False) 604Dim branchStatement As BoundStatement = branch.Branch
Analysis\FlowAnalysis\AlwaysAssignedWalker.vb (3)
75If IsInsideRegion(branch.Branch.Syntax.Span) AndAlso Not _labelsInside.Contains(branch.Label) Then 92If IsInside AndAlso pending.Branch IsNot Nothing AndAlso Not IsInsideRegion(pending.Branch.Syntax.Span) Then
Analysis\FlowAnalysis\ControlFlowPass.vb (4)
140if branch.Branch.Kind = BoundKind.YieldStatement 141Me.diagnostics.Add(ERRID.ERR_BadYieldInTryHandler, branch.Branch.Syntax.GetLocation) 158Dim syntax = branch.Branch.Syntax 162If branch.Branch.Kind = BoundKind.YieldStatement
Analysis\FlowAnalysis\ExitPointsWalker.vb (7)
102If IsInsideRegion(pending.Branch.Syntax.Span) Then 103Select Case pending.Branch.Kind 105If _labelsInside.Contains((TryCast((pending.Branch), BoundGotoStatement)).Label) Then 109If _labelsInside.Contains((TryCast((pending.Branch), BoundExitStatement)).Label) Then 113If _labelsInside.Contains((TryCast((pending.Branch), BoundContinueStatement)).Label) Then 120Throw ExceptionUtilities.UnexpectedValue(pending.Branch.Kind) ' there are no other branch statements 122_branchesOutOf.Add(DirectCast(pending.Branch.Syntax, StatementSyntax))