Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Kumpera <kumpera@gmail.com>2017-05-31 02:56:53 +0300
committerRodrigo Kumpera <kumpera@gmail.com>2017-05-31 02:56:53 +0300
commit92c7a7f4b13c597bea0ead50465b8a7b362d4f3a (patch)
tree54f37f85faa75a95c55dd7d38beb15a5661d9bdc
parent349618c260798fb065ab2dc038dee74e103565c6 (diff)
Fix the build.mono-4.4.0-branch
-rw-r--r--mono/metadata/cominterop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mono/metadata/cominterop.c b/mono/metadata/cominterop.c
index b61e94e52bb..8ef2adedac0 100644
--- a/mono/metadata/cominterop.c
+++ b/mono/metadata/cominterop.c
@@ -1013,7 +1013,7 @@ mono_cominterop_get_invoke (MonoMethod *method)
for (i = 1; i <= sig->param_count; i++)
mono_mb_emit_ldarg (mb, i);
- if ((method->iflags & METHOD_IMPL_ATTRIBUTE_INTERNAL_CALL) || mono_class_is_interface (method->klass)) {
+ if ((method->iflags & METHOD_IMPL_ATTRIBUTE_INTERNAL_CALL) || MONO_CLASS_IS_INTERFACE (method->klass)) {
MonoMethod * native_wrapper = mono_cominterop_get_native_wrapper(method);
mono_mb_emit_managed_call (mb, native_wrapper, NULL);
}