[Mono-dev] Porting mcs to IKVM.Reflection

Jeroen Frijters jeroen at sumatra.nl
Sat May 8 07:33:17 EDT 2010


> I've just realized that DefineDynamicAssemblyImpl should not hardcode
> the name "mscorlib" since C# compiler is able to us any name when
> compiling with nostdlib.

The hardcoded name bother me too, but then I couldn't think of any realistic scenario where you'd build an mscorlib with a different name. Do you have any examples?

Also, how does gmcs know that it is compiling mscorlib?

BTW, the solution I would prefer would be to add DefineMscorlib() (taking the same parameters as DefineDynamicAssembly).

Regards,
Jeroen



More information about the Mono-devel-list mailing list