https://bugzilla.novell.com/show_bug.cgi?id=386415

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=386415#c5





--- Comment #5 from Robert Jordan <[EMAIL PROTECTED]>  2008-05-03 08:38:26 MST 
---
> +       csig->params [param_count - 1] = mono_metadata_type_dup
> (image->mempool,
> +                &mono_defaults.exception_class->byval_arg);
>  no need for the type_dup, &mono_defaults.exception_class->byval_arg is
> enough.


But I want to make the param byref. If I'd use
mono_defaults.exception_class->byval_arg, I'd change a constant:

csig->params [param_count - 1] = &mono_defaults.exception_class->byval_arg;
csig->params [param_count - 1]->byref = 1;
csig->params [param_count - 1]->attrs = PARAM_ATTRIBUTE_OUT;


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to