19 references to AlternativeOpt
Microsoft.CodeAnalysis.VisualBasic (19)
Analysis\FlowAnalysis\AbstractFlowPass.vb (2)
1408If node.AlternativeOpt IsNot Nothing Then 1409VisitStatement(node.AlternativeOpt)
Generated\BoundNodes.xml.Generated.vb (4)
4954If condition IsNot Me.Condition OrElse consequence IsNot Me.Consequence OrElse alternativeOpt IsNot Me.AlternativeOpt Then 11581Me.Visit(node.AlternativeOpt) 12609Dim alternativeOpt As BoundStatement = DirectCast(Me.Visit(node.AlternativeOpt), BoundStatement) 13908New TreeDumperNode("alternativeOpt", Nothing, new TreeDumperNode() {Visit(node.AlternativeOpt, Nothing)})
Lowering\Instrumentation\DebugInfoInjector.vb (5)
239Return New BoundSequencePoint(DirectCast(original.AlternativeOpt.Syntax.Parent, MultiLineIfBlockSyntax).EndIfStatement, 246Select Case original.AlternativeOpt.Syntax.Kind 248prologue = New BoundSequencePoint(DirectCast(original.AlternativeOpt.Syntax, ElseBlockSyntax).ElseStatement, prologue) 250prologue = New BoundSequencePointWithSpan(original.AlternativeOpt.Syntax, prologue, 251DirectCast(original.AlternativeOpt.Syntax, SingleLineElseClauseSyntax).ElseKeyword.Span)
Lowering\Instrumentation\Instrumenter.vb (4)
217Debug.Assert(original.AlternativeOpt.Syntax.Kind = SyntaxKind.ElseBlock) 218Debug.Assert(original.AlternativeOpt.Syntax.Parent.Kind = SyntaxKind.MultiLineIfBlock) 227Debug.Assert(original.AlternativeOpt.Syntax.Kind = SyntaxKind.ElseBlock OrElse original.AlternativeOpt.Syntax.Kind = SyntaxKind.SingleLineElseClause)
Lowering\LocalRewriter\LocalRewriter_If.vb (4)
30Dim finishConsequenceWithResumeTarget As Boolean = (node.AlternativeOpt IsNot Nothing) 66Dim newAlternative As BoundStatement = DirectCast(Visit(node.AlternativeOpt), BoundStatement) 70Dim asElse = TryCast(node.AlternativeOpt.Syntax, ElseBlockSyntax) 83Dim asElse = TryCast(node.AlternativeOpt.Syntax, SingleLineElseClauseSyntax)