Merge pull request #3585 from lateralusX/jlorenss/win-counter-warning
[mono.git] / mcs / errors / cs0416-3.cs
1 // CS0416: `C<T>.N': an attribute argument cannot use type parameters
2 // Line: 17
3
4 using System;
5
6 public class TestAttribute : Attribute
7 {
8         public TestAttribute(Type type)
9         {
10         }
11 }
12
13 class C<T>
14 {
15         class N
16         {
17                 [Test(typeof(N))]
18                 public static void Foo()
19                 {
20                 }
21         }
22 }