There were some unquoted backticks and form-feed characters.
} size_data;
/*========================= End of Typedefs ========================*/
-\f
+
/*------------------------------------------------------------------*/
/* */
/* Name - add_general */
}
/*========================= End of Function ========================*/
-\f
+
/*------------------------------------------------------------------*/
/* */
/* Name - calculate_sizes */
}
/*========================= End of Function ========================*/
-\f
+
/*------------------------------------------------------------------*/
/* */
/* Name - emit_prolog */
}
/*========================= End of Function ========================*/
-\f
+
/*------------------------------------------------------------------*/
/* */
/* Name - emit_save_parameters */
}
/*========================= End of Function ========================*/
-\f
+
/*------------------------------------------------------------------*/
/* */
/* Name - alloc_code_memory */
}
/*========================= End of Function ========================*/
-\f
+
/*------------------------------------------------------------------*/
/* */
/* Name - emit_call_and_store_retval */
}
/*========================= End of Function ========================*/
-\f
+
/*------------------------------------------------------------------*/
/* */
/* Name - emit_epilog */
}
/*========================= End of Function ========================*/
-\f
+
/*------------------------------------------------------------------*/
/* */
/* Name - mono_arch_create_trampoline. */
}
/*========================= End of Function ========================*/
-\f
+
/*------------------------------------------------------------------*/
/* */
/* Name - mono_arch_create_method_pointer */
static MonoLoadFunc load_function = NULL;
/* Lazy class loading functions */
-static GENERATE_GET_CLASS_WITH_CACHE (assembly, System.Reflection, Assembly);
+static GENERATE_GET_CLASS_WITH_CACHE (assembly, System.Reflection, "Assembly");
-static GENERATE_GET_CLASS_WITH_CACHE (appdomain, System, AppDomain);
+static GENERATE_GET_CLASS_WITH_CACHE (appdomain, System, "AppDomain");
static MonoDomain *
mono_domain_from_appdomain_handle (MonoAppDomainHandle appdomain);
static GSList *loaded_assembly_bindings = NULL;
/* Class lazy loading functions */
-static GENERATE_TRY_GET_CLASS_WITH_CACHE (internals_visible, System.Runtime.CompilerServices, InternalsVisibleToAttribute)
+static GENERATE_TRY_GET_CLASS_WITH_CACHE (internals_visible, System.Runtime.CompilerServices, "InternalsVisibleToAttribute")
static MonoAssembly*
mono_assembly_invoke_search_hook_internal (MonoAssemblyName *aname, MonoAssembly *requesting, gboolean refonly, gboolean postload);
static MonoAssembly*
static MonoClass *tmp_class; \
MonoClass *klass = tmp_class; \
if (!klass) { \
- klass = mono_class_load_from_name (mono_defaults.corlib, #namespace, #name); \
+ klass = mono_class_load_from_name (mono_defaults.corlib, #namespace, name); \
mono_memory_barrier (); \
tmp_class = klass; \
} \
MonoClass *klass = (MonoClass *)tmp_class; \
mono_memory_barrier (); \
if (!inited) { \
- klass = mono_class_try_load_from_name (mono_defaults.corlib, #namespace, #name); \
+ klass = mono_class_try_load_from_name (mono_defaults.corlib, #namespace, name); \
tmp_class = klass; \
mono_memory_barrier (); \
inited = TRUE; \
}
/* Declare all shared lazy type lookup functions */
-GENERATE_TRY_GET_CLASS_WITH_CACHE (safehandle, System.Runtime.InteropServices, SafeHandle)
+GENERATE_TRY_GET_CLASS_WITH_CACHE (safehandle, System.Runtime.InteropServices, "SafeHandle")
/**
* mono_method_get_base_method:
#define STDCALL
#endif
-GENERATE_GET_CLASS_WITH_CACHE (interop_proxy, Mono.Interop, ComInteropProxy)
-GENERATE_GET_CLASS_WITH_CACHE (idispatch, Mono.Interop, IDispatch)
-GENERATE_GET_CLASS_WITH_CACHE (iunknown, Mono.Interop, IUnknown)
+GENERATE_GET_CLASS_WITH_CACHE (interop_proxy, Mono.Interop, "ComInteropProxy")
+GENERATE_GET_CLASS_WITH_CACHE (idispatch, Mono.Interop, "IDispatch")
+GENERATE_GET_CLASS_WITH_CACHE (iunknown, Mono.Interop, "IUnknown")
-GENERATE_GET_CLASS_WITH_CACHE (com_object, System, __ComObject)
-GENERATE_GET_CLASS_WITH_CACHE (variant, System, Variant)
+GENERATE_GET_CLASS_WITH_CACHE (com_object, System, "__ComObject")
+GENERATE_GET_CLASS_WITH_CACHE (variant, System, "Variant")
-static GENERATE_GET_CLASS_WITH_CACHE (interface_type_attribute, System.Runtime.InteropServices, InterfaceTypeAttribute)
-static GENERATE_GET_CLASS_WITH_CACHE (guid_attribute, System.Runtime.InteropServices, GuidAttribute)
+static GENERATE_GET_CLASS_WITH_CACHE (interface_type_attribute, System.Runtime.InteropServices, "InterfaceTypeAttribute")
+static GENERATE_GET_CLASS_WITH_CACHE (guid_attribute, System.Runtime.InteropServices, "GuidAttribute")
/* Upon creation of a CCW, only allocate a weak handle and set the
* reference count to 0. If the unmanaged client code decides to addref and
static gboolean type_is_reference (MonoType *type);
-static GENERATE_GET_CLASS_WITH_CACHE (custom_attribute_typed_argument, System.Reflection, CustomAttributeTypedArgument);
-static GENERATE_GET_CLASS_WITH_CACHE (custom_attribute_named_argument, System.Reflection, CustomAttributeNamedArgument);
+static GENERATE_GET_CLASS_WITH_CACHE (custom_attribute_typed_argument, System.Reflection, "CustomAttributeTypedArgument");
+static GENERATE_GET_CLASS_WITH_CACHE (custom_attribute_named_argument, System.Reflection, "CustomAttributeNamedArgument");
/*
* LOCKING: Acquires the loader lock.
ICALL_EXPORT MonoReflectionAssemblyHandle ves_icall_System_Reflection_Assembly_GetCallingAssembly (MonoError *error);
/* Lazy class loading functions */
-static GENERATE_GET_CLASS_WITH_CACHE (system_version, System, Version)
-static GENERATE_GET_CLASS_WITH_CACHE (assembly_name, System.Reflection, AssemblyName)
-static GENERATE_GET_CLASS_WITH_CACHE (constructor_info, System.Reflection, ConstructorInfo)
-static GENERATE_GET_CLASS_WITH_CACHE (property_info, System.Reflection, PropertyInfo)
-static GENERATE_GET_CLASS_WITH_CACHE (event_info, System.Reflection, EventInfo)
-static GENERATE_GET_CLASS_WITH_CACHE (module, System.Reflection, Module)
+static GENERATE_GET_CLASS_WITH_CACHE (system_version, System, "Version")
+static GENERATE_GET_CLASS_WITH_CACHE (assembly_name, System.Reflection, "AssemblyName")
+static GENERATE_GET_CLASS_WITH_CACHE (constructor_info, System.Reflection, "ConstructorInfo")
+static GENERATE_GET_CLASS_WITH_CACHE (property_info, System.Reflection, "PropertyInfo")
+static GENERATE_GET_CLASS_WITH_CACHE (event_info, System.Reflection, "EventInfo")
+static GENERATE_GET_CLASS_WITH_CACHE (module, System.Reflection, "Module")
static MonoArrayHandle
type_array_from_modifiers (MonoImage *image, MonoType *type, int optional, MonoError *error);
static const RegionInfoEntry* region_info_entry_from_lcid (int lcid);
/* Lazy class loading functions */
-static GENERATE_GET_CLASS_WITH_CACHE (culture_info, System.Globalization, CultureInfo)
+static GENERATE_GET_CLASS_WITH_CACHE (culture_info, System.Globalization, "CultureInfo")
static int
culture_lcid_locator (const void *a, const void *b)
mono_icall_end (MonoThreadInfo *info, HandleStackMark *stackmark, MonoError *error);
/* Lazy class loading functions */
-static GENERATE_GET_CLASS_WITH_CACHE (string_builder, System.Text, StringBuilder);
-static GENERATE_GET_CLASS_WITH_CACHE (date_time, System, DateTime);
-static GENERATE_GET_CLASS_WITH_CACHE (fixed_buffer_attribute, System.Runtime.CompilerServices, FixedBufferAttribute);
-static GENERATE_TRY_GET_CLASS_WITH_CACHE (unmanaged_function_pointer_attribute, System.Runtime.InteropServices, UnmanagedFunctionPointerAttribute);
-static GENERATE_TRY_GET_CLASS_WITH_CACHE (icustom_marshaler, System.Runtime.InteropServices, ICustomMarshaler);
+static GENERATE_GET_CLASS_WITH_CACHE (string_builder, System.Text, "StringBuilder");
+static GENERATE_GET_CLASS_WITH_CACHE (date_time, System, "DateTime");
+static GENERATE_GET_CLASS_WITH_CACHE (fixed_buffer_attribute, System.Runtime.CompilerServices, "FixedBufferAttribute");
+static GENERATE_TRY_GET_CLASS_WITH_CACHE (unmanaged_function_pointer_attribute, System.Runtime.InteropServices, "UnmanagedFunctionPointerAttribute");
+static GENERATE_TRY_GET_CLASS_WITH_CACHE (icustom_marshaler, System.Runtime.InteropServices, "ICustomMarshaler");
/* MonoMethod pointers to SafeHandle::DangerousAddRef and ::DangerousRelease */
static MonoMethod *sh_dangerous_add_ref;
class_get_virtual_method (MonoClass *klass, MonoMethod *method, gboolean is_proxy, MonoError *error);
/* Class lazy loading functions */
-static GENERATE_GET_CLASS_WITH_CACHE (pointer, System.Reflection, Pointer)
-static GENERATE_GET_CLASS_WITH_CACHE (remoting_services, System.Runtime.Remoting, RemotingServices)
-static GENERATE_GET_CLASS_WITH_CACHE (unhandled_exception_event_args, System, UnhandledExceptionEventArgs)
-static GENERATE_GET_CLASS_WITH_CACHE (sta_thread_attribute, System, STAThreadAttribute)
-static GENERATE_GET_CLASS_WITH_CACHE (activation_services, System.Runtime.Remoting.Activation, ActivationServices)
+static GENERATE_GET_CLASS_WITH_CACHE (pointer, System.Reflection, "Pointer")
+static GENERATE_GET_CLASS_WITH_CACHE (remoting_services, System.Runtime.Remoting, "RemotingServices")
+static GENERATE_GET_CLASS_WITH_CACHE (unhandled_exception_event_args, System, "UnhandledExceptionEventArgs")
+static GENERATE_GET_CLASS_WITH_CACHE (sta_thread_attribute, System, "STAThreadAttribute")
+static GENERATE_GET_CLASS_WITH_CACHE (activation_services, System.Runtime.Remoting.Activation, "ActivationServices")
#define ldstr_lock() mono_os_mutex_lock (&ldstr_section)
static MonoType* mono_reflection_get_type_with_rootimage (MonoImage *rootimage, MonoImage* image, MonoTypeNameParse *info, gboolean ignorecase, gboolean *type_resolve, MonoError *error);
/* Class lazy loading functions */
-static GENERATE_GET_CLASS_WITH_CACHE (mono_assembly, System.Reflection, MonoAssembly)
-static GENERATE_GET_CLASS_WITH_CACHE (mono_module, System.Reflection, MonoModule)
-static GENERATE_GET_CLASS_WITH_CACHE (mono_method, System.Reflection, MonoMethod);
-static GENERATE_GET_CLASS_WITH_CACHE (mono_cmethod, System.Reflection, MonoCMethod);
-static GENERATE_GET_CLASS_WITH_CACHE (mono_field, System.Reflection, MonoField);
-static GENERATE_GET_CLASS_WITH_CACHE (mono_event, System.Reflection, MonoEvent);
-static GENERATE_GET_CLASS_WITH_CACHE (mono_property, System.Reflection, MonoProperty);
-static GENERATE_GET_CLASS_WITH_CACHE (mono_parameter_info, System.Reflection, MonoParameterInfo);
-static GENERATE_GET_CLASS_WITH_CACHE (missing, System.Reflection, Missing);
-static GENERATE_GET_CLASS_WITH_CACHE (method_body, System.Reflection, MethodBody);
-static GENERATE_GET_CLASS_WITH_CACHE (local_variable_info, System.Reflection, LocalVariableInfo);
-static GENERATE_GET_CLASS_WITH_CACHE (exception_handling_clause, System.Reflection, ExceptionHandlingClause);
-static GENERATE_GET_CLASS_WITH_CACHE (type_builder, System.Reflection.Emit, TypeBuilder);
-static GENERATE_GET_CLASS_WITH_CACHE (dbnull, System, DBNull);
+static GENERATE_GET_CLASS_WITH_CACHE (mono_assembly, System.Reflection, "MonoAssembly")
+static GENERATE_GET_CLASS_WITH_CACHE (mono_module, System.Reflection, "MonoModule")
+static GENERATE_GET_CLASS_WITH_CACHE (mono_method, System.Reflection, "MonoMethod");
+static GENERATE_GET_CLASS_WITH_CACHE (mono_cmethod, System.Reflection, "MonoCMethod");
+static GENERATE_GET_CLASS_WITH_CACHE (mono_field, System.Reflection, "MonoField");
+static GENERATE_GET_CLASS_WITH_CACHE (mono_event, System.Reflection, "MonoEvent");
+static GENERATE_GET_CLASS_WITH_CACHE (mono_property, System.Reflection, "MonoProperty");
+static GENERATE_GET_CLASS_WITH_CACHE (mono_parameter_info, System.Reflection, "MonoParameterInfo");
+static GENERATE_GET_CLASS_WITH_CACHE (missing, System.Reflection, "Missing");
+static GENERATE_GET_CLASS_WITH_CACHE (method_body, System.Reflection, "MethodBody");
+static GENERATE_GET_CLASS_WITH_CACHE (local_variable_info, System.Reflection, "LocalVariableInfo");
+static GENERATE_GET_CLASS_WITH_CACHE (exception_handling_clause, System.Reflection, "ExceptionHandlingClause");
+static GENERATE_GET_CLASS_WITH_CACHE (type_builder, System.Reflection.Emit, "TypeBuilder");
+static GENERATE_GET_CLASS_WITH_CACHE (dbnull, System, "DBNull");
static int class_ref_info_handle_count;
type_from_handle (MonoType *handle);
/* Class lazy loading functions */
-static GENERATE_GET_CLASS_WITH_CACHE (remoting_services, System.Runtime.Remoting, RemotingServices)
-static GENERATE_GET_CLASS_WITH_CACHE (call_context, System.Runtime.Remoting.Messaging, CallContext)
-static GENERATE_GET_CLASS_WITH_CACHE (context, System.Runtime.Remoting.Contexts, Context)
+static GENERATE_GET_CLASS_WITH_CACHE (remoting_services, System.Runtime.Remoting, "RemotingServices")
+static GENERATE_GET_CLASS_WITH_CACHE (call_context, System.Runtime.Remoting.Messaging, "CallContext")
+static GENERATE_GET_CLASS_WITH_CACHE (context, System.Runtime.Remoting.Contexts, "Context")
static mono_mutex_t remoting_mutex;
static gboolean remoting_mutex_inited;
#ifndef DISABLE_SECURITY
/* Class lazy loading functions */
-static GENERATE_GET_CLASS_WITH_CACHE (security_critical, System.Security, SecurityCriticalAttribute)
-static GENERATE_GET_CLASS_WITH_CACHE (security_safe_critical, System.Security, SecuritySafeCriticalAttribute)
+static GENERATE_GET_CLASS_WITH_CACHE (security_critical, System.Security, "SecurityCriticalAttribute")
+static GENERATE_GET_CLASS_WITH_CACHE (security_safe_critical, System.Security, "SecuritySafeCriticalAttribute")
static MonoClass*
security_critical_attribute (void)
#include "security-manager.h"
/* Class lazy loading functions */
-static GENERATE_GET_CLASS_WITH_CACHE (security_manager, System.Security, SecurityManager)
-static GENERATE_TRY_GET_CLASS_WITH_CACHE (execution_context, System.Threading, ExecutionContext)
+static GENERATE_GET_CLASS_WITH_CACHE (security_manager, System.Security, "SecurityManager")
+static GENERATE_TRY_GET_CLASS_WITH_CACHE (execution_context, System.Threading, "ExecutionContext")
static MonoSecurityMode mono_security_mode = MONO_SECURITY_MODE_NONE;
#include "mono/utils/mono-digest.h"
#include "mono/utils/w32api.h"
-static GENERATE_GET_CLASS_WITH_CACHE (marshal_as_attribute, System.Runtime.InteropServices, MarshalAsAttribute);
-static GENERATE_GET_CLASS_WITH_CACHE (module_builder, System.Reflection.Emit, ModuleBuilder);
+static GENERATE_GET_CLASS_WITH_CACHE (marshal_as_attribute, System.Runtime.InteropServices, "MarshalAsAttribute");
+static GENERATE_GET_CLASS_WITH_CACHE (module_builder, System.Reflection.Emit, "ModuleBuilder");
static char* string_to_utf8_image_raw (MonoImage *image, MonoString *s, MonoError *error);
static gint32 managed_thread_id_counter = 0;
/* Class lazy loading functions */
-static GENERATE_GET_CLASS_WITH_CACHE (appdomain_unloaded_exception, System, AppDomainUnloadedException)
+static GENERATE_GET_CLASS_WITH_CACHE (appdomain_unloaded_exception, System, "AppDomainUnloadedException")
static void
mono_threads_lock (void)
code->stack->stype |= BOXED_MASK;
}
/* Class lazy loading functions */
-static GENERATE_GET_CLASS_WITH_CACHE (ienumerable, System.Collections.Generic, IEnumerable`1)
-static GENERATE_GET_CLASS_WITH_CACHE (icollection, System.Collections.Generic, ICollection`1)
-static GENERATE_GET_CLASS_WITH_CACHE (ireadonly_list, System.Collections.Generic, IReadOnlyList`1)
-static GENERATE_GET_CLASS_WITH_CACHE (ireadonly_collection, System.Collections.Generic, IReadOnlyCollection`1)
+static GENERATE_GET_CLASS_WITH_CACHE (ienumerable, System.Collections.Generic, "IEnumerable`1")
+static GENERATE_GET_CLASS_WITH_CACHE (icollection, System.Collections.Generic, "ICollection`1")
+static GENERATE_GET_CLASS_WITH_CACHE (ireadonly_list, System.Collections.Generic, "IReadOnlyList`1")
+static GENERATE_GET_CLASS_WITH_CACHE (ireadonly_collection, System.Collections.Generic, "IReadOnlyCollection`1")
static MonoClass*
static MonoMethodSignature *helper_sig_set_tls_tramp;
/* type loading helpers */
-static GENERATE_GET_CLASS_WITH_CACHE (runtime_helpers, System.Runtime.CompilerServices, RuntimeHelpers)
-static GENERATE_TRY_GET_CLASS_WITH_CACHE (debuggable_attribute, System.Diagnostics, DebuggableAttribute)
+static GENERATE_GET_CLASS_WITH_CACHE (runtime_helpers, System.Runtime.CompilerServices, "RuntimeHelpers")
+static GENERATE_TRY_GET_CLASS_WITH_CACHE (debuggable_attribute, System.Diagnostics, "DebuggableAttribute")
/*
* Instruction metadata
}
/* Class lazy loading functions */
-static GENERATE_GET_CLASS_WITH_CACHE (runtime_compat_attr, System.Runtime.CompilerServices, RuntimeCompatibilityAttribute)
+static GENERATE_GET_CLASS_WITH_CACHE (runtime_compat_attr, System.Runtime.CompilerServices, "RuntimeCompatibilityAttribute")
/*
* wrap_non_exception_throws:
}
/* Lazy class loading functions */
-static GENERATE_TRY_GET_CLASS_WITH_CACHE (iasync_state_machine, System.Runtime.CompilerServices, IAsyncStateMachine)
+static GENERATE_TRY_GET_CLASS_WITH_CACHE (iasync_state_machine, System.Runtime.CompilerServices, "IAsyncStateMachine")
static G_GNUC_UNUSED gboolean
is_async_state_machine_class (MonoClass *klass)