Thanks again. One somewhat related question. In an uncompressed metadata stream (#-), are *PTR tables always required or only required when remapping is needed? For example, in an uncompressed metadata stream if I sort the PROPERTY table by Parent RID, can I then remove the PROPERTYPTR table?
-- Brent Rector, .NET Wise Owl Demeanor for .NET - an obfuscation utility http://www.wiseowl.com/Products/Products.aspx -----Original Message----- From: Serge Lidin [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 8:34 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Partition II metadata spec question The Method and Field table records don't carry a token (or RID) of the parent class, so the records in Method (or MethodPtr) and Field (or FieldPtr) tables pertaining to the same class must be contiguous. A TypeDef record carries RIDs of first method and field pertaining to this class. With InterfaceImpl records, the story is quite different. First of all, a TypeDef record carries no RID or token pointing to the InterfaceImpl table. Second, an InterfaceImpl record carries both the RID of implementing class and the token of the implemented interface. Hence, there is no requirement that the InterfaceImpl records pertaining to the same class be contiguous. Thanks, Serge You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.