Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gcs0416.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a56ac6f06d77d245a5a8a76a08487559e047ba92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// CS0416: `C<T>': an attribute argument cannot use type parameters
// Line: 15

using System;

public class TestAttribute : Attribute
{
    public TestAttribute(Type type)
    {
    }
}

class C<T>
{
    [Test(typeof(C<T>))]
    public static void Foo()
    {
    }
}