I had experience the other day when an exception was supposed to be raised in my code, but instead it just got out of the routine and continued to work (that is, it is a WinForms project, so it "continued", I mean, the control is just went back to the form where he waits for further user input).
I thought it was weird, but fixed the problem and didn't worry about it. Today I had the same thing in another project where I had an XmlDocument Load () object in which there was no file. He should have thrown an exception, but instead, he simply exited the subroutine and gave control of the form.
Has anyone else experienced this behavior or knew something about what might cause it, or does it sound like a bug in VS 2010?
source share