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

cs0657-13.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 360a07b506fedeadf0f0138ae00102b13cffdbb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// cs0657.cs : 'type' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'property'
// Line: 13

using System;

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

class C
{
    [type:Test]
    int Prop {
        set {
        }
    }
}