-// 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 {
+ }
}
}
+