Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / errors / cs0657-11.cs
blob0166b8f977c6827dbc8f67e5325ebd25813b04bd
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
5 using System;
7 [AttributeUsage(AttributeTargets.All)]
8 public class TestAttribute: Attribute
12 class C
14 int Prop {
15 [param:Test]
16 get {
17 return 1;