[nem-en] Information about VS 2005 Integration in English

Michal Moskal michal.moskal at gmail.com
Wed Sep 27 11:47:50 CEST 2006


On 9/27/06, Michal Moskal <michal.moskal at gmail.com> wrote:
> You may look for specialname attribute. It is present in IL for all
> such strange names.
>
> Right now IMember doesn't have means to access it, but it might be
> easily added (like a IsSpecialName property). I may work on it later
> today.

It was already there (as NemerleAttribute.SpecialName). I changed
libraries loader to set it and also marked event accessors with it. So
right now you need the following check:

IsWierdName (m : IMember) : bool
  m.Attributes %&& NemerleAttributes.SpecialName

If you still get some junk names -- report them, or use
method.MarkWithSpecialName() in the compiler ;-)

-- 
   Michał


More information about the devel-en mailing list