* Path.cs:
* Directory.cs:
* DirectoryInfo.cs: Add some of the 4.0 methods to Moonlight.
svn path=/trunk/mcs/; revision=153650
+2010-03-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
+
+ * Path.cs:
+ * Directory.cs:
+ * DirectoryInfo.cs: Add some of the 4.0 methods to Moonlight.
+
2010-03-15 Rolf Bjarne Kvinge <RKvinge@novell.com>
* SearchOption.cs: Make public for Moonlight, this type is in SL4.
return result;
}
-#if NET_4_0
+#if NET_4_0 || MOONLIGHT
public static string[] GetFileSystemEntries (string path, string searchPattern, SearchOption searchOption)
{
// Take the simple way home:
}
#endif
-#if NET_4_0
+#if NET_4_0 || MOONLIGHT
public IEnumerable<DirectoryInfo> EnumerateDirectories ()
{
return String.Compare (subset, slast, path, slast, subset.Length - slast) == 0;
}
-#if NET_4_0
+#if NET_4_0 || MOONLIGHT
public static string Combine (params string [] paths)
{
if (paths == null)