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
GitHub or Developer Community 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.
Created attachment 200 [details]
An example solution to demonstrate the problem
I try to compile Umbraco code. I made an example project which demonstrates the error.
The attached solution should work on windows/vs2010.
The attached solution should fail on monodevelop beta3 with mono trunk/master (2.11) build.
Note: I tried to make a same class/interface/inheritance/constraint structure, but I could not make an example which break the same way as the attached example. Therefore I am not 100% shure what is causing the error.
By analyzing the code I cannot not understand why this error occurs.
Detailed information about the error:
Error CS0425: The constraints for type parameter `T' of method `Umbraco.Framework.IO.RepositoryReadWriter.AddOrUpdate<T>(System.Collections.Generic.IEnumerable<Umbraco.Framework.Persistence.Model.Versioning.Revision<T>>)' must match the constraints for type parameter `T' of interface method `Umbraco.Framework.Persistence.ProviderSupport.IRepositoryReadWriter.AddOrUpdate<T>(System.Collections.Generic.IEnumerable<Umbraco.Framework.Persistence.Model.Versioning.Revision<T>>)'. Consider using an explicit interface implementation instead (CS0425) (Umbraco.Framework.IO)
Fixed in master
After updated the git from master the example is fixed! Thank you. :-)
After trying to build the whole project again, 2 new errors are introduced :
Error CS0584: Internal compiler error: Object reference not set to an instance of an object (CS0584)
Error CS0266: Cannot implicitly convert type `<fake$type>' to `System.Web.IHtmlString'. An explicit conversion exists (are you missing a cast?) (CS0266)
Please create some form of sample