[Mono-bugs] [Bug 27713][Maj] Changed - Enumerator Collection with the use of pattern matching
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
25 Jul 2002 11:54:51 -0000
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 lupus@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=27713
--- shadow/27713 Wed Jul 24 14:33:26 2002
+++ shadow/27713.tmp.15344 Thu Jul 25 07:54:51 2002
@@ -1,13 +1,13 @@
Bug#: 27713
Product: Mono/MCS
Version: unspecified
OS: other
OS Details: LFS
-Status: RESOLVED
-Resolution: FIXED
+Status: REOPENED
+Resolution:
Severity: Unknown
Priority: Major
Component: Misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: mwh@sysrq.dk
QAContact: mono-bugs@ximian.com
@@ -143,6 +143,16 @@
This is an mcs issue: PEVerify reports 4 errors on the created program
(built with either runtime). Also note that csc doesn't emit a
try/finally block in this case.
------- Additional Comments From martin@gnome.org 2002-07-24 14:33 -------
Ok, this is now fixed in CVS.
+
+------- Additional Comments From lupus@ximian.com 2002-07-25 07:54 -------
+Only the box/unbox issue has been fixed.
+PEVerify still reports 3 errors: IntListEnumerator doesn't implement
+the IEnumerator interface, so the local variable used to hold the
+enumerator can't be a IEnumerator.
+Also, since in this case we know precisely the type of the enumerator,
+we should check and emit the try/finally only if it has a Dispose
+method (but this is an optimization, while the other issues are real
+bugs).