Fix roslyn install with AOT disabled.
[mono-project.git] / mono / metadata / exception-internals.h
blobe36e5ef9e76a2de9ea91a20b9e4bd59a6b1472ce
1 #ifndef _MONO_METADATA_EXCEPTION_INTERNALS_H_
2 #define _MONO_METADATA_EXCEPTION_INTERNALS_H_
4 #include <glib.h>
6 #include <mono/metadata/object.h>
7 #include <mono/metadata/handle.h>
8 #include <mono/utils/mono-error.h>
10 MonoException *
11 mono_get_exception_type_initialization_checked (const gchar *type_name, MonoException *inner, MonoError *error);
13 MonoExceptionHandle
14 mono_get_exception_reflection_type_load_checked (MonoArrayHandle types, MonoArrayHandle exceptions, MonoError *error);
16 MonoException *
17 mono_get_exception_runtime_wrapped_checked (MonoObject *wrapped_exception, MonoError *error);
19 MonoException *
20 mono_exception_from_name_two_strings_checked (MonoImage *image, const char *name_space,
21 const char *name, MonoString *a1, MonoString *a2,
22 MonoError *error);
24 MonoException *
25 mono_exception_from_token_two_strings_checked (MonoImage *image, uint32_t token,
26 MonoString *a1, MonoString *a2,
27 MonoError *error);
30 typedef int (*MonoGetSeqPointFunc) (MonoDomain *domain, MonoMethod *method, gint32 native_offset);
32 void
33 mono_install_get_seq_point (MonoGetSeqPointFunc func);
35 #endif