public static IILRewriterContext RewriteInto(this MethodBase src, MethodBuilder dest,
     Func<IILOp, IILRewriteControl, IILRewriteControl> logic)
 {
     var rewriter = new ILRewriter(src, dest, logic);
     rewriter.DoRewrite();
     return rewriter;
 }
        public static IILRewriterContext RewriteInto(this MethodBase src, MethodBuilder dest,
                                                     Func <IILOp, IILRewriteControl, IILRewriteControl> logic)
        {
            var rewriter = new ILRewriter(src, dest, logic);

            rewriter.DoRewrite();
            return(rewriter);
        }