Merge pull request #3769 from evincarofautumn/fix-verify-before-allocs
[mono.git] / mcs / errors / cs0416.cs
1 // CS0416: `C<T>': an attribute argument cannot use type parameters
2 // Line: 15
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     [Test(typeof(C<T>))]
16     public static void Foo()
17     {
18     }
19 }