It's a good technical writeup for an embarrassing bug in MS code:
The methods you call can get different parameter values than you passed in.
What could possibly go wrong? smile
So, if you have installed VS2015 on your PC, better disable the fancy modern RyuJIT now - and hope MS releases a proper fix soon.