Closed
Description
In #701, we created the managedOverride
metadata which allows a user to override which of virtual
/override
keywords are placed on a method:
<attr path="//method[@name='example']" name="managedOverride">override</attr>
<attr path="//method[@name='example']" name="managedOverride">virtual</attr>
However, sometimes the desired fix is "none of the above". For example, there may not be a method to override
, however the class is sealed
so virtual
is not a valid option either. Both keywords must be omitted.
We should add support for a third none
option:
<attr path="//method[@name='example']" name="managedOverride">none</attr>