Fix: Removed wrong increment
authormtausig <mtausig@fsmat.at>
Mon, 29 Oct 2012 15:50:35 +0000 (16:50 +0100)
committermtausig <mtausig@fsmat.at>
Mon, 29 Oct 2012 15:50:35 +0000 (16:50 +0100)
mcs/class/corlib/System.IO/DirectoryInfo.cs

index 71a91ae802e97a4a0b4dbefc975925084a05ae7e..11dee2800578fb302cbc8a8e1558313584a04754 100644 (file)
@@ -279,7 +279,7 @@ namespace System.IO {
                        DirectoryInfo[] infos = new DirectoryInfo [names.Length];
                        for (int i = 0; i<names.Length; ++i){
                                string name = names[i];
-                               infos [i++] = new DirectoryInfo (name);
+                               infos [i] = new DirectoryInfo (name);
                        }
                        return infos;
                }