[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0411-11.cs
1 // CS0411: The type arguments for method `C.Foo<T>(I<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly
2 // Line: 17
3
4 interface I<T>
5 {
6 }
7
8 class C : I<long>, I<int>
9 {
10         static void Foo<T> (I<T> i)
11         {
12         }
13
14         static void Main ()
15         {
16                 C c = new C ();
17                 Foo (c);
18         }
19 }