Create a gist now

Instantly share code, notes, and snippets.

anonymous /gist:2781961
Created May 24, 2012

What would you like to do?
// <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