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

cs0657-12.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9e52be5a9d1154344009bf0ae7bffe41f4d45f45 (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 'method, param, return'
// Line: 14

using System;

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

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