BetterExplorer.FolderSizeWindow.GetFilesRec C# (CSharp) Method

GetFilesRec() private method

private GetFilesRec ( ShellItem path ) : void
path ShellItem
return void
        private void GetFilesRec(ShellItem path)
        {
            foreach (ShellItem item in path)
            {
                try
                {
                    if (item.IsFolder)
                    {
                        try
                        {
                            GetFilesRec(item);
                        }
                        catch (Exception)
                        {
                        }
                    }
                    else
                    {
                        shol.Add(item);
                    }
                }
                catch (Exception)
                {
                }
            }
        }