[nem-en] New tool: addon for reflector
Kamil Skalski
kamil.skalski at gmail.com
Tue Jan 9 09:04:54 CET 2007
>
> Also i've realized that all methods created from a macro should be
> marked with some attribute such a
> System.Runtime.CompilerServices.CompilerGeneratedAttribute,
> or the much better, Nemerle.Internal.MacroGeneratedAttribute.
> [CompilerGeneratedAttribute] is good for methods like
> _N_GetVariantCode and others that really comes from the compiler.
For methods, that needs this they are marked with "specialname"
attribute. I don't think that adding any attributes by default is a
good thing. Often you create members, which should be considered just
standard methods / properties / etc.
>
> With the such kind of an attribute macros like [Record], [Accessor],
> [StructuralEquality] and the other macros can be reconstructed back.
> For the Intellisense it also can be helpful in some ways.
>
> Is there a way to do it automatically, without inserting the
> attribute declaration into body of every macro?
>
> -Paul
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>
--
Kamil Skalski
http://nazgul.omega.pl
More information about the devel-en
mailing list