[mono-vb] Patch for mbas for ByRef parameters from a DLL

B Anirban banirban@novell.com
Thu, 29 Jul 2004 00:43:49 -0600


Hi Bernard,
I have just reviewed the patch (not tested). This looks good to me.
Please feel free to check-in the patch along with test cases.
My humble request to you is to be sure that this patch doesn't break
the mbas build by any means. Any build breakage effects the whole mono
development.
Keep up the great work.
Thanks.
Anirban.

>>> "Bernie Solomon" <bernard@ugsolutions.com> 28-Jul-04 11:37:12 PM
>>>
Here's a refinement which also allows use of enums declared in other
DLLs
(includes
the previous patch too).

Bernie
----- Original Message ----- 
From: "Solomon, Bernard" <bernard.solomon@ugs.com>
To: <mono-vb@lists.ximian.com>
Sent: Wednesday, July 28, 2004 10:37 AM
Subject: [mono-vb] Patch for mbas for ByRef parameters from a DLL


[mono-vb] Patch for mbas for ByRef parameters from a DLLI attach a
patch so
that you can call methods in a referenced DLL that take
reference parameters and things compile. To do this I have made
ReflectionParameters return similar data to InternalParameters for
ByRef
parameters - and also use them when GetFullParameters doesn't return
anything (presumably currently you can't call a method with optional
parameters in a different DLL).

Since I haven't done anything inside mbas before I may not have done
this in
the right way. But if it is OK I can commit this.

Presumably a test case might be good but I am not quite sure where to
add
this.

Bernie Solomon