Replies: 3 comments
|
I don't see the problem https://dotnetfiddle.net/eSKXs0 |
0 replies
|
Yes it works with System.Linq.Expressions but not with FEC |
0 replies
|
FEC is orthogonal to the hoisted lambda, because it is a C# compiler feature. Could you provide the full test to see what's failing? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
how do I write lambda function as Expressions?
I have this code:
Expression<Func<double, bool>> exprCast = (param) => System.Convert.ToBoolean(param);It gives me this error:
Cannot convert anonymous method block to type 'type' because it is not a delegate type
All reactions