Directory.GetFiles not taking 3 arguments?????

I get this when I try using Directory.GetFiles(string, string, SearchOption);

No overload for method GetFiles' takes 3’ arguments

Is it missing from Unity’s implementation?

Does anyone know how to iterate search for files in all subfolders as well?

Feel free to check the Mono compatibility page (This page is huge, so you have to wait until it’s loaded. Just search for Directory or GetFiles).

As you can see the 3 argument version is not available on all platforms.