summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0695-7.cs
blob: 69321c0c6a433f657bf639bd45dd1b36d34bbf97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0695: `C<T,U>' cannot implement both `A<T>.IB' and `A<U>.IB' because they may unify for some type parameter substitutions
// Line: 11

class A<T>
{
	public interface IB
	{
	}
}

class C<T, U> : A<T>.IB, A<U>.IB
{
}