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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78464 --- shadow/78464 2006-05-20 09:24:33.000000000 -0400 +++ shadow/78464.tmp.9051 2006-05-20 11:48:08.000000000 -0400 @@ -56,6 +56,115 @@ If I understand how Mono works I'll try to write some test case that point out the differences. ------- Additional Comments From [EMAIL PROTECTED] 2006-05-20 09:24 ------- Forgot to mention that the above comment is for Zoltán. + +------- Additional Comments From [EMAIL PROTECTED] 2006-05-20 11:48 ------- +I added some debug output to the repro to have it output all non- +gacced assemblies, and I get the following results on MS.NET: + +=== Before emit === +Name: mscorlib, Version=1.0.5000.0, Culture=neutral, +PublicKeyToken=b77a5c561934e089 +Location: c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll +--- +Name: test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null +Location: C:\bug78464\test.exe +--- +=== After emit === +Name: mscorlib, Version=1.0.5000.0, Culture=neutral, +PublicKeyToken=b77a5c561934e089 +Location: c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll +--- +Name: test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null +Location: C:\bug78464\test.exe +--- +Name: bug78464, Version=0.0.0.0 +Location: (dynamic assembly) +--- +=== After load from byte array === +Name: mscorlib, Version=1.0.5000.0, Culture=neutral, +PublicKeyToken=b77a5c561934e089 +Location: c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll +--- +Name: test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null +Location: C:\bug78464\test.exe +--- +Name: bug78464, Version=0.0.0.0 +Location: (dynamic assembly) +--- +Name: bug78464, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null +Location: +--- +=== After load from file === +Name: mscorlib, Version=1.0.5000.0, Culture=neutral, +PublicKeyToken=b77a5c561934e089 +Location: c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll +--- +Name: test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null +Location: C:\bug78464\test.exe +--- +Name: bug78464, Version=0.0.0.0 +Location: (dynamic assembly) +--- +Name: bug78464, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null +Location: +--- +Name: bug78464, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null +Location: c:\bug78464\bug78464.dll +--- + +When running the same repro on Mono, I get the following output: + +=== Before emit === +Name: test, Version=0.0.0.0, Culture=neutral +Location: /home/monohead/mono-test-projects/bugs/bug78464/test.exe +--- +Name: mscorlib, Version=1.0.5000.0, Culture=neutral, +PublicKeyToken=b77a5c561934e089 +Location: /home/monohead/mono/install/lib/mono/1.0/mscorlib.dll +--- +=== After emit === +Name: bug78464, Version=0.0.0.0, Culture=neutral +Location: (dynamic assembly) +--- +Name: test, Version=0.0.0.0, Culture=neutral +Location: /home/monohead/mono-test-projects/bugs/bug78464/test.exe +--- +Name: mscorlib, Version=1.0.5000.0, Culture=neutral, +PublicKeyToken=b77a5c561934e089 +Location: /home/monohead/mono/install/lib/mono/1.0/mscorlib.dll +--- +=== After load from byte array === +Name: bug78464, Version=0.0.0.0, Culture=neutral +Location: +--- +Name: bug78464, Version=0.0.0.0, Culture=neutral +Location: (dynamic assembly) +--- +Name: test, Version=0.0.0.0, Culture=neutral +Location: /home/monohead/mono-test-projects/bugs/bug78464/test.exe +--- +Name: mscorlib, Version=1.0.5000.0, Culture=neutral, +PublicKeyToken=b77a5c561934e089 +Location: /home/monohead/mono/install/lib/mono/1.0/mscorlib.dll +--- +=== After load from file === +Name: bug78464, Version=0.0.0.0, Culture=neutral +Location: +--- +Name: bug78464, Version=0.0.0.0, Culture=neutral +Location: (dynamic assembly) +--- +Name: test, Version=0.0.0.0, Culture=neutral +Location: /home/monohead/mono-test-projects/bugs/bug78464/test.exe +--- +Name: mscorlib, Version=1.0.5000.0, Culture=neutral, +PublicKeyToken=b77a5c561934e089 +Location: /home/monohead/mono/install/lib/mono/1.0/mscorlib.dll +--- + +As you can see, the bug78464 assembly is loaded three times on +MS.NET and twice on Mono in the "After load from file" step. + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
