Author: marek
Date: 2007-01-02 08:07:53 -0500 (Tue, 02 Jan 2007)
New Revision: 70353

Added:
   trunk/mcs/errors/cs0649-2.cs
   trunk/mcs/errors/cs0649-3.cs
Log:
New tests.

Added: trunk/mcs/errors/cs0649-2.cs
===================================================================
--- trunk/mcs/errors/cs0649-2.cs        2007-01-02 13:07:24 UTC (rev 70352)
+++ trunk/mcs/errors/cs0649-2.cs        2007-01-02 13:07:53 UTC (rev 70353)
@@ -0,0 +1,17 @@
+// CS0649: Field `X.y' is never assigned to, and will always have its default 
value `null'
+// Line: 10
+// Compiler options: -warnaserror -warn:4
+
+class X {
+       Y y;
+
+       Y Value {
+               get {
+                       return y;
+               }
+       }
+}
+
+struct Y
+{
+}


Property changes on: trunk/mcs/errors/cs0649-2.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/mcs/errors/cs0649-3.cs
===================================================================
--- trunk/mcs/errors/cs0649-3.cs        2007-01-02 13:07:24 UTC (rev 70352)
+++ trunk/mcs/errors/cs0649-3.cs        2007-01-02 13:07:53 UTC (rev 70353)
@@ -0,0 +1,19 @@
+// CS0649: Field `X.e' is never assigned to, and will always have its default 
value `0'
+// Line: 10
+// Compiler options: -warnaserror -warn:4
+
+using System;
+class X {
+       E e;
+
+       E Value {
+               get {
+                       return e;
+               }
+       }
+}
+
+enum E
+{
+       Foo
+}


Property changes on: trunk/mcs/errors/cs0649-3.cs
___________________________________________________________________
Name: svn:eol-style
   + native

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to