[Mono-bugs] [Bug 75723][Nor] Changed - [PATCH] CS0182 reported on
valid attributes
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Aug 24 12:32:00 EDT 2005
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 atsushi at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75723
--- shadow/75723 2005-08-24 12:28:01.000000000 -0400
+++ shadow/75723.tmp.17350 2005-08-24 12:32:00.000000000 -0400
@@ -1,23 +1,22 @@
Bug#: 75723
Product: Mono: Compilers
Version: 1.1
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: C#
AssignedTo: mono-bugs at ximian.com
ReportedBy: gcomeau at hotmail.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
-Cc:
-Summary: CS0182 reported on valid attributes
+Summary: [PATCH] CS0182 reported on valid attributes
Getting error CS0182: An attribute argument must be a constant expression,
typeof expression or array creation expression
on near trivial sample of code that goes through csc just fine.
@@ -75,6 +74,14 @@
How often does this happen: Always.
------- Additional Comments From atsushi at ximian.com 2005-08-24 12:28 -------
Created an attachment (id=15633)
proposed corlib fix
+
+------- Additional Comments From atsushi at ximian.com 2005-08-24 12:32 -------
+In Attribute.Resolve (file attribute.cs), mcs catches all kind of
+exceptions i.e. catch (Exception) that hides ArgumentException raised
+in CustomAttributeBuilder.ctor().
+
+Maybe we should remove that try-catch.
+
More information about the mono-bugs
mailing list