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

cs0592-9.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c5838ea44eadf3e280cc821e7fff8afe7986cd06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// cs0657.cs : Attribute 'S' is not valid on this declaration type. It is valid on 'return' declarations only.
// Line : 12

using System;

[AttributeUsage (AttributeTargets.ReturnValue)]
class SAttribute: Attribute {}

public class C
{
    int Prop {
        [param: S]
        set {
        }
    }
}