[Mono-bugs] [Bug 75042][Nor] Changed - Struct ctor does not 0 init return value

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed May 25 14:55:25 EDT 2005


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 nazgul at omega.pl.

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

--- shadow/75042	2005-05-25 14:49:19.000000000 -0400
+++ shadow/75042.tmp.29559	2005-05-25 14:55:25.000000000 -0400
@@ -127,6 +127,11 @@
 there is something in CLR spec, which forbids such code, please tell me.
 
 ------- Additional Comments From bmaurer at users.sf.net  2005-05-25 14:49 -------
 I don't think there is anything in the spec prohibiting you from doing
 that. However, if a C# module calls your code, it will *not* use the
 stuff in the explicit ctor. So you really, really shouldn't do that.
+
+------- Additional Comments From nazgul at omega.pl  2005-05-25 14:55 -------
+OK, the parameterless ctor part is easy and we will probably forbid it
+too. I just wonder about definite assignment, because it is harder in
+compiler to implement.


More information about the mono-bugs mailing list