merge -r 58060:58217
[mono.git] / mcs / class / corlib / System.IO / MonoIO.cs
index 36ef4e806f4823f0ed4f8d753e0da1f645d6e3b0..0c46d07821839baafd4671948006d0c7948e39c6 100644 (file)
@@ -120,14 +120,7 @@ namespace System.IO
                public extern static bool RemoveDirectory (string path, out MonoIOError error);
 
                [MethodImplAttribute (MethodImplOptions.InternalCall)]
-               public extern static IntPtr FindFirstFile (string path, out MonoIOStat stat, out MonoIOError error);
-
-               [MethodImplAttribute (MethodImplOptions.InternalCall)]
-               public extern static bool FindNextFile (IntPtr find, out MonoIOStat stat, out MonoIOError error);
-
-               [MethodImplAttribute (MethodImplOptions.InternalCall)]
-               public extern static bool FindClose (IntPtr find,
-                                                    out MonoIOError error);
+               public extern static string [] GetFileSystemEntries (string path, string pattern, int attrs, int mask, out MonoIOError error);
 
                [MethodImplAttribute (MethodImplOptions.InternalCall)]
                public extern static string GetCurrentDirectory (out MonoIOError error);