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

B Anirban banirban@novell.com
Wed, 28 Jul 2004 22:51:28 -0600


Bernie,
I will review and let you know by today.

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

Yes, test cases helps a lot. You can find all the mbas related test
cases in btests folder under mcs (mcs/btests).
We generally write a small exe and add the file name to Test.Sources
file for automation purpose.
For more details plz refer to the Readme under this folder.

We really appriciate your help. As you can see mbas is lagging a lot in
many places. These helps make will take us close to our goal.

Thanks a lot and looking forward for many more contribution to mbas.

Happy hacking.
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