You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
varpEmpty=newParameterExpression[]{};varcore=System.Linq.Dynamic.Core.DynamicExpressionParser.ParseLambda(pEmpty,null,"1+1").Compile();//throws The collection argument 'parameters' must contain at least one elementvarms=System.Linq.Dynamic.DynamicExpression.ParseLambda(pEmpty,null,"1+1").Compile();//this compiles and executes
The text was updated successfully, but these errors were encountered:
StefH
changed the title
System.Linq.Dynamic.Core.DynamicExpressionParser does not allow empty parameter lists.
DynamicExpressionParser does not allow empty parameter lists.
May 12, 2017
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.
The text was updated successfully, but these errors were encountered: