Merge pull request #5082 from kumpera/fix-ro-fs-file-delete
[mono.git] / mcs / errors / cs0592-9.cs
1 // CS0592: The attribute `SAttribute' is not valid on this declaration type. It is valid on `return' declarations only
2 // Line : 12
3
4 using System;
5
6 [AttributeUsage (AttributeTargets.ReturnValue)]
7 class SAttribute: Attribute {}
8
9 public class C
10 {
11     int Prop {
12         [param: S]
13         set {
14         }
15     }
16 }