mail-archives/mono-bugs/2007-January/052660.html

94 строки
4.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 80487][Wis] Changed - Module static constructor of libraries is not executed
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2080487%5D%5BWis%5D%20Changed%20-%20Module%20static%20constructor%20of%0A%09libraries%20is%20not%20executed&In-Reply-To=bug-80487%40chernobyl.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="052659.html">
<LINK REL="Next" HREF="052661.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 80487][Wis] Changed - Module static constructor of libraries is not executed</H1>
<B>bugzilla-daemon at bugzilla.ximian.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2080487%5D%5BWis%5D%20Changed%20-%20Module%20static%20constructor%20of%0A%09libraries%20is%20not%20executed&In-Reply-To=bug-80487%40chernobyl.ximian.com"
TITLE="[Mono-bugs] [Bug 80487][Wis] Changed - Module static constructor of libraries is not executed">bugzilla-daemon at bugzilla.ximian.com
</A><BR>
<I>Thu Jan 11 14:10:42 EST 2007</I>
<P><UL>
<LI>Previous message: <A HREF="052659.html">[Mono-bugs] [Bug 80487][Wis] Changed - Module constructor of libraries is not executed
</A></li>
<LI>Next message: <A HREF="052661.html">[Mono-bugs] [Bug 79765][Nor] Changed - LinkLabel does not render correctly.
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#52660">[ date ]</a>
<a href="thread.html#52660">[ thread ]</a>
<a href="subject.html#52660">[ subject ]</a>
<a href="author.html#52660">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">akyrtzi at gmail.com.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=80487">http://bugzilla.ximian.com/show_bug.cgi?id=80487</A>
--- 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: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">akyrtzi at gmail.com</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
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 <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">gert.driesen at pandora.be</A> 2007-01-11 13:29 -------
Are you sure this is supposed to work ? I did not find any
information on this.
Also the &quot;module&quot; ctor is not getting executed on .NET 1.1 and 2.0.
+
+------- Additional Comments From <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">akyrtzi at gmail.com</A> 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.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="052659.html">[Mono-bugs] [Bug 80487][Wis] Changed - Module constructor of libraries is not executed
</A></li>
<LI>Next message: <A HREF="052661.html">[Mono-bugs] [Bug 79765][Nor] Changed - LinkLabel does not render correctly.
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#52660">[ date ]</a>
<a href="thread.html#52660">[ thread ]</a>
<a href="subject.html#52660">[ subject ]</a>
<a href="author.html#52660">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>