[Mono-bugs] [Bug 68326][Nor] Changed - [GMCS] Generic constraint semantics is different than csc
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 14 Oct 2004 11:06:23 -0400 (EDT)
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@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=68326
--- shadow/68326 2004-10-14 09:24:57.000000000 -0400
+++ shadow/68326.tmp.29664 2004-10-14 11:06:23.000000000 -0400
@@ -1,23 +1,23 @@
Bug#: 68326
Product: Mono: Compilers
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
Severity: Unknown
-Priority: Critical
+Priority: Normal
Component: C#
AssignedTo: mono-bugs@ximian.com
ReportedBy: rudi@lambda-computing.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: Generic constraint semantics is different than in microsoft.net
+Summary: [GMCS] Generic constraint semantics is different than csc
In the C# whidbey beta, structs automatically satisfy the new() generic
constraint even if they do not have an empty constructor. This makes
sense since structs always have an empty constructor automatically
generated that sets all fields to its default value.