943d67e4ae7357680059aa563a641caf8b085705
[mono.git] / mcs / errors / gcs0117.cs
1 // gcs0117.cs: `X' does not contain a definition for `Test'
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 }