* icall.c (ves_icall_MonoMethod_get_HasGenericParameters): Show
the "official" behavior here.
(ves_icall_MonoMethod_get_Mono_IsInflatedMethod): New interncall.
svn path=/trunk/mono/; revision=24739
+2004-03-29 Martin Baulig <martin@ximian.com>
+
+ * icall.c (ves_icall_MonoMethod_get_HasGenericParameters): Show
+ the "official" behavior here.
+ (ves_icall_MonoMethod_get_Mono_IsInflatedMethod): New interncall.
+
2004-03-29 Martin Baulig <martin@ximian.com>
* icall.c: Reflect latest API changes.
2004-03-29 Martin Baulig <martin@ximian.com>
* icall.c: Reflect latest API changes.
(method->method->iflags & METHOD_IMPL_ATTRIBUTE_INTERNAL_CALL))
return FALSE;
(method->method->iflags & METHOD_IMPL_ATTRIBUTE_INTERNAL_CALL))
return FALSE;
- return method->method->signature->is_inflated ||
- method->method->signature->generic_param_count != 0;
+ return method->method->signature->generic_param_count != 0;
+}
+
+static gboolean
+ves_icall_MonoMethod_get_Mono_IsInflatedMethod (MonoReflectionMethod *method)
+{
+ MONO_ARCH_SAVE_REGS;
+
+ if ((method->method->flags & METHOD_ATTRIBUTE_PINVOKE_IMPL) ||
+ (method->method->iflags & METHOD_IMPL_ATTRIBUTE_INTERNAL_CALL))
+ return FALSE;
+
+ return method->method->signature->is_inflated;
};
static const IcallEntry monocmethod_icalls [] = {
};
static const IcallEntry monocmethod_icalls [] = {
- {"InternalInvoke", ves_icall_InternalInvoke}
+ {"GetGenericMethodDefinition_impl", ves_icall_MonoMethod_GetGenericMethodDefinition},
+ {"InternalInvoke", ves_icall_InternalInvoke},
+ {"get_Mono_IsInflatedMethod", ves_icall_MonoMethod_get_Mono_IsInflatedMethod}
};
static const IcallEntry monoeventinfo_icalls [] = {
};
static const IcallEntry monoeventinfo_icalls [] = {
{"InternalInvoke", ves_icall_InternalInvoke},
{"get_HasGenericParameters", ves_icall_MonoMethod_get_HasGenericParameters},
{"get_IsGenericMethodDefinition", ves_icall_MonoMethod_get_IsGenericMethodDefinition},
{"InternalInvoke", ves_icall_InternalInvoke},
{"get_HasGenericParameters", ves_icall_MonoMethod_get_HasGenericParameters},
{"get_IsGenericMethodDefinition", ves_icall_MonoMethod_get_IsGenericMethodDefinition},
+ {"get_Mono_IsInflatedMethod", ves_icall_MonoMethod_get_Mono_IsInflatedMethod},
{"get_base_definition", ves_icall_MonoMethod_get_base_definition}
};
{"get_base_definition", ves_icall_MonoMethod_get_base_definition}
};