I have used C# expressions before based on lamdas, but I have no experience composing them by hand. Given an Expression> originalPredi
Expression> originalPredi
There is one other way I have found, that also includes wrapping your original delegate.
Func ExpressionConversion(Expression> expression) { Expression> g = obj => expression.Compile().Invoke(obj); return g.Compile(); }