JetBrains Rider
 
Get JetBrains Rider
Get your hands on the new features ahead of the release by joining the Early Access Program for Rider 2025.1! Learn more

Code inspection: Virtual (overridable) member is never overridden (private accessibility)

Last modified: 11 February 2024

This inspection detects methods and properties with the virtual modifier in situations when the containing class has inheritors but the virtual members have no overrides in any of them. To improve code readability, JetBrains Rider suggests making such members non-virtual.