blob: 90bc419bf4d98e8bd34d0b874c45f73c3fe82ff1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// CS0029: Cannot implicitly convert type `T[]' to `System.Collections.Generic.IList<U>'
// Line: 10
using System.Collections.Generic;
class Program
{
static IList<U> Foo<T, U> (T[] arg) where T : U
{
return arg;
}
}
|