title: DebuggerDisplay on generic class
body: <p>I have a problem applying the <code>DebuggerDisplay</code> attribute on a generic class:</p>
  
  <pre><code>[DebuggerDisplay("--foo--")]
  class Foo
  {
  }
  
  [DebuggerDisplay("Bar: {t}")]
  class Bar&lt;T&gt;
  {
      public T t;
  }
  </code></pre>
  
  <p>When inspecting an object of type <code>Bar&lt;Foo&gt;</code> I would expect it to show as <code>Bar: --foo--</code>, but I get <code>Bar: {Foo}</code></p>
  
  <p>What am I doing wrong?</p>