Solution 1:

PropertyExpression is internal

You should cast it to System.Linq.Expressions.MemberExpression instead, as suggested in this post.