I'm trying to compose the first block of expression using expression trees. The second block compiles fine. But the third block generates a "Lambda Parameter not in scope" error. All 3 blocks generate the same expression "{(x, y) => Multiply(x, y)}". There seems to be some pre-condition in Expression.Multiply that checks whether the ParameterExpressions passed to it is in the list of expression passed to the lambda expression. I'm assuming the the call to Expression .Parameter(
Read More...