projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2d51b5
)
Changed mono exception type from execution engine to not supported (#43009)
author
Shreyas Jejurkar
<shreyasjejurkar123@live.com>
Tue, 6 Oct 2020 17:15:35 +0000
(22:45 +0530)
committer
GitHub
<noreply@github.com>
Tue, 6 Oct 2020 17:15:35 +0000
(13:15 -0400)
src/mono/mono/metadata/object.c
patch
|
blob
|
history
diff --git
a/src/mono/mono/metadata/object.c
b/src/mono/mono/metadata/object.c
index
0423ee9
..
5f640a2
100644
(file)
--- a/
src/mono/mono/metadata/object.c
+++ b/
src/mono/mono/metadata/object.c
@@
-7178,7
+7178,7
@@
mono_value_box_handle (MonoDomain *domain, MonoClass *klass, gpointer value, Mon
g_assert (value != NULL);
if (G_UNLIKELY (m_class_is_byreflike (klass))) {
char *full_name = mono_type_get_full_name (klass);
- mono_error_set_
execution_engine
(error, "Cannot box IsByRefLike type %s", full_name);
+ mono_error_set_
not_supported
(error, "Cannot box IsByRefLike type %s", full_name);
g_free (full_name);
return NULL_HANDLE;
}