[Mono-bugs] [Bug 52597][Wis] Changed - We generate invalid code for using idisposable structs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 5 Jan 2004 16:35:54 -0500 (EST)

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 bmaurer@users.sf.net.


--- shadow/52597	2004-01-05 16:20:25.000000000 -0500
+++ shadow/52597.tmp.9947	2004-01-05 16:35:54.000000000 -0500
@@ -95,6 +95,17 @@
 ------- Additional Comments From pcgod@gmx.net  2004-01-05 16:20 -------
 Created an attachment (id=6352)
 new patch which passes the tests
+------- Additional Comments From bmaurer@users.sf.net  2004-01-05 16:35 -------
+THis does not handle the case where the ValueType does not inherit
+Also, we do not handle the case where it does inherit IDisposable, but
+only as an explicit impl.
+You do not handle if there are multiple overloads for Dispose
+You should not emit a callvirt on a struct