title: ExcludeFromCodeCoverage Isn't Working in VS2012
body: <p>I have a class in my code that I don't want showing up in code coverage numbers. I added the <code>[ExcludeFromCodeCoverage]</code> attribute to the class definition like this:</p>
  
  <pre><code>[ExcludeFromCodeCoverage]
  public class MyClass { ... }
  </code></pre>
  
  <p>According to the docs (<a href="http://msdn.microsoft.com/en-us/library/system.diagnostics.codeanalysis.excludefromcodecoverageattribute.aspx" rel="noreferrer">http://msdn.microsoft.com/en-us/library/system.diagnostics.codeanalysis.excludefromcodecoverageattribute.aspx</a>) this should be all I need, but the class still shows up in code coverage analysis.</p>
  
  <p>I'm using VS2012/.NET 4.5 if that matters.</p>
  
  <p>Any ideas why this wouldn't work?</p>