summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0029-20.cs
blob: 8d987c9a962ee1fe84f0fa15fcddb52d3ec24203 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0029: Cannot implicitly convert type `A<int>.B<long>' to `A<long>.B<long>'
// Line: 14

class A<T>
{
	public class B<U>
	{
	}
}

class Test
{
	static A<int>.B<long> a;
	static A<long>.B<long> b = a;
}