private Project CreateProject(VSProject project) { var path = project.GetPath(); var files = project.GetFiles(); if (_filterProvider.AllowedExtensions.Any()) { files = files.Where(IsValidFile); } return(new Project(project.Name, path, ProjectLanguage.Unsupported, files)); }