[Mono-bugs] [Bug 25100] Changed - Arguments off-by-one in delegate calls from a pinvoked method
25 May 2002 20:48:11 -0000
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 firstname.lastname@example.org.
--- shadow/25100 Tue May 21 20:29:10 2002
+++ shadow/25100.tmp.29213 Sat May 25 16:48:11 2002
@@ -1,13 +1,13 @@
@@ -43,6 +43,16 @@
C# file which does the PInvoking
------- Additional Comments From email@example.com 2002-05-21 20:29 -------
Actually, it seems to work if I build on Windows and run on Linux, so
I'm guessing this is a compiler bug and changing as such.
+------- Additional Comments From firstname.lastname@example.org 2002-05-25 16:48 -------
+Thanks for the bug report. This bug was interesting, because the
+problem was that MCS assumed that if we were an instance method, we
+would be calling an instance delegate.
+In reality, we should check if the function that is being created is
+static or not.
+The bug is now fixed