This project is read-only.

Name of CompileTimeConstant

Jul 29, 2012 at 2:00 PM

It is possible to get name of CompileTimeConstant? 

Jul 30, 2012 at 9:45 PM

No, the construct corresponds to IL instructions like ldc.i4.0, ldc.r8 and ldstr. Even if the source uses a named constant, by the time it is compiled to IL the name is gone and only the value remains.