Merge pull request #1900 from esdrubal/cyclic-ref
[mono-project.git] / mcs / errors / cs0657-8.cs
blob2d6c227769185aa9560ff4401c76512b2120a1aa
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: 9
3 // Compiler options: -warnaserror
5 using System;
7 struct S
9 [param: Obsolete]
10 void method () {}