2 // Test catch and fault 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-b' { }
17 .field private static int32 exc_caught
18 .field private static int32 flt_caught
20 .method public static specialname void .cctor ()
23 stsfld int32 T::exc_caught
26 stsfld int32 T::flt_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
47 stsfld int32 T::flt_caught
53 ldsfld int32 T::exc_caught
56 ldsfld int32 T::flt_caught
61 call void [mscorlib]System.Console::WriteLine (string)
67 call void [mscorlib]System.Console::WriteLine (string)