Browse Source

In .:
2008-02-02 Geoff Norton <[email protected]>

* loader.c (mono_method_get_param_names): Populate the parameter name for
generic parameters as well. (Fixes #342536)


svn path=/trunk/mono/; revision=94632

Geoff Norton 18 years ago
parent
commit
a563dd5359
2 changed files with 6 additions and 1 deletions
  1. 5 0
      mono/metadata/ChangeLog
  2. 1 1
      mono/metadata/loader.c

+ 5 - 0
mono/metadata/ChangeLog

@@ -1,3 +1,8 @@
+2008-02-02  Geoff Norton  <[email protected]>
+
+	* loader.c (mono_method_get_param_names): Populate the parameter name for 
+	generic parameters as well. (Fixes #342536)
+
 2008-01-31 Rodrigo Kumpera  <[email protected]>
 
 	* verify.c (is_valid_bool_arg): Allow boxed values and null literals as well.

+ 1 - 1
mono/metadata/loader.c

@@ -1566,7 +1566,7 @@ mono_method_get_param_names (MonoMethod *method, const char **names)
 	for (i = 0; i < mono_method_signature (method)->param_count; ++i)
 		names [i] = "";
 
-	if (klass->generic_class || klass->rank) /* copy the names later */
+	if (klass->rank)
 		return;
 
 	mono_class_init (klass);