[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / errors / cs0416-2.cs
1 // CS0416: `N.C<T>': an attribute argument cannot use type parameters
2 // Line: 15
3
4 using System;
5
6 public class TestAttribute : Attribute
7 {
8     object type;
9
10     public object Type
11     {
12         get
13         {
14             return type;
15         }
16         set
17         {
18             type = value;
19         }
20     }
21 }
22
23 namespace N
24 {
25     class C<T>
26     {
27         [Test(Type=typeof(C<T>))]
28         public void Foo()
29         {
30         }
31     }
32 }