Report all types declaring an invalid property instead of just a random one.

+review REVIEW-5265