[mono-vb] VB Class status

Jambunathan Jambunathan kjambunathan@novell.com
Wed, 23 Jun 2004 10:31:10 -0600

The errors in Microsoft.VisualBasic may seem intimidating at first.
Most of the errors are due to a mismatch in the Parameter Attributes.

Many VB functions/methods support optional parameters with a default
value. MS's dll marks the Parameter with Optional, HasDefault

In our C# implementation of the method, we mark such parameters using
following two attributes: System.Runtime.InteropServices.Optional 
and System.ComponentModel.DefaultValue(). As a result Mono's dll has
Parameter Attributes just set to Optional ( but has no HasDeafult ).

I am not sure whether this is bug or a baggage not carried from the
( Quick googling suggested that just using C# it's not possible to
create a parameter with Parameter Attributes set to Optional |

Just posting to the mailing list with the hope that I will get a quick

Jambunathan K.

>>>"Jochen Wezel" <jwezel@compumaster.de> 06/23 5:42 pm >>> 
Hey, the class status got updated! 
We've got 97 % now... :) 
...and 230 errors :( 
Mono-vb mailing list