Skip to content

Commit

Permalink
2005-10-04 Martin Baulig <martin@ximian.com>
Browse files Browse the repository at this point in the history
	* icall.c (ves_icall_MonoGenericClass_GetParentType): Allow
	non-dynamic parent classes.


svn path=/trunk/mono/; revision=51190
  • Loading branch information
Martin Baulig committed Oct 4, 2005
1 parent 6b34041 commit 12e853a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions mono/metadata/ChangeLog
@@ -1,3 +1,8 @@
2005-10-04 Martin Baulig <martin@ximian.com>

* icall.c (ves_icall_MonoGenericClass_GetParentType): Allow
non-dynamic parent classes.

2005-10-04 Atsushi Enomoto <atsushi@ximian.com>

* file-io.c : win32 build fix (ETXTBSY seems not found).
Expand Down
3 changes: 0 additions & 3 deletions mono/metadata/icall.c
Expand Up @@ -1980,9 +1980,6 @@ ves_icall_MonoGenericClass_GetParentType (MonoReflectionGenericClass *type)
if (!klass->generic_class && !klass->generic_container)
return NULL;

if (!klass->generic_class->is_dynamic)
return NULL;

return mono_type_get_object (mono_object_domain (type), gclass->parent);
}

Expand Down

0 comments on commit 12e853a

Please sign in to comment.