24 references to ReplaceStatementIfNeeded
Microsoft.CodeAnalysis.VisualBasic.Features (24)
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (24)
104
Return node.WithSubOrFunctionStatement(
ReplaceStatementIfNeeded
(node.SubOrFunctionStatement)).
114
Return node.WithSubNewStatement(
ReplaceStatementIfNeeded
(node.SubNewStatement)).
124
Return node.WithOperatorStatement(
ReplaceStatementIfNeeded
(node.OperatorStatement)).
134
Return node.WithAccessorStatement(
ReplaceStatementIfNeeded
(node.AccessorStatement)).
144
Return node.WithWhileStatement(
ReplaceStatementIfNeeded
(node.WhileStatement)).
153
Return node.WithUsingStatement(
ReplaceStatementIfNeeded
(node.UsingStatement)).
162
Return node.WithSyncLockStatement(
ReplaceStatementIfNeeded
(node.SyncLockStatement)).
171
Return node.WithWithStatement(
ReplaceStatementIfNeeded
(node.WithStatement)).
201
Return node.WithIfStatement(
ReplaceStatementIfNeeded
(node.IfStatement)).
210
Return node.WithElseStatement(
ReplaceStatementIfNeeded
(node.ElseStatement)).
219
Return node.WithTryStatement(
ReplaceStatementIfNeeded
(node.TryStatement)).
228
Return node.WithCatchStatement(
ReplaceStatementIfNeeded
(node.CatchStatement)).
237
Return node.WithFinallyStatement(
ReplaceStatementIfNeeded
(node.FinallyStatement)).
246
Return node.WithSelectStatement(
ReplaceStatementIfNeeded
(node.SelectStatement)).
248
WithEndSelectStatement(
ReplaceStatementIfNeeded
(node.EndSelectStatement))
256
Return node.WithCaseStatement(
ReplaceStatementIfNeeded
(node.CaseStatement)).
265
Return node.WithDoStatement(
ReplaceStatementIfNeeded
(node.DoStatement)).
267
WithLoopStatement(
ReplaceStatementIfNeeded
(node.LoopStatement))
275
Return node.WithForStatement(
ReplaceStatementIfNeeded
(node.ForStatement)).
277
WithNextStatement(
ReplaceStatementIfNeeded
(node.NextStatement))
285
Return node.WithForEachStatement(
ReplaceStatementIfNeeded
(node.ForEachStatement)).
287
WithNextStatement(
ReplaceStatementIfNeeded
(node.NextStatement))
297
WithSubOrFunctionHeader(
ReplaceStatementIfNeeded
(node.SubOrFunctionHeader))
306
WithSubOrFunctionHeader(
ReplaceStatementIfNeeded
(node.SubOrFunctionHeader))