[mcs] C#7 out variable declaration
[mono.git] / mcs / errors / cs0657-20.cs
index 64ba242d8f12354a1b6b3c8cd98b618aae6301c5..5fb9ae8945d7f6f7eb2154b06a3b51f321c6295c 100644 (file)
@@ -1,12 +1,13 @@
-// cs0657-20.cs: `return' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method'\r
-// Line : 7\r
-\r
-using System;\r
-\r
-public class C\r
-{\r
-       [return: CLSCompliant (false)]\r
-       ~C ()\r
-       {\r
-       }\r
-}\r
+// CS0657: `return' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method'. All attributes in this section will be ignored
+// Line: 9
+// Compiler options: -warnaserror
+
+using System;
+
+public class C
+{
+       [return: CLSCompliant (false)]
+       ~C ()
+       {
+       }
+}