Documenting exception?
<p>I noticed in mscorlib.xml (the xml file that is generated from the summaries) it has </p>

<pre><code>&lt;member name="M:System.Console.ReadKey"&gt;
  &lt;summary&gt;Obtains the next character or function key pressed by the user. The pressed key is displayed in the console window.&lt;/summary&gt;
  &lt;returns&gt;A &lt;see cref="T:System.ConsoleKeyInfo" /&gt; object that describes the &lt;see cref="T:System.ConsoleKey" /&gt; constant and Unicode character, if any, that correspond to the pressed console key. The &lt;see cref="T:System.ConsoleKeyInfo" /&gt; object also describes, in a bitwise combination of &lt;see cref="T:System.ConsoleModifiers" /&gt; values, whether one or more SHIFT, ALT, or CTRL modifier keys was pressed simultaneously with the console key.&lt;/returns&gt;
  &lt;exception cref="T:System.InvalidOperationException"&gt;The &lt;see cref="P:System.Console.In" /&gt; property is redirected from some stream other than the console.&lt;/exception&gt;
  &lt;filterpriority&gt;1&lt;/filterpriority&gt;
&lt;/member&gt;
</code></pre>

<p>I am interested in</p>

<pre><code>&lt;exception cref="T:System.InvalidOperationException"&gt;The &lt;see cref="P:System.Console.In" /&gt; property is redirected from some stream other than the console.&lt;/exception&gt;
</code></pre>

<p>How do you document exceptions in code so that they end up in the xml?</p>
