summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0029-17.cs
blob: a36e493685bc8681def1540085fc64e46d76f2ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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;
	}
}