title: Why does StreamReader.ReadLine throw OutOfMemoryException?
body: <p>Can anyone tell me why the <strong>last</strong> line here throws OOM exception?</p>
  
  <pre><code>        byte[] buffer = new byte[1];
          buffer[0] = 239;
          MemoryStream ms = new MemoryStream(buffer);
          StreamReader sr = new StreamReader(ms);
          string l1 = sr.ReadLine();
          string l2 = sr.ReadLine();
  </code></pre>