summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0315-4.cs
blob: e79d625b641b5bdf2018ce1203b2efda94d1ccce (plain)
1
2
3
4
5
6
7
8
9
// CS0315: The type `short' cannot be used as type parameter `T' in the generic type or method `A<T>'. There is no boxing conversion from `short' to `A<short>.N1<short>'
// Line: 4

public class A<T> where T : A<short>.N1<T>
{
    public class N1<U>
    {
    }
}