25 references to Goto
Microsoft.CodeAnalysis.VisualBasic (25)
Binding\SyntheticBoundTrees\SynthesizedStringSwitchHashMethod.vb (2)
103F.Goto(start), 122F.Goto(again)))),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Await.vb (1)
243blockBuilder.Add(Me.F.Goto(Me._exitLabel))
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Statements.vb (3)
37Me.F.Goto(Me._exprReturnLabel)) 42Me.F.Goto(Me._exprReturnLabel)) 46Return F.Goto(Me._exprReturnLabel)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.vb (2)
187Me.F.Goto(Me._exitLabel)), 240Return Me.F.Goto(Me._exitLabel)
Lowering\IteratorRewriter\IteratorRewriter.IteratorMethodToClassRewriter.vb (2)
103F.Goto(breakLabel))).ToArray() 153Me.F.Goto(Me._exitLabel)
Lowering\IteratorRewriter\IteratorRewriter.vb (1)
225F.Goto(thisInitialized),
Lowering\LocalRewriter\LocalRewriter_UnstructuredExceptionHandling.vb (11)
175statements.Add(nodeFactory.Goto(doneLabel)) 185resumeSwitchJumps(s_activeHandler_None) = nodeFactory.Goto(resumeSwitchFallThroughLabel) 200statements.Add(nodeFactory.Goto(onErrorFailureLabel)) 222onErrorSwitchJumps(s_activeHandler_None) = nodeFactory.Goto(onErrorSwitchFallThroughLabel) 223onErrorSwitchJumps(s_activeHandler_ResumeNext) = nodeFactory.Goto(If(node.ResumeWithoutLabelOpt IsNot Nothing, 250statements.Add(nodeFactory.Goto(onErrorFailureLabel)) 270nodeFactory.Block(ImmutableArray.Create(Of BoundStatement)(nodeFactory.Goto(onErrorLabel))), 354_unstructuredExceptionHandling.ExceptionHandlers.Add(nodeFactory.Goto(node.LabelOpt, setWasCompilerGenerated:=False)) 429statements.Add(nodeFactory.Goto(node.LabelOpt, setWasCompilerGenerated:=False)) 432statements.Add(nodeFactory.Goto(_unstructuredExceptionHandling.ResumeNextLabel)) 436statements.Add(nodeFactory.Goto(_unstructuredExceptionHandling.ResumeLabel))
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (2)
204Select F.SwitchSection(kv.Value, F.Goto(kv.Key)) 359Me.F.Goto(skipFinalizer),
Lowering\SyntheticBoundNodeFactory.vb (1)
610Return Block(boundCondGoto, thenClause, [Goto](afterif), Label(alt), elseClause, Label(afterif))