This project is read-only.

Find overridden properties

Aug 18, 2011 at 1:56 PM

We're currently using MemberHelper.GetImplicitlyOverriddenBaseClassMethod() to find the overridden /method/ of a method definition. Is there any way to do the same thing for a property definition?

Best regards,


Aug 18, 2011 at 5:59 PM

Since a property is just a convenient way to group together a setter, getter (and potentially other methods), this really dissolves into finding out how methods are overridden. In particular, if a property consists of a getter that is overridden and a setter that does not, what can you say about the property?

Also note that the existence of explicit overrides also needs to be taken into account in most situations.