summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0416-3.cs
blob: b6eed9bc98b2ee53ac349ca057f6ba66e98fb8a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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()
		{
		}
	}
}