[nem-en] Re: Question about MType

Kamil Skalski kamil.skalski at gmail.com
Fri Aug 24 15:24:29 CEST 2007


> field.Name);
>       def fieldDecl = CodeMemberField(field.GetMemType().SystemType,
> field.Name); // NRE here

MemberBuilder.SystemType field contains the
System.Reflection.Emit.XXXBuilder object created during emission of
assembly to disk.

>
> The problem is highlighted. What is this field for and under what
> circumstances can it be null?

It will be null until the actual code generation begins. I guess this
stage does not happen in Integration or your problem occurs before it
is started (for whole project or maybe for this particular field).

The best thing to do would be not to use SystemType at all in
Integration, since it is related to code generation, which shouldn't
be performed inside Integration.

>
> --
> Best wishes,
> Sergei Tulentsev
> Senior software engineer.
>
> SITRONICS Telecom Solutions, Moscow
>  http://www.sitels.ru
> mob: + 7 916 507 7112
>
> --
> Best wishes,
> Sergei Tulentsev
> Senior software engineer.
>
> SITRONICS Telecom Solutions, Moscow
> http://www.sitels.ru
> mob: + 7 916 507 7112


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



More information about the devel-en mailing list