[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:01:14 -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 11:56:06.000000000 -0400
+++ shadow/56452.tmp.27971 2004-04-04 12:01:14.000000000 -0400
@@ -108,6 +108,15 @@
[DllImport ("libcsharptest")]
private static extern void does_not_work (IntPtr p);
"
works, so I presume this is what you have to do to import multiple
functions. Thanks.
+
+------- Additional Comments From bmaurer@users.sf.net 2004-04-04 12:01 -------
+Andrew, dont worry dude, there is a reason MS put that warning in
+there. It is easy to forget the attribute.
+
+Benjamin, your patch is incorrect. What if you have:
+
+[MyFoo]
+static extern void Blah () {}