Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0657-12.cs
1 // CS0657: `type' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method, param, 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         [type:Test]
16         set {
17         }
18     }
19 }