[Mono-bugs] [Bug 76577][Wis] Changed - TextWriter Mono/.NET behaviour variance

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Nov 1 04:12:48 EST 2005


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 bill.seddon at lyquidity.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76577

--- shadow/76577	2005-11-01 02:11:54.000000000 -0500
+++ shadow/76577.tmp.575	2005-11-01 04:12:48.000000000 -0500
@@ -40,6 +40,16 @@
 I investigated and we do call write method and the potental to be 
 different in MS.NET could exist that may cause an issue. Needs some 
 testing to tell if .NET does the same. If it does all it means is 
 that we move the current write methods context to a private method 
 and switch all the write and writelines to call the private write 
 methods instead.
+
+------- Additional Comments From bill.seddon at lyquidity.com  2005-11-01 04:12 -------
+I'm confident you will find that differences exist.  I wrote the 
+note after running into the different behavior.  .NET seems not to 
+assume that WriteLine() is Write() plus newline and Write() is not 
+called.  
+
+As you point out a way to address the difference is to have both 
+Write() and WriteLine() call private Write() methods that have the 
+current Write() implementation.


More information about the mono-bugs mailing list