[corlib] Correctly recurse directories in Directory.EnumerateFiles if the first entry...
authorMarek Habersack <grendel@twistedcode.net>
Fri, 6 Apr 2012 17:35:38 +0000 (19:35 +0200)
committerMarek Habersack <grendel@twistedcode.net>
Fri, 6 Apr 2012 17:35:38 +0000 (19:35 +0200)
commit09a73ad0d15416970c9ae2745775f7262594140b
tree2d8046777e27a61376153b7112bf2f146fa26a57
parent7337ab453b8bd07d0c0541503f5823e1d66388dc
[corlib] Correctly recurse directories in Directory.EnumerateFiles if the first entry is a directory

If the first entry in a directory happened to be another directory, the code wouldn't descend if
SearchOption.AllDirectoris was specified.
mcs/class/corlib/System.IO/Directory.cs