[bcl] Remove NET_4_0 defines from class libs.
[mono.git] / mcs / class / corlib / System.IO / File.cs
index 79486b165a8811a7a805b50327187b4ce4cda215..de1758611c936cd78e37e8310a5ae226f906e8c9 100644 (file)
@@ -616,7 +616,6 @@ namespace System.IO
                        throw new NotSupportedException (Locale.GetText ("File encryption isn't supported on any file system."));
                }
 
-#if NET_4_0
                public static IEnumerable<string> ReadLines (string path)
                {
                        return ReadLines (File.OpenText (path));
@@ -689,6 +688,5 @@ namespace System.IO
                                        w.WriteLine (line);
                        }
                }
-#endif
        }
 }