diff options
Diffstat (limited to 'mcs/class/corlib')
-rw-r--r-- | mcs/class/corlib/System.IO/File.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mcs/class/corlib/System.IO/File.cs b/mcs/class/corlib/System.IO/File.cs index d768e9457c0..d9335146477 100644 --- a/mcs/class/corlib/System.IO/File.cs +++ b/mcs/class/corlib/System.IO/File.cs @@ -640,7 +640,7 @@ namespace System.IO using (TextWriter w = new StreamWriter (path, true)) { foreach (var line in contents) - w.Write (line); + w.WriteLine (line); } } @@ -653,7 +653,7 @@ namespace System.IO using (TextWriter w = new StreamWriter (path, true, encoding)) { foreach (var line in contents) - w.Write (line); + w.WriteLine (line); } } @@ -666,7 +666,7 @@ namespace System.IO using (TextWriter w = new StreamWriter (path, false)) { foreach (var line in contents) - w.Write (line); + w.WriteLine (line); } } @@ -679,7 +679,7 @@ namespace System.IO using (TextWriter w = new StreamWriter (path, false, encoding)) { foreach (var line in contents) - w.Write (line); + w.WriteLine (line); } } #endif |