Code inspection: Redundant 'base.' qualifier
This inspection reports a base. qualifier when removing it, or replacing it with this., would still resolve to the same member. In that case, the explicit base qualifier is unnecessary and makes the code more verbose.
class Base
{
protected string text = "";
}
class Derived : Base
{
int GetLength()
{
return base.text.Length;
}
}
class Base
{
protected string text = "";
}
class Derived : Base
{
int GetLength()
{
return text.Length;
}
}
If your code syntax style requires explicit instance qualifiers, the quick-fix can change base. to this. instead.
13 April 2026