Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 28875 on
GitHub or Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
It appears that on Mac, Directory.EnumerateFiles, when called with a search pattern, behaves in a case-sensitive manner. Deep in the bowels of the Mono sources on github, it seems this may be controlled via a #define of IS_PORTABILITY_CASE and others.
As a workaround, list everything w/o a search pattern and filter yourself, if you care to have a case insensitive search occur.
Seems this has also been mentioned here:
It looks like IS_PORTABILITY_CASE is not initialised correctly. We'll probably have to read some HFS+ as it can be both case sensitive and insensitive.
The easiest workaround for you is to set MONO_IOMAP=case
Created attachment 26244 [details]
I can reproduce with Mono 22.214.171.124 (master/df33c092de3) on an case-insensitive APFS volume.
The workaround provided in https://bugzilla.xamarin.com/show_bug.cgi?id=28875#c2 do gives the expected behavior.