summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0030-13.cs
blob: b35e8ebe1fb383c5b41c2ff210561f3414de4eac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS0030: Cannot convert type `T[,]' to `System.Collections.Generic.IEnumerable<T>'
// Line: 10

using System.Collections.Generic;

class C
{
	IEnumerable<T> Foo<T> (T [,] a)
	{
		return (IEnumerable<T>) a;
	}
}