JetBrains Rider 2024.3 Help

Code inspection: Type member is never accessed via base type (private accessibility)

This inspection reports interface members that have no direct usages in the current local scope, where only their implementations from derived classes are used. It suggests that such a member may not necessarily need to be a part of the interface, in which case it can be safely removed to simplify your code.

Although this might be an issue in the current state of your codebase, the inspection cannot account for planned future usages of the interface. So if you plan to use the reported member through the interface, you may ignore this suggestion.

Last modified: 29 May 2024