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