public static string[] GetFileSystemEntries(string path) { if (_provider == null) { return(Directory.GetFileSystemEntries(path)); } return(_provider.GetFileSystemEntries(path)); }