Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
We bind NSComboBox.GetItem as:
NSComboBox GetItem (nint index);
It should be bound as:
NSObject GetItem (nint index);
Workaround in case anyone else runs into this until it's fixed in the product:
Add to your project and use the `FixedGetItem` method instead of `GetItem`.
Fixed on master / b8da9d241737790eee3e95dacfd58eeb18e1ff1f
I have checked this issue with the cycle 6 builds XS 5.10 (build 811) + X.M 220.127.116.11 + Mono 18.104.22.168 and observed that this issue has been fixed and no longer exist with this build. I observed that now I am getting NSObject in place of NSComboBox. i.e.
[Export ("itemObjectValueAtIndex:"), CompilerGenerated]
public virtual NSObject GetItemObject (nint index);
This issue has been fixed hence I am closing this issue.