roslynator icon indicating copy to clipboard operation
roslynator copied to clipboard

Change Span of PutFullAccessorOnOwnLine to be correct

Open niekschoemaker opened this issue 5 months ago • 0 comments

The span used to be empty causing the warning to only appear when building, and not in the IDE (at least for Rider) unless something like Error lens is active.

I changed it to match the span it expects for the code fix, and also removed the break because both accessors can be wrong, and this way it correctly marks both of them as being on the wrong line. Otherwise applying the code fix would suddenly cause a new warning for the other accessor.

niekschoemaker avatar Jun 20 '25 14:06 niekschoemaker