roslynator icon indicating copy to clipboard operation
roslynator copied to clipboard

RCS1080 depreciated in .NET 6

Open StijnOttenVMT opened this issue 3 years ago • 0 comments

Current Linq Any() has been updated to include a check for is ICollection. Therefore Any() is as performant as count != 0 would be.

Using Any() is now preferred because performance is the same or very similar and Any() is more universal.

I don't know if Roslynator can detect the runtime but if so it should not report RCS1080 for .NET 6 (and up)

StijnOttenVMT avatar Jun 15 '22 09:06 StijnOttenVMT