codeowners update
[mono.git] / mcs / errors / cs1061-12.cs
1 // CS1061: Type `U2' does not contain a definition for `Test' and no extension method `Test' of type `U2' could be found. Are you missing an assembly reference?
2 // Line: 20
3
4 interface I<T>
5 {
6         void Foo<U> (U u) where U : T;
7 }
8
9 struct S
10 {
11         public void Test ()
12         {
13         }
14 }
15
16 class Test : I<S>
17 {
18         void I<S>.Foo<U2> (U2 u2)
19         {
20                 u2.Test ();
21         }
22 }