Exemplo n.º 1
0
 public static Expression CompileCallExpr(Expression func, IEnumerable <Expression> args)
 {
     return(Expression.Call(null, Primitives.GetMethod("dynamic_invoke"), args));
 }
Exemplo n.º 2
0
 public static Expression CompileIndexExpr(Expression self, Expression index)
 {
     return(Expression.Call(null, Primitives.GetMethod("index"), new Expression[] { self, index }));
 }