[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git] / mcs / errors / cs0315-4.cs
1 // 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>'
2 // Line: 4
3
4 public class A<T> where T : A<short>.N1<T>
5 {
6     public class N1<U>
7     {
8     }
9 }