[Mono-list] IL code references to corlib and mscorlib

Varga Zoltan vargaz@freemail.hu
Wed, 16 Jul 2003 13:14:05 +0200 (CEST)


   This is caused by a bug in monodis: sometimes it prints
out corlib,
sometimes mscorlib.=20



Mark Easton <measton@tebiki.co.uk> =EDrta:

> I'm trying to understand how IL works and have come a cropper.
> When I look at some IL code that was generated by mcs I
can see that is
> references mscorlib for class declarations e.g.=20
>     .class private auto ansi beforefieldinit ComputerName
> [mscorlib]System.Object=20
> but that it then references corlib in the rest of the code
>     IL_0007: call void class
> While I understand that the mono runtime must map mscorlib
references to
> corlib, I have no idea how other runtimes, such as MS.NET
or PNET, can
> deal with references to corlib?
> Any help would be most appreciated as my head is really
getting twisted
> into knots now - and my wife insists that's her job.
> Mark
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list