**** Merged from MCS ****
[mono-project.git] / mcs / errors / cs0657-12.cs
blob9e52be5a9d1154344009bf0ae7bffe41f4d45f45
1 // cs0657.cs : 'type' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'method, param, return'
2 // Line: 14
4 using System;
6 [AttributeUsage(AttributeTargets.All)]
7 public class TestAttribute: Attribute
11 class C
13 int Prop {
14 [type:Test]
15 set {