title: constructed generic type in cref part of xml-comment
body: <p>I have generic exception class like this:</p>
  
  <pre><code>public class DuplicateException&lt;TEntity&gt; : Exception
  {
      public TEntity Entity { get; set; }
  }
  </code></pre>
  
  <p>And I have non-generic method which might throw constructed generic exception:</p>
  
  <pre><code>void Save()
  {
      throw new DuplicateException&lt;SomeEntity&gt;();
  }
  </code></pre>
  
  <p>This method may throw this generic exception but only of this one constructed type <code>DuplicateException&lt;SomeEntity&gt;</code> and it cannot throw this exception with some other type parameter instead of <code>SomeEntity</code>.</p>
  
  <p>Now I want to specify this fact in xml-comment for <code>Save</code> method. <a href="http://blogs.msdn.com/b/ansonh/archive/2006/09/11/750056.aspx">This article</a> describes a little bit how to comment methods with generic exception and I've tried these two alternatives:</p>
  
  <p>1) Inserts by defauly by autocomplete in VS:  </p>
  
  <pre><code>/// &lt;exception cref="DuplicateException{TEntity}" /&gt;
  </code></pre>
  
  <p>2)  Replaced <code>TEntity</code> with <code>SomeEntity</code></p>
  
  <pre><code>/// &lt;exception cref="DuplicateException{SomeEntity}" /&gt;
  </code></pre>
  
  <p>But in both cases output XML still states that this method might throw generic <strong>non-constructed</strong> type which doesn't mention <code>SomeEntity</code> at all:  </p>
  
  <pre><code>&lt;exception cref="T:MyNameSpace.DuplicateException`1" /&gt;
  </code></pre>