a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
268 B
C#
19 lines
268 B
C#
// CS0416: `C<T>': an attribute argument cannot use type parameters
|
|
// Line: 15
|
|
|
|
using System;
|
|
|
|
public class TestAttribute : Attribute
|
|
{
|
|
public TestAttribute(Type type)
|
|
{
|
|
}
|
|
}
|
|
|
|
class C<T>
|
|
{
|
|
[Test(typeof(C<T>))]
|
|
public static void Foo()
|
|
{
|
|
}
|
|
} |