[Mono-bugs] [Bug 62152][Wis] New - StreamWriter locks the file
Fri, 30 Jul 2004 14:17:48 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by email@example.com.
--- shadow/62152 2004-07-30 14:17:48.000000000 -0400
+++ shadow/62152.tmp.25186 2004-07-30 14:17:48.000000000 -0400
@@ -0,0 +1,48 @@
+Product: Mono: Class Libraries
+OS Details: Win XP
+Summary: StreamWriter locks the file
+Please fill in this template when reporting a bug, unless you know what you
+Description of Problem:
+Using StreamWriter to create and write to a file, the file becomes locked.
+ This prevents other applications from opening the file, which is
+inconsistent with the MS implementation.
+Steps to reproduce the problem:
+StreamWriter sr = new StreamWriter("file");
+Try and open the file.
+When opening the file in editplus:
+"The process cannot access the file because it is being used by another
+The file should not be locked exclusively; other processes should be
+permitted to open the file, like in the MS implementation.
+How often does this happen?