Author: raja
Date: 2007-07-20 09:21:23 -0400 (Fri, 20 Jul 2007)
New Revision: 82351
Modified:
trunk/mono/mono/metadata/ChangeLog
trunk/mono/mono/metadata/icall.c
Log:
2007-07-20 Atsushi Enomoto <[EMAIL PROTECTED]>
and Raja R Harinath <[EMAIL PROTECTED]>
* icall.c (ves_icall_MonoMethod_get_IsGenericMethodDefinition):
Simplify slightly.
(ves_icall_MonoMethod_GetGenericMethodDefinition): Update
property for testing if a method is a generic method definition.
Modified: trunk/mono/mono/metadata/ChangeLog
===================================================================
--- trunk/mono/mono/metadata/ChangeLog 2007-07-20 12:55:49 UTC (rev 82350)
+++ trunk/mono/mono/metadata/ChangeLog 2007-07-20 13:21:23 UTC (rev 82351)
@@ -1,5 +1,13 @@
2007-07-20 Atsushi Enomoto <[EMAIL PROTECTED]>
+ and Raja R Harinath <[EMAIL PROTECTED]>
+ * icall.c (ves_icall_MonoMethod_get_IsGenericMethodDefinition):
+ Simplify slightly.
+ (ves_icall_MonoMethod_GetGenericMethodDefinition): Update
+ property for testing if a method is a generic method definition.
+
+2007-07-20 Atsushi Enomoto <[EMAIL PROTECTED]>
+
* domain-internals.h : added 2.0 member fields to MonoAppDomainSetup.
2007-07-19 Rodrigo Kumpera <[EMAIL PROTECTED]>
Modified: trunk/mono/mono/metadata/icall.c
===================================================================
--- trunk/mono/mono/metadata/icall.c 2007-07-20 12:55:49 UTC (rev 82350)
+++ trunk/mono/mono/metadata/icall.c 2007-07-20 13:21:23 UTC (rev 82351)
@@ -2592,12 +2592,11 @@
MONO_ARCH_SAVE_REGS;
- if (!method->method->is_inflated) {
- if (mono_method_signature (method->method)->generic_param_count)
- return method;
+ if (method->method->generic_container)
+ return method;
+ if (!method->method->is_inflated)
return NULL;
- }
imethod = (MonoMethodInflated *) method->method;
@@ -2621,8 +2620,7 @@
{
MONO_ARCH_SAVE_REGS;
- return method->method->generic_container &&
- (mono_method_signature (method->method)->generic_param_count !=
0);
+ return method->method->generic_container != NULL;
}
static MonoArray*
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches