[Mono-bugs] [Bug 81466][Nor] Changed - Mono fails to run binaries produced with .NET C# compiler.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Aug 8 13:20:07 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by massi at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=81466

--- shadow/81466	2007-08-08 12:25:45.000000000 -0400
+++ shadow/81466.tmp.17404	2007-08-08 13:20:07.000000000 -0400
@@ -209,6 +209,33 @@
 
 and not as Alex reported above.
 Even the method size is different, so there's something weird here.
 
 I would put this in NEEDINFO until the situation is clarified.
 
+
+------- Additional Comments From massi at ximian.com  2007-08-08 13:20 -------
+OK, I found out... disassembling on Windows gives the following:
+
+-------------------------------------------------------------------
+.method public hidebysig virtual instance bool 
+        Test() cil managed
+{
+  // Code size       21 (0x15)
+  .maxstack  1
+  .locals init ([0] bool CS$00000003$00000000)
+  IL_0000:  ldstr      "TestImpl.Test()"
+  IL_0005:  call       void [mscorlib]System.Console::WriteLine(string)
+  IL_000a:  ldarg.0
+  IL_000b:  call       instance bool [FaultTestLib]MainSpace.CD::Test()
+  IL_0010:  stloc.0
+  IL_0011:  br.s       IL_0013
+  IL_0013:  ldloc.0
+  IL_0014:  ret
+} // end of method TestImpl::Test
+-------------------------------------------------------------------
+
+While I double checked that monodis (and therefore mono) see it
+as "call instance bool class [FaultTestLib]MainSpace.IB::Test()".
+
+So we are likely to resolve the method token badly...
+


More information about the mono-bugs mailing list