internal static List <string> ExecuteEnumeratePSFiles(
            WorkspaceService workspace,
            string[] excludeGlobs,
            string[] includeGlobs,
            int maxDepth,
            bool ignoreReparsePoints
            )
        {
            var result = workspace.EnumeratePSFiles(
                excludeGlobs: excludeGlobs,
                includeGlobs: includeGlobs,
                maxDepth: maxDepth,
                ignoreReparsePoints: ignoreReparsePoints
                );
            var fileList = new List <string>();

            foreach (string file in result)
            {
                fileList.Add(file);
            }
            // Assume order is not important from EnumeratePSFiles and sort the array so we can use deterministic asserts
            fileList.Sort();

            return(fileList);
        }