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

cs0592-5.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f0f99103cf0bbda912c33ee7c2cfcf665901cb1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// cs0592-5.cs: The attribute `TestAttribute' is not valid on this declaration type. It is valid on `constructor' declarations only
// Line: 6

using System;

[TestAttribute ()]
enum E {
}

[AttributeUsage(AttributeTargets.Constructor)]
public class TestAttribute: Attribute {
}