[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:49:19 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 bmaurer at users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=75042
--- shadow/75042 2005-05-25 14:22:48.000000000 -0400
+++ shadow/75042.tmp.29496 2005-05-25 14:49:19.000000000 -0400
@@ -122,6 +122,11 @@
IL.
We will discuss the issue of definite assignment and parameterless
ctor (that is I'm not sure we would like to follow C#'s design). So,
IMHO this is a runtime bug, especially that code verifies fine. If
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.
More information about the mono-bugs
mailing list