[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git] / mcs / errors / cs0698-2.cs
1 // CS0698: A generic type cannot derive from `X' because it is an attribute class
2 // Line: 6
3
4 using System;
5
6 class Stack<T> : X
7 { }
8
9 class X : Attribute
10 {
11 }