[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git] / mcs / errors / cs0701-3.cs
1 // CS0701: `string' is not a valid constraint. A constraint must be an interface, a non-sealed class or a type parameter
2 // Line: 4
3
4 class Foo<T> where T : string
5 {
6 }