[Mono-bugs] [Bug 60997][Min] Changed - CS0626 is reported when the DllImport attribute is not found

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 26 Jul 2004 12:10:21 -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 miguel@ximian.com.


--- shadow/60997	2004-07-18 17:13:47.000000000 -0400
+++ shadow/60997.tmp.4194	2004-07-26 12:10:21.000000000 -0400
@@ -57,6 +57,12 @@
 external and has no attributes on it. Consider adding a DllImport
 attribute to specify the external implementation
 Compilation failed: 3 error(s), 0 warnings
 So it is probably not right in that it prints the first error twice,
 maybe with some help I can figure out the correct fix.
+------- Additional Comments From miguel@ximian.com  2004-07-26 12:10 -------
+This is just a side-effect of the order in which we process things: we
+first do the semantic analysis for the methods, then we do attributes.
+It is fixable, but will likely require another pass.