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
Evaluating the following expressions results in NotSupportedException, where it doesn't for the compiler. It seems there's the wrong assumption those node types are always used in conjunction with a method, but that's not the case for primitive types:
Evaluating the following expressions results in NotSupportedException, where it doesn't for the compiler. It seems there's the wrong assumption those node types are always used in conjunction with a method, but that's not the case for primitive types:
Test(Expression.IsTrue(Expression.Constant(true)));
Test(Expression.IsFalse(Expression.Constant(true)));
Test(Expression.UnaryPlus(Expression.Constant(42)));
where Test is a simple wrapper around Expression.Lambda<Func>(e).Compile()()
The text was updated successfully, but these errors were encountered: