Archive for December, 2008

A peculiar .net compiler optimization issue

By Liang Zhang - Last updated: Wednesday, December 17, 2008

Recently, i found a strange issue when trouble shouting my project. The short story is like this: i wrote a library and tested it with NUnit, all things work fine, however, when it’s deployed into a real testing environment, a strange exception was thrown out, it seems that the static constructor caused this issue. So [...]