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: 4987972290950c068a4f65903c1744d79951eeed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// cs0592-9.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 {
        }
    }
}