diff options
Diffstat (limited to 'mono/metadata/metadata-internals.h')
-rw-r--r-- | mono/metadata/metadata-internals.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/mono/metadata/metadata-internals.h b/mono/metadata/metadata-internals.h index 0e6bf2429ec..fe89dde8f5c 100644 --- a/mono/metadata/metadata-internals.h +++ b/mono/metadata/metadata-internals.h @@ -169,11 +169,7 @@ struct _MonoAssemblyName { uint32_t hash_alg; uint32_t hash_len; uint32_t flags; -#ifdef ENABLE_NETCORE - int32_t major, minor, build, revision, arch; -#else uint16_t major, minor, build, revision, arch; -#endif //Add members for correct work with mono_stringify_assembly_name MonoBoolean without_version; MonoBoolean without_culture; @@ -466,12 +462,6 @@ struct _MonoImage { */ MonoAssembly *assembly; -#ifdef ENABLE_NETCORE - /* - * The AssemblyLoadContext that this image was loaded into. - */ - MonoAssemblyLoadContext *alc; -#endif /* * Indexed by method tokens and typedef tokens. @@ -574,10 +564,8 @@ struct _MonoImage { MonoConcurrentHashTable *var_gparam_cache; MonoConcurrentHashTable *mvar_gparam_cache; -#ifndef ENABLE_NETCORE /* Maps malloc-ed char* pinvoke scope -> MonoDl* */ GHashTable *pinvoke_scopes; -#endif /* The loader used to load this image */ MonoImageLoader *loader; @@ -1320,11 +1308,7 @@ static inline MonoAssemblyLoadContext * mono_image_get_alc (MonoImage *image) { -#ifndef ENABLE_NETCORE return NULL; -#else - return image->alc; -#endif } static inline |