[Mono-devel-list] NET_2_0 attributes
Paolo Molaro
lupus at ximian.com
Wed Sep 22 15:14:05 EDT 2004
On 09/22/04 Marek Safar wrote:
> >I think we need to implement this stuff in the C part of the runtime.
> >The icalls need to be changed, too, to match the MS CLR implementation
> >wrt attribute creation. Last time I checked:
> >*) IsDefined() didn't cause the attributes to be created
> >
> >
> OK, but that is different story. This is all valid for normal attributes
> not for pseudo.
It needs to be done for all kinds and we want to have the logic in one
place.
> >*) GetCustomAttributes (type, ...) caused just the attributes matching
> >type to be created
> >
> >
> For pseudo attributes this is fulfilled.
See above.
> >*) the attributes need to be created at each invocation (I think we
> >might have fixed this already)
> >
> >
> For parameterless attribute it is useless.
It's not. Parameterless attributes may have state that can be changed as
any other and the constructor can have any arbitrary side effect.
lupus
--
-----------------------------------------------------------------
lupus at debian.org debian/rules
lupus at ximian.com Monkeys do it better
More information about the Mono-devel-list
mailing list