Bug 3652 - The MonoMac project with the following code build error,why?
Summary: The MonoMac project with the following code build error,why?
Alias: None
Product: MonoMac
Classification: Desktop
Component: Bindings ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2012-02-27 02:06 UTC by Rock
Modified: 2015-02-10 20:06 UTC (History)
3 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 Rock 2012-02-27 02:06:54 UTC
public class ComBoxDataSource<T>:NSComboBoxDataSource where T:NSObject
		private readonly List<T> list;
		private readonly GetDisplayHandle<T> handle;
		public ComBoxDataSource(IEnumerable<T> list,GetDisplayHandle<T> handle):base()
		public override int ItemCount (NSComboBox comboBox)
			return this.list.Count;
		public override NSObject ObjectValueForItem (NSComboBox comboBox, int index)
			string temp=String.Empty;
			return new NSString(temp);
	public delegate string GetDisplayHandle<T>(T t);
Comment 1 Mikayla Hutchinson [MSFT] 2012-02-27 12:03:37 UTC
What is the error?
Comment 2 Rock 2012-02-29 21:28:30 UTC
Sorry! it can build succeeded,but run throw the MethodInfo cannot be in a generic type expect.
Comment 3 Timothy Risi 2015-02-10 20:06:38 UTC
I tested this on the current stable builds and have been unable to reproduce the error, so I'm closing the issue.