Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0657-11.cs
1 // CS0657: `param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method, return'. All attributes in this section will be ignored
2 // Line: 15
3 // Compiler options: -warnaserror
4
5 using System;
6
7 [AttributeUsage(AttributeTargets.All)]
8 public class TestAttribute: Attribute
9 {
10 }
11
12 class C
13 {
14     int Prop {
15         [param:Test]
16         get {
17             return 1;
18         }
19     }
20 }