* metadata.c: fix off by one when loading parameters attributes.
svn path=/trunk/mono/; revision=14026
+
+Sat Apr 26 19:25:31 CEST 2003 Paolo Molaro <lupus@ximian.com>
+
+ * metadata.c: fix off by one when loading parameters attributes.
+
2003-04-24 Martin Baulig <martin@ximian.com>
* mono-debug-debugger.c (mono_debugger_io_layer): Put this back.
if (def < methodt->rows)
lastp = mono_metadata_decode_row_col (methodt, def, MONO_METHOD_PARAMLIST);
else
- lastp = paramt->rows;
+ lastp = paramt->rows + 1;
for (i = param_index; i < lastp; ++i) {
mono_metadata_decode_row (paramt, i - 1, cols, MONO_PARAM_SIZE);
if (!cols [MONO_PARAM_SEQUENCE])