-// cs0657-7.cs: `method' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `assembly, module'
-// Line : 4
+// CS0657: `method' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `assembly, module'. All attributes in this section will be ignored
+// Line: 5
+// Compiler options: -warnaserror
[method: Obsolete]
delegate void Delegate ();