Fixing a compat issue with invoking properties on generic type parameters in expression trees.
While the casts are semantically incorrect, the conditions under which they are observable are extremely narrow: We would have to deal with a generic T receiver which is actually a struct that implements a property form an interface and the implementation of the getter must make observable mutations to the instance. At this point it seems more appropriate to continue adding these casts. Fixes #4471
Showing
想要评论请 注册 或 登录