13 references to CloseMethod
Microsoft.CodeAnalysis.VisualBasic (13)
Compilation\MethodCompiler.vb (1)
837
f.
CloseMethod
(body)
Lowering\AsyncRewriter\AsyncRewriter.vb (2)
186
Me.F.
CloseMethod
(F.Return())
202
Me.F.
CloseMethod
(F.Block(ImmutableArray.Create(F.BaseInitialization(), F.Return())))
Lowering\IteratorRewriter\IteratorRewriter.IteratorMethodToClassRewriter.vb (3)
78
F.
CloseMethod
(
106
F.
CloseMethod
(F.Block(
116
F.
CloseMethod
(F.Return())
Lowering\IteratorRewriter\IteratorRewriter.vb (6)
259
F.
CloseMethod
(F.Block(ImmutableArray.Create(resultVariable), bodyBuilder.ToImmutableAndFree()))
271
F.
CloseMethod
(F.Return(F.Call(F.Me, getEnumeratorGeneric)))
279
F.
CloseMethod
(F.Return(F.Field(F.Me, _currentField, False)))
286
F.
CloseMethod
(F.Throw(F.[New](F.WellKnownType(WellKnownType.System_NotSupportedException))))
298
F.
CloseMethod
(F.Return(F.Field(F.Me, _currentField, False)))
313
F.
CloseMethod
(F.Block(bodyBuilder.ToImmutableAndFree()))
Lowering\StateMachineRewriter\StateMachineRewriter.vb (1)
483
Me.F.
CloseMethod
(RewriteBodyIfNeeded(body, Me.F.TopLevelMethod, Me.F.CurrentMethod))