diff options
-rw-r--r-- | mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs | 5 | ||||
-rw-r--r-- | mono/metadata/icall-def.h | 1 | ||||
-rw-r--r-- | mono/metadata/object-internals.h | 3 | ||||
-rw-r--r-- | mono/metadata/sre.c | 17 |
4 files changed, 0 insertions, 26 deletions
diff --git a/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs b/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs index 215de033d18..7b1a4077096 100644 --- a/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs +++ b/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs @@ -96,9 +96,6 @@ namespace System.Reflection.Emit private extern void setup_internal_class (); [MethodImplAttribute(MethodImplOptions.InternalCall)] - private extern void setup_generic_class (); - - [MethodImplAttribute(MethodImplOptions.InternalCall)] private extern void create_generic_class (); [MethodImplAttribute(MethodImplOptions.InternalCall)] @@ -1763,8 +1760,6 @@ namespace System.Reflection.Emit if (names.Length == 0) throw new ArgumentException ("names"); - setup_generic_class (); - generic_params = new GenericTypeParameterBuilder [names.Length]; for (int i = 0; i < names.Length; i++) { string item = names [i]; diff --git a/mono/metadata/icall-def.h b/mono/metadata/icall-def.h index 09e66f32fd4..7c71dc55064 100644 --- a/mono/metadata/icall-def.h +++ b/mono/metadata/icall-def.h @@ -576,7 +576,6 @@ ICALL(TYPEB_1, "create_generic_class", ves_icall_TypeBuilder_create_generic_clas ICALL(TYPEB_3, "create_runtime_class", ves_icall_TypeBuilder_create_runtime_class) ICALL(TYPEB_4, "get_IsGenericParameter", ves_icall_TypeBuilder_get_IsGenericParameter) ICALL(TYPEB_5, "get_event_info", ves_icall_TypeBuilder_get_event_info) -ICALL(TYPEB_6, "setup_generic_class", ves_icall_TypeBuilder_setup_generic_class) ICALL(TYPEB_7, "setup_internal_class", ves_icall_TypeBuilder_setup_internal_class) ICALL_TYPE(EVENTI, "System.Reflection.EventInfo", EVENTI_1) diff --git a/mono/metadata/object-internals.h b/mono/metadata/object-internals.h index 03b02c7bc1b..9d128319a76 100644 --- a/mono/metadata/object-internals.h +++ b/mono/metadata/object-internals.h @@ -1350,9 +1350,6 @@ void mono_dynamic_image_release_gc_roots (MonoDynamicImage *image); void mono_reflection_setup_internal_class (MonoReflectionTypeBuilder *tb); -void -ves_icall_TypeBuilder_setup_generic_class (MonoReflectionTypeBuilder *tb); - MonoReflectionType* ves_icall_TypeBuilder_create_runtime_class (MonoReflectionTypeBuilder *tb); diff --git a/mono/metadata/sre.c b/mono/metadata/sre.c index 2ed7ef468b9..2743c3e399f 100644 --- a/mono/metadata/sre.c +++ b/mono/metadata/sre.c @@ -3100,17 +3100,6 @@ ves_icall_TypeBuilder_setup_internal_class (MonoReflectionTypeBuilder *tb) mono_error_set_pending_exception (&error); } -/* - * ves_icall_TypeBuilder_setup_generic_class: - * @tb: a TypeBuilder object - * - * Setup the generic class before adding the first generic parameter. - */ -void -ves_icall_TypeBuilder_setup_generic_class (MonoReflectionTypeBuilder *tb) -{ -} - /** * mono_reflection_create_generic_class: * @tb: a TypeBuilder object @@ -5272,12 +5261,6 @@ ves_icall_TypeBuilder_setup_internal_class (MonoReflectionTypeBuilder *tb) g_assert_not_reached (); } -void -ves_icall_TypeBuilder_setup_generic_class (MonoReflectionTypeBuilder *tb) -{ - g_assert_not_reached (); -} - gboolean mono_reflection_create_generic_class (MonoReflectionTypeBuilder *tb, MonoError *error) { |