copying the latest Sys.Web.Services from trunk.
[mono.git] / mcs / errors / cs0592-9.cs
1 // cs0657.cs : Attribute 'S' 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 }