Skip to content

Instantly share code, notes, and snippets.

Created May 24, 2012 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2781961 to your computer and use it in GitHub Desktop.
Save anonymous/2781961 to your computer and use it in GitHub Desktop.
// <Name>Types that used to be 100% covered but not anymore</Name>
warnif count > 0
from t in JustMyCode.Types where
t.IsPresentInBothBuilds() &&
t.OlderVersion().PercentageCoverage == 100 &&
t.PercentageCoverage < 100
let culpritMethods = t.Methods.Where(m => m.PercentageCoverage < 100)
select new {t, t.PercentageCoverage, culpritMethods }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment