https://bugzilla.novell.com/show_bug.cgi?id=316137

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=316137#c2


Raja Harinath <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]




--- Comment #2 from Raja Harinath <[EMAIL PROTECTED]>  2008-05-06 04:52:23 MST 
---
The likely differentiator is that they don't warn when non-trivial constructors
are used.  Reference types, by definition, have non-trivial constructors. 
Value types have trivial default constructors.

So, we need to check what csc does with

  object o = null; // should warn

  MyStruct s = new MyStruct(a, b, c); // shouldn't warn

  MyStruct s; s.a = ...; s.b = ...; s.c = ...; // pedantically, should warn


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to