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 for Bug 57963 on
GitHub or Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Created attachment 23318 [details]
The attached sample program throws exception when running on Centos 6.5 with Mono.
It looks like using base/derived classes to construct BindingList and passing it to DataGridView as a BindingSource makes Mono framework to throw System.Reflection.TargetException. Interestingly first object in the list determines if the exception is going to be thrown or not. If the first object is of base class type everything is fine, if the first object is of derived type the application crashes. For example, in the attached example changing the type of the object to 'Knight' in line 19 makes the application run.