From: Jeroen Mostert on
digger wrote:
>> Checking if .DeclaringType is the same as .ReflectedType should do the trick.
>
> I tried that and it seemed to work in most cases - except for one case
> where I had a class ButtonControl that inherited an Infragistics
> button control and the declaringtype and relfectedtype were my
> buttoncontrol. I assumed it had to do w/ being in different
> assemblies?
>
That should not make any difference, actually (but I can't say it definitely
shouldn't, since I've never needed to do this). Could you give a minimal
example to reproduce this? Are you certain you actually implemented/overrode
the property and not accidentally declared a new one?

--
J.
http://symbolsprose.blogspot.com