Let's say I have a TypeDefinition for a class called SubClass. SubClass descends from BaseClass. BaseClass has a number of public properties on it. SubClass doesn't have any. The Properties collection for SubClass contains no values - i.e. its Count is zero. This was unexpected - I thought Cecil would "flatten" things out and give me those properties from BaseClass.
Is there a way to get all of the properties for a TypeDefinition, base class(es) included (i.e. all the way up to the root)? I looked at DeclaringType but that gives me a TypeReference which doesn't have Properties on it. Regards, Jason --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
