Extension method argument cannot exercise numeric conversion
[mono.git] / mcs / errors / cs0724.cs
index 0b9de41ebf5939c45852684bea88a4652a78d3f4..b4da1604af52ca45cae5b540527170efa7852f2e 100644 (file)
@@ -1,23 +1,23 @@
-// CS0742: A throw statement with no argument is only allowed in a catch clause nested inside of the innermost catch clause
+// cs0724.cs: A throw statement with no arguments is not allowed inside of a finally clause nested inside of the innermost catch clause
 // Line: 14
 
-class C\r
-{\r
-       static void Test()\r
-       {\r
-               try\r
-               {\r
-                       throw new System.Exception();\r
-               }\r
-               catch\r
-               {\r
-                       try\r
-                       {\r
-                       }\r
-                       finally\r
-                       {\r
-                               throw;\r
-                       }\r
-               }\r
-       }\r
-}
\ No newline at end of file
+class C
+{
+       static void Test()
+       {
+               try
+               {
+                       throw new System.Exception();
+               }
+               catch
+               {
+                       try
+                       {
+                       }
+                       finally
+                       {
+                               throw;
+                       }
+               }
+       }
+}