Warnings cleanup
[mcs.git] / errors / gcs0416-2.cs
blob95a637ba3faecab5d0c23456f46e8836fbc48ae0
1 // CS0416: `N.C<T>': an attribute argument cannot use type parameters
2 // Line: 15
4 using System;
6 public class TestAttribute : Attribute
8 object type;
10 public object Type
12 get
14 return type;
16 set
18 type = value;
23 namespace N
25 class C<T>
27 [Test(Type=typeof(C<T>))]
28 public void Foo()