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