[Mono-bugs] [Bug 60997][Min] Changed - [PATCH] CS0626 is reported when the DllImport attribute is not found
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 2 Aug 2004 06:07:26 -0400 (EDT)
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@novell.com.
http://bugzilla.ximian.com/show_bug.cgi?id=60997
--- shadow/60997 2004-08-02 06:04:57.000000000 -0400
+++ shadow/60997.tmp.23208 2004-08-02 06:07:26.000000000 -0400
@@ -1,23 +1,23 @@
Bug#: 60997
Product: Mono: Compilers
Version: unspecified
OS: unknown
OS Details:
-Status: NEW
+Status: ASSIGNED
Resolution:
Severity: Unknown
Priority: Minor
Component: C#
AssignedTo: mono-bugs@ximian.com
ReportedBy: vargaz@freemail.hu
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: CS0626 is reported when the DllImport attribute is not found
+Summary: [PATCH] CS0626 is reported when the DllImport attribute is not found
When compiling the following test program:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
using System;
using System.Text;
@@ -68,6 +68,17 @@
It is fixable, but will likely require another pass.
------- Additional Comments From rharinath@novell.com 2004-08-02 06:04 -------
Created an attachment (id=8819)
cleanup error messages
+
+------- Additional Comments From rharinath@novell.com 2004-08-02 06:07 -------
+I just added a "complained_before" flag to the Attribute class to fix
+the double reporting of errors.
+
+Basically, 'Type == null' can represent either that the Attribute
+wasn't resolved, or that resolution was attempted but failed. This
+clarifies the two cases.
+
+Ok to apply?
+