JetBrains Rider 2026.1 Help

Code inspection: Call to base member with implicit default parameters

This inspection reports a call to a base method where an optional argument is omitted. In an override, that is easy to misunderstand, because default argument values are bound at the call site and can differ between base and derived members.

Example

class Base { public virtual void Log(int level, int category = 0) { } } class Derived : Base { public override void Log(int level, int category = 0) { base.Log(level + 1); } }
class Base { public virtual void Log(int level, int category = 0) { } } class Derived : Base { public override void Log(int level, int category = 0) { base.Log(level + 1, category); } }

How to fix

This inspection does not have a dedicated quick-fix. The safe fix is to pass the argument explicitly.

01 April 2026