You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.
Try this: new DirectoryInfo(@"C:\").GetDirectories().Count three times in a row. The first two times it's correct; the third time it's one fewer than it should be.
The reason for this appears to be the addition of an ERROR_NO_MORE_FILES check on this branch. Sometimes FindFirstFileEx sets this when enumerating the root drive. Hopefully not just on my system.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Try this:
new DirectoryInfo(@"C:\").GetDirectories().Count
three times in a row. The first two times it's correct; the third time it's one fewer than it should be.The reason for this appears to be the addition of an
ERROR_NO_MORE_FILES
check on this branch. Sometimes FindFirstFileEx sets this when enumerating the root drive. Hopefully not just on my system.The text was updated successfully, but these errors were encountered: