a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
15 lines
160 B
C#
Executable File
15 lines
160 B
C#
Executable File
// CS0029: Cannot implicitly convert type `T[]' to `I[]'
|
|
// Line: 12
|
|
|
|
interface I
|
|
{
|
|
}
|
|
|
|
class C
|
|
{
|
|
static void Foo<T> (T [] t) where T : I
|
|
{
|
|
I [] i = t;
|
|
}
|
|
}
|