|
From: Jeroen Mostert on 20 Jun 2008 15:58 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
|
Pages: 1 Prev: Did you find an answer? Next: Using Structs As Dictionary Keys |