[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs1061-4.cs
1 // CS1061: Type `X' does not contain a definition for `Test' and no extension method `Test' of type `X' could be found. Are you missing an assembly reference?
2 // Line: 12
3
4 class A<X>
5 {
6         //
7         // This is to test the lookup rules for SimpleNames:
8         // `X' is the type parameter, not the class.
9         //
10         public void Test (X x)
11         {
12                 x.Test ();
13         }
14 }
15
16 class X
17 {
18         public void Test ()
19         { }
20
21         public static void Main ()
22         { }
23 }