[Mono-bugs] [Bug 23064] Changed - mcs cannot compile attribute constructs with typeof() expressions

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
5 Apr 2002 09:07:31 -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 john@webmeta.com.

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

--- shadow/23064	Fri Apr  5 04:03:52 2002
+++ shadow/23064.tmp.11624	Fri Apr  5 04:07:31 2002
@@ -1,14 +1,14 @@
 Bug#: 23064
 Product: Mono/MCS
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Blocker
 Component: Misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: john@webmeta.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -32,6 +32,13 @@
 
 $ mcs hello.cs
 .\hello.cs(30) error CS0182: An attribute argument must be a constant 
 expression
 , typeof expression or array creation expression
 Error: Compilation failed
+
+------- Additional Comments From john@webmeta.com  2002-04-05 04:07 -------
+one other thing: in order to test the example I gave you will have 
+to exclude System.Xml.Schema from the build, and remove the 
+<exclude> pertaining to System.Xml.Serialization, and rebuild the 
+class library. The attribute in my example depends on a Serializtion 
+attribute.