25 references to ReplaceStatementIfNeeded
Microsoft.CodeAnalysis.VisualBasic.Features (25)
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (25)
105
Return node.WithSubOrFunctionStatement(
ReplaceStatementIfNeeded
(node.SubOrFunctionStatement)).
115
Return node.WithSubNewStatement(
ReplaceStatementIfNeeded
(node.SubNewStatement)).
125
Return node.WithOperatorStatement(
ReplaceStatementIfNeeded
(node.OperatorStatement)).
135
Return node.WithAccessorStatement(
ReplaceStatementIfNeeded
(node.AccessorStatement)).
145
Return node.WithWhileStatement(
ReplaceStatementIfNeeded
(node.WhileStatement)).
154
Return node.WithUsingStatement(
ReplaceStatementIfNeeded
(node.UsingStatement)).
163
Return node.WithSyncLockStatement(
ReplaceStatementIfNeeded
(node.SyncLockStatement)).
172
Return node.WithWithStatement(
ReplaceStatementIfNeeded
(node.WithStatement)).
202
Return node.WithIfStatement(
ReplaceStatementIfNeeded
(node.IfStatement)).
211
Return node.WithElseStatement(
ReplaceStatementIfNeeded
(node.ElseStatement)).
220
Return node.WithElseIfStatement(
ReplaceStatementIfNeeded
(node.ElseIfStatement)).
229
Return node.WithTryStatement(
ReplaceStatementIfNeeded
(node.TryStatement)).
238
Return node.WithCatchStatement(
ReplaceStatementIfNeeded
(node.CatchStatement)).
247
Return node.WithFinallyStatement(
ReplaceStatementIfNeeded
(node.FinallyStatement)).
256
Return node.WithSelectStatement(
ReplaceStatementIfNeeded
(node.SelectStatement)).
258
WithEndSelectStatement(
ReplaceStatementIfNeeded
(node.EndSelectStatement))
266
Return node.WithCaseStatement(
ReplaceStatementIfNeeded
(node.CaseStatement)).
275
Return node.WithDoStatement(
ReplaceStatementIfNeeded
(node.DoStatement)).
277
WithLoopStatement(
ReplaceStatementIfNeeded
(node.LoopStatement))
285
Return node.WithForStatement(
ReplaceStatementIfNeeded
(node.ForStatement)).
287
WithNextStatement(
ReplaceStatementIfNeeded
(node.NextStatement))
295
Return node.WithForEachStatement(
ReplaceStatementIfNeeded
(node.ForEachStatement)).
297
WithNextStatement(
ReplaceStatementIfNeeded
(node.NextStatement))
307
WithSubOrFunctionHeader(
ReplaceStatementIfNeeded
(node.SubOrFunctionHeader))
316
WithSubOrFunctionHeader(
ReplaceStatementIfNeeded
(node.SubOrFunctionHeader))