public static void EmitLoad(this ILProcessor il, FieldDefinition field) { il.Emit(field.IsStatic ? OpCodes.Ldsfld : OpCodes.Ldfld, field); }