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