cscore
cscore copied to clipboard
Ilasm exit code '1
Building CSCORE.dll I get an error on ilasm.
After some investigation the problem lies in ConvertFromIeeeExtended where sourceline
f = double.NaN;
disassembles as
IL_00ad: ldc.r8 -nan(ind)
which is syntactically wrong for the assembler:
" syntax error in token '-' in IL_00ad: ldc.r8 -nan(ind) "
If you "filoe" could change the source to make it a very high or low number? as an escape until Microsoft solves this?
/* Infinity or NaN */
f = -2251799813685248; // double.NaN;
f *= f;
f *= f;
f *= f;
f *= f;
f *= f; //infinity