Bug 31885 - Directory.EnumerateFiles returns incorrect result when searchPattern includes subdir
Summary: Directory.EnumerateFiles returns incorrect result when searchPattern includes...
Status: RESOLVED DUPLICATE of bug 42715
Alias: None
Product: Class Libraries
Classification: Mono
Component: mscorlib (show other bugs)
Version: 4.0.0
Hardware: PC All
: --- normal
Target Milestone: Untriaged
Assignee: Alexander Köplinger [MSFT]
Depends on:
Reported: 2015-07-13 13:06 UTC by Ryan Melena
Modified: 2016-11-29 15:42 UTC (History)
2 users (show)

See Also:
Is this bug a regression?: ---
Last known good build:


Description Ryan Melena 2015-07-13 13:06:44 UTC
Reproduce under Windows:

mkdir c:\temp\
mkdir c:\temp\test
echo $null >> c:\temp\test\file
using System.IO;

Result: { "c:\temp\file" }
Expected: { "c:\temp\test\file" }
Comment 1 Ryan Melena 2015-07-13 13:08:36 UTC
Believe the source of this issue may be the System.IO.MonoIO.FindFirst method.
Comment 2 Alexander Köplinger [MSFT] 2016-11-29 15:42:16 UTC

*** This bug has been marked as a duplicate of bug 42715 ***

Note You need to log in before you can comment on or make changes to this bug.