Add [Category ("NotWorking")] to failing test.
[mono.git] / mcs / errors / cs0411-6.cs
1 // CS0411: The type arguments for method `Hello.World<U>(U, IFoo<U>)' cannot be inferred from the usage. Try specifying the type arguments explicitly
2 // Line: 16
3 public interface IFoo<T>
4 { }
5
6 public class Foo : IFoo<int>, IFoo<string>
7 { }
8
9 public class Hello
10 {
11         public void World<U> (U u, IFoo<U> foo)
12         { }
13
14         public void Test (Foo foo)
15         {
16                 World ("Canada", foo);
17         }
18 }
19
20 class X
21 {
22         static void Main ()
23         {
24         }
25 }