12 lines
157 B
C#
12 lines
157 B
C#
|
// 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
|
||
|
{
|
||
|
}
|