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

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to