Author: zoltan
Date: 2007-12-10 16:24:33 -0500 (Mon, 10 Dec 2007)
New Revision: 91066
Modified:
trunk/mono/mono/metadata/ChangeLog
Log:
2007-12-10 Zoltan Varga <[EMAIL PROTECTED]>
* reflection.c (mono_reflection_get_token): Call
mono_image_create_token () for
FieldBuilders.
* icall.c
(ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor):
Fix a warning.
* class.c (mono_lookup_dynamic_token_class): Add a 'valid token'
argument to
prevent asserts when this is called with a token which might not be
valid.
* icall.c (ves_icall_System_Reflection_Module_ResolveTypeToken): Call
lookup_dynamic_token_class with valid_token == FALSE.
* icall.c (ves_icall_System_Reflection_Module_ResolveMethodToken):
Ditto.
* icall.c (ves_icall_System_Reflection_Module_ResolveStringToken):
Ditto.
* icall.c (ves_icall_System_Reflection_Module_ResolveFieldToken): Ditto.
Modified: trunk/mono/mono/metadata/ChangeLog
===================================================================
--- trunk/mono/mono/metadata/ChangeLog 2007-12-10 21:24:08 UTC (rev 91065)
+++ trunk/mono/mono/metadata/ChangeLog 2007-12-10 21:24:33 UTC (rev 91066)
@@ -1,3 +1,22 @@
+2007-12-10 Zoltan Varga <[EMAIL PROTECTED]>
+
+ * reflection.c (mono_reflection_get_token): Call
mono_image_create_token () for
+ FieldBuilders.
+
+ * icall.c
(ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor):
Fix a warning.
+
+ * class.c (mono_lookup_dynamic_token_class): Add a 'valid token'
argument to
+ prevent asserts when this is called with a token which might not be
valid.
+
+ * icall.c (ves_icall_System_Reflection_Module_ResolveTypeToken): Call
+ lookup_dynamic_token_class with valid_token == FALSE.
+
+ * icall.c (ves_icall_System_Reflection_Module_ResolveMethodToken):
Ditto.
+
+ * icall.c (ves_icall_System_Reflection_Module_ResolveStringToken):
Ditto.
+
+ * icall.c (ves_icall_System_Reflection_Module_ResolveFieldToken): Ditto.
+
2007-12-10 Mark Probst <[EMAIL PROTECTED]>
* gc.c: Don't delay threadpool thread finalization unless Mono is
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches