Closed alexb5dh closed 1 year ago
"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:
ToString
object
public class A { public override string ToString() => "Custom ToString"; } public class B: A { }
The bug was fixed in this release. https://github.com/olsh/resharper-structured-logging/releases/tag/2022.1.2.261 Thank you! 👍🏻
"Complex objects with default ToString() implementation probably need to be destructured" warning is shown when object inherit overriden
ToString
from base class different fromobject
: