[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0117.cs
index bf2c8feafbe5cd9a3aa469633275057ad0ad57fa..dd5b345dfe85fe03d22d14b72da94c70fee965b0 100644 (file)
@@ -1,10 +1,21 @@
-// cs0117.cs: `int' does not contain a definition for `E'
-// Line: 7
+// CS0117: `A' does not contain a definition for `Method'
+// Line: 8
 
-class T {
-       public static int Main (string [] args )
+public class E : A
+{
+       void Test ()
        {
-               int x = 1.E;
-               return 0;
+               base.Method ();
        }
 }
+
+static class S
+{
+       public static void Method (this A a)
+       {
+       }
+}
+
+public class A
+{
+}
\ No newline at end of file