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