I have the following recursive function in C# which has a parameter named "format" which is never used outside of the recursive call.
public static int MyFunction(int c, bool format = false)
{
if(....)
{
MyFunction(c - 1, format);
}
....
return ...;
}
Can I ask resharper to provide me a warning about that, so that it tells me the parameter is dead? In my case, I got an error because I forgot to pass format to a sub-function. Having a warning would have helped me not to loose time debugging.