StyleCop / StyleCop.ReSharper

Official ReSharper extension for StyleCop
163 stars 29 forks source link

Code clean up adds explicit lambda expression parameter types #59

Closed j-bernhard closed 11 months ago

j-bernhard commented 1 year ago

I talked with the Resharper support and they said I should opene an issue on the StyleCope.Resharper extension.

The problem is that if I have installed the StyleCop.Resharper extension every time I do a code cleanup explicit types are added for lambda expression. But on the other hand stylecop says, redundant explicit type parameter on lambda. (I like the implicit using as it was before. Actual I found no option to configure the old behavior.)

image

image

Example Project and Video Aufzeichnung 2023-10-26 082844.zip

5p1k3md commented 11 months ago

I would like to hear a solution for this as well, because it is quite annoying.

SteveKalk commented 11 months ago

I have the same problem and am also waiting for a solution!

matkoch commented 11 months ago

Please see the note in the readme:

2023-12-10-Arc-StyleCopStyleCop ReSharper Official ReSharper extension for StyleCop-001475

I will consider a new approach since this text seems to go unnoticed for many users.