[Mono-dev] Mono's reflection implementation

Robert Jordan robertj at gmx.net
Thu Sep 10 09:12:53 EDT 2009


Tom Spink wrote:
> 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.
> 

Nope. Please check the docs to see why.

Robert



More information about the Mono-devel-list mailing list