[nem-en] Generated things

Kamil Skalski kamil.skalski at gmail.com
Mon Apr 23 21:48:49 CEST 2007


You should be able to just check Location from any IMember, whenever
it is TypeBuilder or MemberBuilder

2007/4/23, Sergei Tulentsev <sergei.tulentsev at gmail.com>:
> Maybe it will work (will find out as soon as I get home), but what about top
> level types?
>
>
> On 4/23/07, Michal Moskal < michal.moskal at gmail.com> wrote:
> >
> > On 4/17/07, Sergei Tulentsev < sergei.tulentsev at gmail.com> wrote:
> > > How do I know if some type is generated by a macro and therefore has no
> > > corresponding Location in source files.
> > > For MemberBuilders we have IsGenerated property. But what about nested
> > > types?
> >
> > Doesn't nested_type.Location.IsGenerated work? (I never
> tried it myself though).
> >
> > --
> >    Michał
> >
> > _______________________________________________
> > https://nemerle.org/mailman/listinfo/devel-en
> >
> >
>
>
>
> --
> Best wishes,
> Sergei Tulentsev
> Senior software engineer.
>
> SITRONICS Telecom Solutions, Moscow
>  http://www.sitels.ru
> mob: + 7 916 507 7112
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>
>


-- 
Kamil Skalski
http://nazgul.omega.pl


More information about the devel-en mailing list