I am experiencing a very weird problem with our test code in a commercial product under Windows 7 64 bit with VS 2012 .net 4.5 compiled as 64 bit.
The following test cod
When I create a test application containing your test, the exception is not thrown. This means it's not going to be straightforward. Some ideas to further investigate: