2 // Test catch and finally blocks
5 // Jackson Harper (Jackson@LatitudeGeo.com)
7 // (C) 2003 Jackson Harper, All rights reserved
10 .assembly extern mscorlib { }
11 .assembly extern System { }
12 .assembly 'test-seh-a' { }
17 .field private static int32 exc_caught
18 .field private static int32 fin_caught
20 .method public static specialname void .cctor ()
23 stsfld int32 T::exc_caught
26 stsfld int32 T::fin_caught
31 .method public static int32 Main ()
38 newobj void [System]System.Uri::.ctor (string)
40 } catch [mscorlib]System.Exception {
42 stsfld int32 T::exc_caught
48 stsfld int32 T::fin_caught
54 ldsfld int32 T::exc_caught
57 ldsfld int32 T::fin_caught
62 call void [mscorlib]System.Console::WriteLine (string)
68 call void [mscorlib]System.Console::WriteLine (string)