title: NamedPipeClientStream AccessViolation
body: <p>I came across an issue today where the constructor of the NamedPipeClientStream threw an AV.</p>
  
  <p>After boiling this down to try and get a minimal repeatable example I found...</p>
  
  <ol>
  <li>Create a new project in VS2013 Update 4 (Console will do) targeting .Net 3.5 </li>
  <li><p>Change main to look like this....</p>
  
  <pre><code>     static void Main(string[] args)
      {
          var pipe = new NamedPipeClientStream(".", "Global\\Turnips", PipeDirection.InOut, PipeOptions.Asynchronous);
      }  
  </code></pre></li>
  <li>Run.  </li>
  <li><img src="https://i.stack.imgur.com/L1N6t.png" alt="enter image description here"></li>
  </ol>
  
  <p>Anyone have any idea what's going on here? I've looked through the code in the ctor of the named pipe using IlSpy and I can't see any reason for this behaviour.</p>