[Mono-bugs] [Bug 659021] New: byref event->delegate

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Dec 12 05:39:31 EST 2010



           Summary: byref event->delegate
    Classification: Mono
           Product: MonoMac
           Version: GIT
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Bindings
        AssignedTo: gnorton at novell.com
        ReportedBy: kjpou at pt.lu
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; en-us)
AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4

delegate definitions with parameters marked with ref do not compile.

Example is NSDatePickerCellDelegate in monomac/src/appkit.cs

The .netized events are generated as events and should not be.  The bindings
should be generated as a delegate.

Reproducible: Always

Steps to Reproduce:
1. An example to test with has already been sent to kangaroo - Geoff

Actual Results:  

at (wrapper managed-to-native)
MonoMac.ObjCRuntime.Messaging.intptr_objc_msgSend (intptr,intptr) <0x00003>
at (wrapper managed-to-native)
MonoMac.ObjCRuntime.Messaging.intptr_objc_msgSend (intptr,intptr) <0x00003>
at MonoMac.ObjCRuntime.Runtime.GetNSObject (intptr) <0x000f4>
 at MonoMac.ObjCRuntime.NSObjectMarshaler.MarshalNativeToManaged (intptr)
at (wrapper native-to-managed) object.[DatePicker.TestWindowController.Void
MonoMac.Foundation.NSDate, Double)]

kangaroo asked me to file this bug and needs to talk to Miguel how they are to
resolve the issue.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list