public CheckReferences(ICompilationInfo compilationInfo, string pattern) { this.checkReferences = compilationInfo.Project.References.Where(r => FileUtil.FilenameMatchesPattern(r.Name, pattern)) .Select(r => new CheckReference(r.Name)); }