Hello,

We are able to hack and support default parameter values in mono's
Microsoft.VisualBasic.dll finally !!!

Ankit Jain has come up with script  (details below in fwd mail) and
this is the final step of http://www.gnomebangalore.org/?q=node/view/498

what Jambu had mentioned in his blog.

Will be avaliable in SVN after through testing and fixing bugs in
monodis and ilasm(mono).

Please fell free to pass your comments.

Thanks
Manjula

>>> Ankit Jain <[EMAIL PROTECTED]> 03/10/05 9:57 AM >>>
Hi,

Attached files:

fixup4.pl : Given a .il file, it will output the fixed-up .il on
stdout.
Usage: 
$ ./fixup4.pl vb.il > vb-fixed.il

fixit : This actually, given a .dll disasm's it, runs the fixup script
on it and assembles it back.
Usage:
$ fixit vb.dll vb-fixed.dll 

gacit : Takes a Microsoft.VisualBasic.dll, signs it, removes the
original Microsoft.VisualBasic.dll from gac, and adds this new one to
the gac.

usage:

$ gacit Microsoft.VisualBasic.dll 

gacit and fixit are probably not fit for checkin, cos you would wanna
do this stuff in the makefile.

Right now it works only with .net ilasm.exe and ildasm.exe . There are
some bugs in monodis and ilasm(mono) which i'll try to fix now.

Some details of this are avail on my blog :
http://mono-nosip.blogspot.com 

BTW, the perl script is written more as a "C" program than as a slick
perl thing.. heh am no perl regular!

Regards,
Ankit

-- 
Blog :
Mono hacking : http://mono-nosip.blogspot.com 
Personal : http://www.corewars.org/radical




>>> Jambunathan K <[EMAIL PROTECTED]> 02/22/05 5:41 PM >>>
Dennis


Just some trivial heads up on some things that you might want to keep
a watch on ;-)

1) C# has no notion of Modules. And most of the MSVB namespace is
composed of Modules. (Class Status page should help here. Just look
for all classes that have an extra private constructor defined ....)

2) C# has no notion of DefaultParameters. There is a new Attribute
(Mono specific attribute) that I added to all methods that take
default parameter values. Link to my earlier blog
http://www.gnomebangalore.org/?q=node/view/498 has all the required
info on this front.

> 3) At some point I will (should ;)) make test cases for related mbas
issues.

You might want to make use of the Mainsoft test cases in MSVB
directory to assess the immediate progress.

Cheers,
Jambunathan K.




Attachment: fixit
Description: Binary data

Attachment: fixup4.pl
Description: Binary data

Attachment: gacit
Description: Binary data

Reply via email to