We do a lot of "common interfaces" outside the Umbraco Site assembly. Most compositions inherit these interfaces, and they match in names so we don't have to do more than add a partial with the inheritance.
However, all generated properties of course report that they hide and should have the new keyword.
Adding the new keyword to all props of course adds a warning that there is nothing to shadow for those that are specific to the site.
Since MB already does some analysis on existing code, would it be possible to check inherited interfaces and add the new keyword to any property that matches?
We do a lot of "common interfaces" outside the Umbraco Site assembly. Most compositions inherit these interfaces, and they match in names so we don't have to do more than add a partial with the inheritance. However, all generated properties of course report that they hide and should have the new keyword. Adding the new keyword to all props of course adds a warning that there is nothing to shadow for those that are specific to the site. Since MB already does some analysis on existing code, would it be possible to check inherited interfaces and add the new keyword to any property that matches?
(Slight duplicate of #70)