Hello,

when I create a class that directly extends System.Object, the 
automatically-generated constructor as printed by monodis looks like this:

    // method line 1
    .method public hidebysig  specialname  rtspecialname 
           instance default void .ctor()  cil managed 
    {
        // Method begins at RVA 0x20ec
        // Code size 7 (0x7)
        .maxstack 8
        IL_0000: ldarg.0 
        IL_0001: call instance void valuetype [corlib]System.Object::.ctor()
        IL_0006: ret 
    } // end of method instance default void .ctor()

monodis should not print "valuetype" in IL_0001.

Holger


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

Reply via email to