c# – Why is Resharper showing an error whose inspection is disabled and whose format style is different?


Resharper shows this error “Line break is missing around parenthesis”:

enter image description here

But I have disabled the inspection:

enter image description here

And I adjusted the formatting style, so that there shouldn’t have to be a line break around a parenthesis:

enter image description here

Why is ReSharper still showing this error?

The total amount of strange code style errors in my solution is 1300 and it drives my crazy.

FYI: My ReSharper is version 2025.1.3. Build 251.0.20250604.2353 built on 2025-06-04.

Edit:
I am pretty sure, that this is caused by resharper, because I can Alt+Enter it:
enter image description here

And when I disable it once with comment, the comment clearly states “ReSharper”, and the squiggly lines are gone (at least for this error).

enter image description here

Leave a Reply

Your email address will not be published. Required fields are marked *