1 .assembly extern mscorlib
4 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
6 .assembly extern public_field
12 .custom instance void class [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = (
13 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx
14 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows.
16 .hash algorithm 0x00008004
19 .module resolve_field_bug.exe
22 .class public auto ansi beforefieldinit Driver extends [mscorlib]System.Object
24 .method public static hidebysig default void MemberRefToken () cil managed
28 ldfld int32 [mscorlib]System.String::FieldThatDontExist
33 .method public static hidebysig default int32 Main () cil managed
38 class [mscorlib]System.Reflection.Assembly V_0,
39 class [mscorlib]System.Reflection.Module V_1,
42 call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly()
45 callvirt instance class [mscorlib]System.Reflection.Module[] class [mscorlib]System.Reflection.Assembly::GetLoadedModules()
51 ldc.i4 0xA000001 /* Has to match FieldThatDontExist TOKEN */
52 callvirt instance class [mscorlib]System.Reflection.FieldInfo class [mscorlib]System.Reflection.Module::ResolveField(int32)
53 call void class [mscorlib]System.Console::WriteLine(string, object)
57 } catch [mscorlib]System.MissingFieldException {