2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / gcs1061-4.cs
blob355bf540e1eb6f2da2e2c41292fe8dadc3800e91
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 a using directive or an assembly reference?)
2 // Line: 12
4 class A<X>
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)
12 x.Test ();
16 class X
18 public void Test ()
19 { }
21 public static void Main ()
22 { }