The DynamicExpressionParser does not allow empty parameters. The MS version allowed this so it seems like this library should allow this as well. Code snippet below reproduces the issue. Thanks.
var pEmpty = new ParameterExpression[] { };
var core = System.Linq.Dynamic.Core.DynamicExpressionParser.ParseLambda(pEmpty, null, "1+1").Compile(); //throws The collection argument 'parameters' must contain at least one element
var ms = System.Linq.Dynamic.DynamicExpression.ParseLambda(pEmpty, null, "1+1").Compile(); //this compiles and executes
The DynamicExpressionParser does not allow empty parameters. The MS version allowed this so it seems like this library should allow this as well. Code snippet below reproduces the issue. Thanks.