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: 0e8e1d4aa8195b28cdd41c0b7d42da8b2fc224b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// cs0592-9.cs: The attribute `SAttribute' 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 {
        }
    }
}