[Mono-osx] Exporting selectors from partial support class

Johan Hammar johanhmr at gmail.com
Sun Aug 5 16:17:40 UTC 2012

Hi all,

Should it be possible to export methods from the partial support classes of

For some reason myNSObject.RespondsToSelector (new
Selector("someSelector:")) only returns true if the "Export" attribute
of someSelector: is added to a method of a subclass of the NSObject in
question but returns false if I add it to a partial class of it (where the
partial class is included in the Makefile compilation the same way e.g.,
AppKit/NSControl.cs is included as a partial class for
AppKit/NSControl.g.cs). I would prefer to avoid subclassing and instead
create a partial support class to implement the selector.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-osx/attachments/20120805/06173f38/attachment.html>

More information about the Mono-osx mailing list