[Mono-bugs] [Bug 78517][Min] Changed - Assembly.LoadFrom Exceptions differ from those in MS .Net implementation

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun May 28 10:54:45 EDT 2006


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 gert.driesen at pandora.be.

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

--- shadow/78517	2006-05-27 17:26:00.000000000 -0400
+++ shadow/78517.tmp.17559	2006-05-28 10:54:45.000000000 -0400
@@ -103,6 +103,16 @@
 
 
 ------- Additional Comments From vargaz at gmail.com  2006-05-27 17:25 -------
 Fixed in SVN. We now throw a BadImageFormatException for both
 empty and invalid assemblies.
 
+
+------- Additional Comments From gert.driesen at pandora.be  2006-05-28 10:54 -------
+I've added some small unit tests for this bug to AssemblyTest.cs.
+
+Just some small remarks:
+
+- MS.NET 1.x throws a FileLoadException if a zero-size (empty) 
+assembly is specified.
+
+- BadImageFormatException.FileName is never set on Mono.


More information about the mono-bugs mailing list