Re: [ADVANCED-DOTNET] Metadata question

2004-06-22 Thread Dmitry Shaporenkov
Serge, thanks for this proposal, I'll try it. - Original Message - From: "Serge Lidin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 22, 2004 8:51 PM Subject: Re: [ADVANCED-DOTNET] Metadata question Unfortunately, there is no API in IMetaDataImport, returning the type o

Re: [ADVANCED-DOTNET] Metadata question

2004-06-22 Thread Serge Lidin
Unfortunately, there is no API in IMetaDataImport, returning the type of the metadata stream. Also, there is no API that would retrieve the RIDs of the *Ptr tables. All handling of additional indirection in the unoptimized metadata is done behind the scenes, and there is no distinction between o

Re: [ADVANCED-DOTNET] Metadata question

2004-06-22 Thread Paolo Molaro
On 06/21/04 Serge Lidin wrote: > Yes, you can produce the assembly files with unoptimized metadata. Some > folks even ship them. It's considered sloppy because of additional > overhead (and because it's an indication that the assembly wasn't > completely recompiled before shipping), In less politi

Re: [ADVANCED-DOTNET] Metadata question

2004-06-22 Thread Dmitry Shaporenkov
Serge, thank you for your clarification. It seems that I have to modify my loader and add support for unoptimized metadata representation. I would like, however, to use an efficient mapping where possible, especially since unoptimized assemblies seem to be rare. Hence I have a further question - i