[Mono-bugs] [Bug 80487][Wis] Changed - Module static constructor of libraries is not executed

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jan 11 14:10:42 EST 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 akyrtzi at gmail.com.

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

--- shadow/80487	2007-01-11 13:29:43.000000000 -0500
+++ shadow/80487.tmp.31665	2007-01-11 14:10:42.000000000 -0500
@@ -11,13 +11,13 @@
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: akyrtzi at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: Module constructor of libraries is not executed
+Summary: Module static constructor of libraries is not executed
 
 Compile this IL sample to get a library that contains a module constructor
 (TestDll.dll) :
 
 
 .assembly TestDll { }
@@ -64,6 +64,12 @@
 
 ------- Additional Comments From gert.driesen at pandora.be  2007-01-11 13:29 -------
 Are you sure this is supposed to work ? I did not find any 
 information on this.
 
 Also the "module" ctor is not getting executed on .NET 1.1 and 2.0.
+
+------- Additional Comments From akyrtzi at gmail.com  2007-01-11 14:10 -------
+The sample is not working for .NET 1.1 but it is working for .NET 2.0.
+
+To test it on .NET 2.0, either compile it using .NET 2.0's ilasm and
+csc, or using Mono's ilasm2 and gmcs.


More information about the mono-bugs mailing list