[Mono-bugs] [Bug 26604][Nor] Changed - mcs doesn't handle nested attributes

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
21 Jun 2002 00:50:45 -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 miguel@ximian.com.

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

--- shadow/26604	Thu Jun 20 08:11:17 2002
+++ shadow/26604.tmp.2057	Thu Jun 20 20:50:45 2002
@@ -1,14 +1,14 @@
 Bug#: 26604
 Product: Mono/MCS
 Version: unspecified
 OS: other
 OS Details: 
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: Misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: lupus@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -36,6 +36,20 @@
    at Mono.CSharp.RootContext.CloseTypes() in
 d:\mcs\mcs\rootcontext.cs:line 389
    at Mono.CSharp.Driver.MainDriver(String[] args) in
 d:\mcs\mcs\driver.cs:line 890
    at Mono.CSharp.Driver.Main(String[] args) in d:\mcs\mcs\driver.cs:line 218
 (null)
+
+------- Additional Comments From miguel@ximian.com  2002-06-20 20:50 -------
+I do not think this particular scenario can be solved.  The
+Microsoft.NET reflection runtime is pretty lame in this regard, and
+demands that container types are "closed" before contained types.
+
+In this particular case, if I "close" the type, then the attribute
+will never be applied.
+
+We will need to open a "hole" in our implementation to allow this to
+not happen.  Once that is done, I can probably call recursively the
+definition.
+
+Where does this happen?