};
#endif
-/*
- * keeps track of loaded assemblies
- */
+/* keeps track of loaded assemblies, excluding dynamic ones */
static GList *loaded_assemblies = NULL;
static MonoAssembly *corlib;
#ifdef ENABLE_NETCORE
void
mono_set_pinvoke_search_directories (int dir_count, char **dirs);
-#endif
-#ifdef ENABLE_NETCORE
void
mono_alc_init (MonoAssemblyLoadContext *alc, MonoDomain *domain);
#endif
}
-#ifdef ENABLE_NETCORE
static inline
MonoAssemblyLoadContext *
mono_assembly_get_alc (MonoAssembly *assm)
{
- return assm->image->alc;
+ return mono_image_get_alc (assm->image);
}
-#endif
#endif /* __MONO_METADATA_INTERNALS_H__ */