#define MONO_PUBLIC_KEY_TOKEN_LENGTH 17
-#define PROCESSOR_ARCHITECTURE_NONE 0
-#define PROCESSOR_ARCHITECTURE_MSIL 1
-#define PROCESSOR_ARCHITECTURE_X86 2
-#define PROCESSOR_ARCHITECTURE_IA64 3
-#define PROCESSOR_ARCHITECTURE_AMD64 4
+#define MONO_PROCESSOR_ARCHITECTURE_NONE 0
+#define MONO_PROCESSOR_ARCHITECTURE_MSIL 1
+#define MONO_PROCESSOR_ARCHITECTURE_X86 2
+#define MONO_PROCESSOR_ARCHITECTURE_IA64 3
+#define MONO_PROCESSOR_ARCHITECTURE_AMD64 4
struct _MonoAssemblyName {
const char *name;
guint32 raw_data_len;
guint8 raw_buffer_used : 1;
guint8 raw_data_allocated : 1;
+ guint8 fileio_used : 1;
#ifdef HOST_WIN32
/* Module was loaded using LoadLibrary. */
GHashTable *managed_wrapper_cache;
GHashTable *native_wrapper_cache;
GHashTable *native_wrapper_aot_cache;
+ GHashTable *native_func_wrapper_aot_cache;
GHashTable *remoting_invoke_cache;
GHashTable *synchronized_cache;
GHashTable *unbox_wrapper_cache;
GHashTable *cominterop_invoke_cache;
GHashTable *cominterop_wrapper_cache; /* LOCKING: marshal lock */
GHashTable *thunk_invoke_cache;
+ GHashTable *wrapper_param_names;
/*
* indexed by MonoClass pointers
/* List of image sets containing this image */
GSList *image_sets;
+ /* Caches for MonoClass-es representing anon generic params */
+ MonoClass **var_cache_fast;
+ MonoClass **mvar_cache_fast;
+ GHashTable *var_cache_slow;
+ GHashTable *mvar_cache_slow;
+
+ /* Maps malloc-ed char* pinvoke scope -> MonoDl* */
+ GHashTable *pinvoke_scopes;
+
+ /* Maps malloc-ed char* pinvoke scope -> malloced-ed char* filename */
+ GHashTable *pinvoke_scope_filenames;
+
/*
* No other runtime locks must be taken while holding this lock.
* It's meant to be used only to mutate and query structures part of this image.
GHashTable *vararg_aux_hash;
MonoGHashTable *generic_def_objects;
MonoGHashTable *methodspec;
+ /*
+ * Maps final token values to the object they describe.
+ */
+ MonoGHashTable *remapped_tokens;
gboolean run;
gboolean save;
gboolean initial_image;
void mono_assembly_load_friends (MonoAssembly* ass) MONO_INTERNAL;
gboolean mono_assembly_has_skip_verification (MonoAssembly* ass) MONO_INTERNAL;
+void mono_assembly_release_gc_roots (MonoAssembly *assembly) MONO_INTERNAL;
gboolean mono_assembly_close_except_image_pools (MonoAssembly *assembly) MONO_INTERNAL;
void mono_assembly_close_finish (MonoAssembly *assembly) MONO_INTERNAL;
MonoMethod* method_from_method_def_or_ref (MonoImage *m, guint32 tok, MonoGenericContext *context) MONO_INTERNAL;
+MonoMethod *mono_get_method_constrained_with_method (MonoImage *image, MonoMethod *method, MonoClass *constrained_class, MonoGenericContext *context) MONO_INTERNAL;
+
#endif /* __MONO_METADATA_INTERNALS_H__ */