-// cs0103.cs: The name `y' does not exist in the context of `C'
-// Line: 8
+// CS0103: The name `i' does not exist in the current context
+// Line: 9
+// Compiler options: -r:CS0103-2-lib.dll
-public class C
+class A : C
{
- public static void Main ()
+ void Test ()
{
- int x = y;
- int y = 1;
+ i = 0;
}
-}
\ No newline at end of file
+}