Hi, I've got the following issue. It seems that the overload of Expession.Call for static methods cause a wrong exception. Maybe the parameter check has got a wrong implementation. Could you clarify that, please. Benjamin static void Main() { ParameterExpression param = Expression .Parameter( typeof ( String ), "text" ); //var mi = typeof(Console).GetMethod("WriteLine", BindingFlags.Static | BindingFlags.Public, null, new Type[] { typeof(String) }, null); //MethodCallExpression method = Expression.Call(mi,
Read More...