* corlib, however, so we need a more robust version that doesn't care
* about missing attributes.
*/
-#if 0
+#if 1
MonoCustomAttrInfo *attrs = mono_custom_attrs_from_assembly_checked (assembly, TRUE, error);
return_val_if_nok (error, FALSE);
if (!attrs)
mono_trace (G_LOG_LEVEL_INFO, MONO_TRACE_ASSEMBLY, "Prepared to set up assembly '%s' (%s)", ass->aname.name, image->name);
+ image->assembly = ass;
+
/* We need to check for ReferenceAssmeblyAttribute before we
* mark the assembly as loaded and before we fire the load
* hook. Otherwise mono_domain_fire_assembly_load () in
mono_error_cleanup (&refasm_error);
}
- image->assembly = ass;
-
loaded_assemblies = g_list_prepend (loaded_assemblies, ass);
mono_assemblies_unlock ();