Merge pull request #2314 from lambdageek/dev/local-handles
[mono-project.git] / mcs / errors / cs1061-4.cs
blob48bdce504fa7aeb2e9bcf2889967c3352ed892a5
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
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 { }