[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / errors / cs0649-2.cs
index 6b68ffbfc887ac59b4404845c6adda888f276691..d27e1d85033fcfa8c9f52a247f367c05a09515a6 100644 (file)
@@ -1,17 +1,13 @@
-// CS0649: Field `X.y' is never assigned to, and will always have its default value `null'
-// Line: 10
+// CS0649: Field `C.s' is never assigned to, and will always have its default value `null'
+// Line: 7
 // Compiler options: -warnaserror -warn:4
 
-class X {
-       Y y;
-
-       Y Value {
-               get {
-                       return y;
-               }
-       }
-}
-
-struct Y
+class C
 {
+       int? s;
+       
+       void Test ()
+       {
+               System.Console.WriteLine (s == null);
+       }
 }