1 2 3 4 5 6 7 8 9 10 11
// CS0698: A generic type cannot derive from `X' because it is an attribute class // Line: 6 using System; class Stack<T> : X { } class X : Attribute { }