Example #1
0
        public static EmitSyntax NewobjFromLambda(this EmitSyntax emit, LambdaExpression callExpr)
        {
            var ctor = ExpressionUtils.GetConstructorFromLambda(callExpr);

            return(emit.Newobj(ctor));
        }