Oh, it *is* supported by the CLR. Otherwise I wouldn't apologize for an 
omission in ILASM :)

Thanks,
Serge

-----Original Message-----
From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf 
Of Fabian Schmied
Sent: Friday, April 27, 2007 12:34 AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] How to do ldtoken on generic method specs in IL

Hi Serge,

> First of all, thank you for uncovering a deficiency in IL Assembler -- it 
> doesn't have syntax to specify a generic method in ldtoken instruction, only 
> an instantiation of a generic method. The following syntax should be 
> supported (but isn't):
> ldtoken    method void PreloadMethodInfo.Program::Generic<[1]>()
>
> Second of all, please accept my sincere apologies for this screw-up. Looking 
> back, I'm puzzled just how could I miss this.

No need to apologize at all - IL Assembler is a great tool as is. I
can accept that the feature is not currently supported - since
Reflection.Emit can't handle it either, it might not even be supported
by the CLR at the moment.

Thanks for the confirmation.

Regards,
Fabian

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to