[Mono-dev] Mono's reflection implementation
Tom Spink
tspink at gmail.com
Thu Sep 10 09:02:43 EDT 2009
Hi Kris,
2009/9/10 Kris Mok <rednaxela0607 at hotmail.com>:
> You're right that BindingFlags.NonPublic doesn't return inherited fields.
> Looks like I should have sent a bug report to MS instead :)
It's not a bug. You need to specify BindingFlags.FlattenHierarchy.
--
Tom Spink
Ogden Nash - "The trouble with a kitten is that when it grows up,
it's always a cat."
More information about the Mono-devel-list
mailing list