1 .assembly extern mscorlib {}
3 .assembly 'method-access' {}
5 .class public MethFail extends [mscorlib]System.Object {
7 .method private void foo ()
12 .method static private void sfoo ()
17 .method public specialname rtspecialname instance void .ctor()
20 call instance void [mscorlib]System.Object::.ctor()
27 .method static void call_sfoo ()
29 call void MethFail::sfoo ()
33 .method static void call_foo ()
37 newobj instance void MethFail::.ctor()
40 call instance void MethFail::foo ()
44 .method static int32 Main ()
49 call void Test::call_sfoo ()
51 } catch [mscorlib]System.MethodAccessException {
54 } catch [mscorlib]System.Exception {
61 call void Test::call_foo ()
63 } catch [mscorlib]System.MethodAccessException {
66 } catch [mscorlib]System.Exception {
73 call void [mscorlib]System.Console::WriteLine(string)
79 call void [mscorlib]System.Console::WriteLine(string)