[nem-en] New tool: addon for reflector
Paul Bludov
pbludov at gmail.com
Tue Jan 9 02:44:45 CET 2007
----- Original Message -----
From: "Kamil Skalski" <kamil.skalski at gmail.com>
> I noticed that types in bottom window have extra } at the end:
> public class Queue['a] : Queue['a]}
More funny that it looks like the class derives from itself
while it derives from System.Collections.Generic.Queue.
Some logic must be added here to make it more readable.
As option, the fully qualified type name can be here.
> It would be great to have the body contents filled :-) ... but I
> know, it will be a lot of work. Then we could include it as the
> advertised plugin and in distribution...
Yes. It requires a custom translator from the msil code.
The Reshaper own translator won't work with Nemerle assemblies.
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.
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
More information about the devel-en
mailing list