[Mono-dev] Porting mcs to IKVM.Reflection

Kornél Pál kornelpal at gmail.com
Sat May 8 08:40:22 EDT 2010


Please see the attached patch.

I belive that this is actually an easier and cleaner solution than the 
current one.

You can use Load, LoadFile, DefineDynamicAssembly, etc. to load 
mscorlib.dll.

Kornél

Jeroen Frijters write:
>> I would recommend SetMscorlib over LoadMscorlib because that would not
>> restrict how you can create or load mscorlib.dll.
> 
> That feels like painting yourself into a corner to me. Using SetMscorlib would require modifying DefineDynamicAssembly in a way that would make it hard to remain compatible with .NET reflection.
> 
> Please consider that from my point of view, gmcs building mscorlib is a complete corner case, not what the API should be optimized for.
> 
> Regards,
> Jeroen
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: setmscorlib.txt
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100508/2ce4817e/attachment.txt 


More information about the Mono-devel-list mailing list