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 PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80153 --- shadow/80153 2006-12-05 12:32:45.000000000 -0500 +++ shadow/80153.tmp.20602 2006-12-05 12:32:45.000000000 -0500 @@ -0,0 +1,34 @@ +Bug#: 80153 +Product: Mono: Class Libraries +Version: 1.2 +OS: All +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: CORLIB +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Summary: TextReader missing Dispose() on 1.0 profile + +When I tested my vs2005 projects against xbuild, I found an annoying +bug. My 2.0 code did not compile. I attach a snippet, alongs with +comments. It seems that 1.0 TextReader/Writer did not implement +IDisposable (or implemented it explicitly), although I cannot find +this info on msdn (there is only a note that their Dispose() methods +are new in 2.0). However, as I compiled with gmcs, the error still +arose: + +error CS0122: `System.IO.TextReader.Dispose(bool)' is inaccessible due +to its protection level + +this time only with TextReader. + +First: it's a glitch in TextReader (it implements the interface +explicitly, so the object is only disposable when cast to +IDisposable), it's Dispose() implementation should be changed to this +of TextWriter, this is also visible on class status pages. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
