Seriously.
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? 🙂
So, if you have installed VS2015 on your PC, better disable the fancy modern RyuJIT now - and hope MS releases a proper fix soon.
Thank you. I didn't write anything "serious" till now with it, so I'm still "in time" to save me, ehehhe.
Serious bug indeed.
Best Regards,
Tony
The problem is that you don't need to target your application for .NET 4.6 to be affected. As soon as you install .NET Framework 4.6, RyuJIT will become a default JIT engine for your existing .NET apps too. 😉
Microsoft made a follow-up post and more workarounds: here. They say that mostly F# programmers will be affected by the issue. But I'd rather not take the chances.
Ohhhh, I see. Time to disable it 😉
Thank you kao.
Best Regards,
Tony
has this already been resolved? save to update to vs2015?
Yes, you need to install KB3086251.