Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / errors / cs0103-3.cs
index 64c2818da66d78690f1dc896ea2bc89ce07373e9..dcdc24a20ba49d0764502b650a56770ebac5d6c0 100644 (file)
@@ -1,11 +1,19 @@
-// cs0103-3.cs: The name `y' does not exist in the context of `C'
-// Line: 8
+// CS0103: The name `test' does not exist in the current context
+// Line: 11
 
-public class C
+class ClassMain
 {
        public static void Main ()
        {
-           const int x = y;
-           const int y = 1;
+               if (true) {
+                       const bool test = false;
+               }
+               test = false;
+       }
+       
+       static bool Test { 
+               set {
+               }
        }
 }
+