Is it possible to configure suppress attributes to be applied automatically on specific field type/name or namespace/inherited-classes?

Basically all I want is to automatically suppress certain warning for specific fields like "Ilogger<T> _logger" or domain specific code which properties don't follow naming conventions and adding those suppress messages are triggering my "OCD". Example:

1 comment
Comment actions Permalink
Official comment



Please accept apologies  for the delay in responding.

There's no such option, but you can try using ReSharper Structural Search and Replace feature, for more details please refer to this article -

Please let me know if you have any more questions.

Thank you.

Please sign in to leave a comment.