private static CssUsageInfo AnalyzeCssStylesheet(CssStylesheet stylesheet, HtmlDocument html) { var unusedSelectors = stylesheet.Selectors .AsParallel() .Where(s => !html.IsSelectorInUse(s)) .ToList(); return new CssUsageInfo(stylesheet.Url, unusedSelectors); }