public static BoundStatement Rewrite(BoundStatement node, MethodSymbol containingMethod, Compilation compilation, bool generateDebugInfo, out bool sawLambdas) { Debug.Assert(node != null); var rewriter = new ControlFlowRewriter(containingMethod, compilation, generateDebugInfo); var result = (BoundStatement)rewriter.Visit(node); sawLambdas = rewriter.sawLambdas; return result; }
public static BoundStatement Rewrite(BoundStatement node, MethodSymbol containingMethod, Compilation compilation, bool generateDebugInfo, out bool sawLambdas) { Debug.Assert(node != null); var rewriter = new ControlFlowRewriter(containingMethod, compilation, generateDebugInfo); var result = (BoundStatement)rewriter.Visit(node); sawLambdas = rewriter.sawLambdas; return(result); }