[Mono-bugs] [Bug 79934][Maj] Changed - namespace problems with partial classes on mono-1.2

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Dec 1 07:42:42 EST 2006


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 rharinath at novell.com.

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

--- shadow/79934	2006-11-15 05:22:54.000000000 -0500
+++ shadow/79934.tmp.21188	2006-12-01 07:42:42.000000000 -0500
@@ -60,6 +60,31 @@
 
 
 ------- Additional Comments From rharinath at novell.com  2006-11-15 05:22 -------
 I believe this has to do with the new anonymous-method code.  I think
 somewhere 'Parent' fields are not tracked when IteratorHost is created.
 
+
+------- Additional Comments From rharinath at novell.com  2006-12-01 07:42 -------
+This can be simplified to a single file test
+
+-----------8<------------
+namespace Foo {
+        public static partial class X { }
+}
+
+namespace Foo {
+        using System;
+        using System.Collections;
+
+        public static partial class X
+        {
+                public static IEnumerable Attempts {
+                        get {
+                                AttributeTargets t = AttributeTargets.All;
+                                yield break;
+                        }
+                }
+        }
+}
+-----------8<------------
+


More information about the mono-bugs mailing list