title: Application does not exit after Exception is thrown
body: <p>I have unusual (for me) problem with thrown exception. After exception is thrown application loops on it and doesn't exit.</p>
  
  <pre><code>if(!foundRemoteID)
  {
  throw new ArgumentOutOfRangeException(
            "value",
            "Remote ID was not found."
            );
  }
  </code></pre>
  
  <p>I have inserted brakepoint on "if(!foundRemoteID)" line but the program doesn't hit it at all after firs thrown exception. It just loops over and over on "throw new (..).</p>
  
  <p>-I do not have try{} catch{} blocks at all at any level.
  -There is no loop that contains this code</p>
  
  <p>I have even tried putting it into:</p>
  
  <pre><code>try
  {
  (..)
  }
  finally
  {
  Enviroment.Exit(1);
  }
  </code></pre>
  
  <p>but finally{} block is never hit.</p>
  
  <p>Other throw new (..) in this class is acting same way. </p>
  
  <p>Am I missing something trivial?</p>
  
  <p>UPDATE:
  Problem is not related to my project. I have just created a simple console application that has only</p>
  
  <pre><code>throw new FileNotFoundException();
  </code></pre>
  
  <p>In Main() method and problem persists. </p>
  
  <p>I have already tried resetting VS2010 settings to default and it didn't help.</p>