[Mono-list] IL code references to corlib and mscorlib
Mark Easton
measton@tebiki.co.uk
Wed, 16 Jul 2003 11:57:39 +0100
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.
.class private auto ansi beforefieldinit ComputerName extends
[mscorlib]System.Object
but that it then references corlib in the rest of the code e.g.
IL_0007: call void class [corlib]System.Console::WriteLine(string)
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.
TIA
Mark