title: Is there a way in Visual Studio to check that for each enum defined in a c# project, all values specify their corresponding base type value?
body: <p>This is kind of a bizarre question, but it's simply just a matter of checking things efficiently. As the title states, I would like to quickly check that all enums in a particular project have all their base type values specified. So for example, I might have:</p>
  
  <pre><code>public enum Animal
  {
      Bird = 0,
      Cat = 1,
      Dog = 2
  }
  </code></pre>
  
  <p>This enum has its int base type values specified. If it were:</p>
  
  <pre><code>public enum Animal
  {
      Bird,
      Cat,
      Dog
  }
  </code></pre>
  
  <p>then the base values would not have been specified. </p>
  
  <p>Is there a way to either automatically check that this is the case for all enums, or quickly pull up all enums in the project via some Visual Studio search tool or other command and then manually check this is the case? I imagine the former option is not possible, so I guess the question boils down to: how do I pull up all classes with enums in my Visual Studio window?</p>