tag a couple of obsolete members
[mcs.git] / ilasm / tests / test-26.il
blob61325fda766645e6c3dad690f7f85938b21b9fc2
3 .assembly extern mscorlib {
8 .class public Test {
10        .method public static void main ()
11        {
12                 .entrypoint
13                 
14                 try_begin:
15                         ldstr "BEGIN TRY"
16                         call void [mscorlib]System.Console::WriteLine (string)
17                         
18                         leave try_end
19                 exc_handler:
20                         ldstr "IN HANDLER"
21                         call void [mscorlib]System.Console::WriteLine (string)
23                         leave try_end
24                 try_end:
25                         ldstr "END TRY"
26                         call void [mscorlib]System.Console::WriteLine (string)
27                         
28                 .try try_begin to try_end catch [mscorlib]System.Exception handler exc_handler to try_end
30        }