[System.Net.Http] HttpClient timeout range checks. Fixes #25755
[mono.git] / mcs / tests / test-519.cs
1 using System;
2
3 class Foo {
4         public static int Main ()
5         {
6                 try {
7                         f ();
8                         return 1;
9                 } catch {
10                 }
11
12                 try {
13                         f2 ();
14                         return 2;
15                 } catch (ApplicationException) {
16                 }
17
18                 return 0;
19         }
20
21         static void f ()
22         {
23                 try {
24                         goto skip;
25                 } catch {
26                         goto skip;
27                 } finally {
28                         throw new System.Exception ();
29                 }
30         skip:
31                 ;
32         }
33
34         static void f2 ()
35         {
36                 try {
37                         goto FinallyExit;
38                 } finally {
39                         throw new ApplicationException ();
40                 }
41         FinallyExit:
42                 Console.WriteLine ("Too late");
43         }
44 }