Merge pull request #3609 from xmcclure/checked-imageset
[mono.git] / mcs / errors / cs0165-13.cs
index 58bf9d5a605cf459a8a944a121adcdce6c4f7d41..fa3d6b5e92ba8ddc1539d02a37330b0c108434ab 100644 (file)
@@ -1,11 +1,19 @@
-// cs0165-13.cs: Use of unassigned local variable `foo'
-// Line: 9
+// CS0165: Use of unassigned local variable `foo'
+// Line: 17
 
-struct Rectangle { int x; public int X { set { } } }
-public class Foo {
-  public static void Main (string[] args)
-  {
-    Rectangle foo;
-    foo.X = 5;
-  }
+struct Rectangle
+{
+       internal int x;
+       public int X {
+               set { }
+       }
+}
+
+public class Foo
+{
+       public static void Main ()
+       {
+               Rectangle foo;
+               foo.X = 5;
+       }
 }