Bugzilla – Bug 316241
[GMCS] Generic constraint semantics is different than csc
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by rudi@lambda-computing.com 2004-10-14 09:24:57 MST ---- 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. In mono this is not the case. ---- Additional Comments From martin@ximian.com 2004-11-15 02:20:31 MST ---- Easy. Unknown operating system unknown. Setting to default OS "Other".