title: Class constraint must come before any other constraints
body: <p>I am attempting to create the following class name signature:</p>
  
  <pre><code>public class MyClass&lt;T&gt; where T : struct, MyBase
  </code></pre>
  
  <p>(I am using struct to constrain to Enums)</p>
  
  <p>I am getting error </p>
  
  <pre><code>The class type constraint 'MyBase' must come before any other constraints
  </code></pre>
  
  <p>I understand the message, however, rearranging the code I cannot get past that or some other syntax error. How can I fix that line if at all?</p>
  
  <p>If I have to, I will remove <code>struct</code>.</p>
  
  <p>Thank you</p>