resharper-structured-logging icon indicating copy to clipboard operation
resharper-structured-logging copied to clipboard

`ToString` in parent classes is not considered

Open alexb5dh opened this issue 2 years ago • 0 comments

"Complex objects with default ToString() implementation probably need to be destructured" warning is shown when object inherit overriden ToString from base class different from object:

public class A
{
    public override string ToString() => "Custom ToString";
}

public class B: A { }

image

alexb5dh avatar Aug 06 '22 02:08 alexb5dh