[Mono-bugs] [Bug 56452][Wis] Changed - CS0626: extern method with no impl
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 4 Apr 2004 12:31:02 -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 bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=56452
--- shadow/56452 2004-04-04 12:01:14.000000000 -0400
+++ shadow/56452.tmp.28091 2004-04-04 12:31:01.000000000 -0400
@@ -117,6 +117,15 @@
there. It is easy to forget the attribute.
Benjamin, your patch is incorrect. What if you have:
[MyFoo]
static extern void Blah () {}
+
+------- Additional Comments From bmaurer@users.sf.net 2004-04-04 12:31 -------
+This is interesting, Benjamin reported to me on IRC that MS will not
+emit a warning if there is any attribute on the thing, even if it does
+not specify the external impl.
+
+Not really sure what should be done. On the one hand, I think that
+this should be an error -- when we emit the metadata it is invalid. I
+think that is cause for an error. otoh, we really should be compat.