From 9cf6171f3cc511ee2a0169ccd2eadc936ec352e7 Mon Sep 17 00:00:00 2001 From: Zoltan Varga Date: Sun, 7 Apr 2019 02:23:12 -0400 Subject: [PATCH] [netcore] Remove an assertion which is no longer needed. Commit migrated from https://github.com/mono/mono/commit/8170457d4fde93c601a5ee41d621b9cd3f477100 --- src/mono/mono/metadata/reflection.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mono/mono/metadata/reflection.c b/src/mono/mono/metadata/reflection.c index 10a41a0..b053c7b 100644 --- a/src/mono/mono/metadata/reflection.c +++ b/src/mono/mono/metadata/reflection.c @@ -1317,12 +1317,8 @@ method_body_object_construct (MonoDomain *domain, MonoClass *unused_class, MonoM locals_arr = mono_array_new_handle (domain, mono_class_get_local_variable_info_class (), header->num_locals, error); goto_if_nok (error, fail); for (i = 0; i < header->num_locals; ++i) { -#ifdef ENABLE_NETCORE - /* FIXME: LocalVariable in netcore has no fields */ -#else if (!add_local_var_info_to_array (domain, header, i, locals_arr, error)) goto fail; -#endif } /* Exceptions */ -- 2.7.4