Closed geoffsmith closed 1 year ago
Hello @geoffsmith ,
Thank you for reporting.
My developer will look at it and try to fix it. I believe you are right fo the cause.
We will add an anonymous type created during the expression in the white list
, so all members can be accessed.
Best Regards,
Jon
Hello @geoffsmith ,
The v5.0.4 has been released.
Could you try it and let us know if everything is now working as expected in SafeMode
?
Best Regards,
Jon
Hi,
I'm struggling to get the following code to work in safe mode:
I get the following error
Unhandled Exception: Z.Expressions.Compiler.Shared.EvalException: Oops! No applicable member has been found for the expression. The error occurred for expression "." at position 128 near ".OrderBy(x => x.Length);
My guess is that the compiler is struggling with the combination of the
OrderBy
extension method and the anonymous type. Is that correct? Is there a way to make this work? The code works fine whenSafeMode = false
.