olsh / resharper-structured-logging

An extension for ReSharper and Rider that highlights structured logging templates and contains some useful analyzers
MIT License
141 stars 14 forks source link

`ToString` in parent classes is not considered #68

Closed alexb5dh closed 1 year ago

alexb5dh commented 2 years 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:

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

public class B: A { }

image

olsh commented 1 year ago

The bug was fixed in this release. https://github.com/olsh/resharper-structured-logging/releases/tag/2022.1.2.261 Thank you! 👍🏻