[Mono-bugs] [Bug 80848][Min] New - XmlTextReader Read not check state ReadState.Closed

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Feb 14 09:37:48 EST 2007

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 inadsan at gmail.com.


--- shadow/80848	2007-02-14 09:37:48.000000000 -0500
+++ shadow/80848.tmp.9289	2007-02-14 09:37:48.000000000 -0500
@@ -0,0 +1,40 @@
+Bug#: 80848
+Product: Mono: Class Libraries
+Version: 1.2
+OS Details: 
+Status: NEW   
+Priority: Minor
+Component: Sys.XML
+AssignedTo: atsushi at ximian.com                            
+ReportedBy: inadsan at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: XmlTextReader Read not check state ReadState.Closed
+XmlTextReader Read not check state==ReadState.Closed and throws
+System.ObjectDisposedException after call reader.Close();
+Steps to reproduce the problem:
+1. Read XML with XmlTextReader
+2. Call reader.close()
+Actual Results:
+XmlTextReader.Read throws System.ObjectDisposedException after call
+Expected Results:
+XmlTextReader.Read return false;
+How often does this happen? 
+Additional Information:
+I'am solve the problem with break after Close() but in Microsoft .NET 2.0
+not necesary.

More information about the mono-bugs mailing list