title: StackOverflow in .NET unit testing when references are circular
body: <p>I was testing something else for circular reference resistance when I noticed:</p>
  
  <pre><code>    public class Foo
      {
          private Bar myBar = new Bar();
      }
  
      public class Bar
      {
          private Foo myFoo = new Foo();
      }
  
      [Fact]
      public void CircularReferenceTest()
      {
          var foo = new Foo();
          var bar = new Bar();
      }
  </code></pre>
  
  <p>resulted in XUnit runner halt and console log:</p>
  
  <blockquote>
    <p>The active test run was aborted. Reason: Process is terminated due to StackOverflowException.</p>
  </blockquote>
  
  <p>I tested it on MStest and had same result. Is there a way around this? Is it a bug, or it's intended to stop execution in that way?</p>