Code inspection: Redundant base constructor call
This inspection reports an explicit : base() call with no arguments when the compiler would generate the same base constructor call automatically.
Example
class Base
{
}
class Derived : Base
{
public Derived() : base()
{
}
}
class Base
{
}
class Derived : Base
{
public Derived()
{
}
}
Quick-fix
The quick-fix removes the redundant : base() call.
13 April 2026