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

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

using System;

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

class C
{
    int Prop {
        [param:Test]
        get {
            return 1;
        }
    }
}