Bug 52905 - Cannot Register the method 'get_AvailableDriverClasses()'
Summary: Cannot Register the method 'get_AvailableDriverClasses()'
Status: RESOLVED DUPLICATE of bug 52868
Alias: None
Product: iOS
Classification: Xamarin
Component: MonoTouch.Dialog ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2017-02-28 17:20 UTC by Justin
Modified: 2017-02-28 19:53 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:

Description Justin 2017-02-28 17:20:42 UTC
/Users/ingen/Projects/mobile-app/Projects/Pira.Forms.iOS/MTOUCH: Error MT4167: Cannot register the method 'get_AvailableDriverClasses()' because the signature contains a generic type (Foundation.NSOrderedSet`1<ObjCRuntime.Class>) with a generic argument type that isn't an NSObject subclass (ObjCRuntime.Class). (MT4167) (Pira.Forms.iOS)
Comment 1 Justin 2017-02-28 17:23:58 UTC
The code will deploy to a simulator and I can deploy an old sample project I had. The development device is running the latest version of iOS(10.2.1)

This code worked before Xamarin and iOS were updated.
Comment 2 Rolf Bjarne Kvinge [MSFT] 2017-02-28 19:45:33 UTC

*** This bug has been marked as a duplicate of bug 52868 ***
Comment 3 Rolf Bjarne Kvinge [MSFT] 2017-02-28 19:45:54 UTC
We're fixing this in the first service release.
Comment 4 Brendan Zagaeski (Xamarin Team, assistant) 2017-02-28 19:53:35 UTC
For additional cross-referencing since Bug 52868 is marked as non-public at the moment, here's the candidate pull request to resolve the issue (on the open source repository):