Code inspection: Redundant method overload (non-private accessibility)
This inspection reports an overload that does nothing except forward its arguments to another overload with the same behavior. Such overloads usually add noise without adding useful API value.
Example
class C
{
private void Foo(int value)
{
Foo(value, 0);
}
private void Foo(int value, int count = 0)
{
}
}
class C
{
private void Foo(int value, int count = 0)
{
}
}
Quick-fix
The quick-fix removes the redundant forwarding overload.
13 April 2026