Rewriting child expression from type '{0}' to type '{1}' is not allowed, because it would change the meaning of the operation. ...