18 references to BranchTakenState
Microsoft.CodeAnalysis.VisualBasic (18)
Scanner\Blender.vb (1)
502nextPreprocessorState.ConditionalStack.Peek.BranchTaken = ConditionalState.BranchTakenState.Taken,
Scanner\Directives.vb (17)
89Not conditionals.Peek.BranchTaken = ConditionalState.BranchTakenState.Taken Then 179Not conditionalsStack.Peek.BranchTaken = ConditionalState.BranchTakenState.Taken Then 235Private ReadOnly _branchTaken As BranchTakenState 241Friend ReadOnly Property BranchTaken As BranchTakenState 259Friend Sub New(branchTaken As BranchTakenState, elseSeen As Boolean, ifDirective As IfDirectiveTriviaSyntax) 409ConditionalState.BranchTakenState.Taken, 410ConditionalState.BranchTakenState.NotTaken) 422condition = New ConditionalState(ConditionalState.BranchTakenState.NotTaken, False, Nothing) 446If takeThisBranch = ConditionalState.BranchTakenState.Taken Then 447takeThisBranch = ConditionalState.BranchTakenState.AlreadyTaken 449ElseIf takeThisBranch = ConditionalState.BranchTakenState.NotTaken AndAlso Not value.IsBad AndAlso value.IsBooleanTrue Then 450takeThisBranch = ConditionalState.BranchTakenState.Taken 466Return WithConditionals(conditionals.Push(New ConditionalState(ConditionalState.BranchTakenState.Taken, True, Nothing))) 478If takeThisBranch = ConditionalState.BranchTakenState.Taken Then 479takeThisBranch = ConditionalState.BranchTakenState.AlreadyTaken 481ElseIf takeThisBranch = ConditionalState.BranchTakenState.NotTaken Then 482takeThisBranch = ConditionalState.BranchTakenState.Taken