1 write to Branch
Microsoft.CodeAnalysis.VisualBasic (1)
Analysis\FlowAnalysis\AbstractFlowPass.NestedTypes.vb (1)
108Me.Branch = branch
27 references to Branch
Microsoft.CodeAnalysis.VisualBasic (27)
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 (8)
390Select Case pending.Branch.Kind 392Dim exitStmt = TryCast(pending.Branch, BoundExitStatement) 416Select Case pending.Branch.Kind 420Dim continueStmt = TryCast(pending.Branch, BoundContinueStatement) 472NoteBranch(pending, pending.Branch, target) 493Dim label As LabelSymbol = GetBranchTargetLabel(pending.Branch, False) 595Dim branchStatement As BoundStatement = branch.Branch 2033Dim unionBranchWithFinallyState As Boolean = pend.Branch.Kind <> BoundKind.YieldStatement
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))