summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0029-19.cs
blob: fa42f04e23f8871258f7b02e94d2ff39320fb196 (plain)
1
2
3
4
5
6
7
8
9
10
// CS0029: Cannot implicitly convert type `T2' to `T1'
// Line: 8

class Test
{
	static void Foo<T1, T2> (T1 t1, T2 t2)
	{
		T1 a = default (T2);
	}
}