Find overridden properties

Aug 18, 2011 at 12: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,

D.R.

Coordinator
Aug 18, 2011 at 4: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.