Replies: 3 comments
-
I don't see the problem https://dotnetfiddle.net/eSKXs0 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes it works with System.Linq.Expressions but not with FEC |
Beta Was this translation helpful? Give feedback.
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? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
Beta Was this translation helpful? Give feedback.
All reactions