This project is read-only.

Why GetAllTypes()?

Topics: Metadata Model
Jan 4, 2011 at 9:23 PM

Why there is a GetAllTypes() method in IModule?

Couldn't you just enumerate all UnitNamespaceRoot members for types definitions recursively?

That's the way I implement GetAllTypes() in my modules.

Jan 7, 2011 at 6:53 AM

It is there because of numerous user requests. It is also a useful way for the PE reader to enumerate types in the order they appear in the type table. Maintaining this order is important in some scenarios.