[Mono-devel-list] VB.NET runtime

Iain McCoy iain at mccoy.id.au
Tue Jul 20 01:13:42 EDT 2004


On Tue, 2004-07-20 at 04:48, A Rafael D Teixeira wrote:
> 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.
Sure, it's not, but is there any reason why it *can't* be available as
an attribute?

A few random ideas:
* A utility that takes an assembly using the attribute, removes the
attribute and adds the relevant IL.
* This is the class libraries, so presumably they only need to run on
the mono runtime. I believe you could make the runtime recognize the
attribute.

I don't know how useful those ideas are, but I believe they're both plausible.
-- 
Iain McCoy <iain at mccoy.id.au>




More information about the Mono-devel-list mailing list