-// 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;
+ }
+ }
+ }
+}