PhysicalFileSystem.GetFiles() doesn't search recursively with searchPattern
Problem reported by Christian Davén - 9/6/2023 at 11:49 AM
I think I found a bug, but maybe it's by design..? See my comments in the code snippet.

var location = new PhysicalLocation() { Path = TestContext.CurrentContext.TestDirectory };
var fs = location.CreateFileSystem();

// This will only search the top/root folder
fs.GetFiles(FolderSearchOption.All, null, "*.dll");

// This will search recursively
fs.GetFiles(FolderSearchOption.All, null, "*");

Reply to Thread