title: Creating a generic CodeClass with EnvDTE
body: <p>Is it possible to create a CodeClass with a type parameter (e.g., <code>MyClass&lt;T&gt; where T : struct</code>) using the EnvDTE interface?</p>
  
  <p>Passing a name with a generic parameter to the namespace <code>AddClass</code> method results in an error that the name is invalid.</p>
  
  <p>As a workaround, I have attempted creating the class without generics using the <code>AddClass</code> method and then adding the type parameters (and type constraints) as text using the <code>EditPoint</code> interface. However, this breaks the code model so that additional edits (such as adding methods) cannot be performed.</p>
  
  <p>The add-in is targeting Visual Studio 2012.</p>