[Mono-devel-list] VB.NET runtime
A Rafael D Teixeira
rafaelteixeirabr at hotmail.com
Mon Jul 19 14:48:56 EDT 2004
>From: Rob.Tillie at Student.tUL.EDU
>Didn't someone say we only needed a custom attribute to emit the IL needed
>for an optional parameter?
Hi Rob,
That is true, but what is missing is how to create the defaultvalue
metadata. That feature is not available as an attribute. There are
attributes to govern how non-simple values (DateTimes and Decimals, for
example) are stored as default values, but not to say the default value
itself.
The problem is that lots of optional parameters in MS.VB.dll do have some
default value to substitute in the call when it is omitted (concepts
inherited from COM/VB6).That is why we are
looking at ways to solve it.
Hope it clarifies things a bit,
Rafael "Monoman" Teixeira
Mono Hacker since 16 Jul 2001 - http://www.go-mono.org/
MonoBrasil Founding Member - Membro Fundador do MonoBrasil
http://monobrasil.softwarelivre.org
English Blog: http://monoblog.blogspot.com/
Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/
_________________________________________________________________
MSN Messenger: instale grátis e converse com seus amigos.
http://messenger.msn.com.br
More information about the Mono-devel-list
mailing list