I\'ve come across a problem so strange, that I\'ve recorded my session because I didn\'t think anyone would belive me.
I came across a bug that seems to be at very f
My guess is that something odd is happening at deployment, so the pdb is out of sync with the actual code. If you use logging instead of the debugger to work out what's going on, I suspect you'll see more sensible behaviour. I doubt that it's the CLR itself behaving weirdly with an "if" - it's much more likely to be a debugger/runtime inconsistency.