ReSharper 2024.1 Help

Code inspection: Redundant member override

Category

Redundancies in Symbol Declarations

ID

RedundantOverriddenMember

EditorConfig

resharper_redundant_overridden_member_highlighting

Default severity

Warning

Language

C#

Requires SWA

No

In the example below, an overriding method does nothing but call the base method. ReSharper considers such override redundant and suggests removing it to improve code clarity. You can add your custom code to the method or use the quick-fix to remove the redundant override.

public override string ToString() { return base.ToString(); }
Last modified: 11 February 2024