Code Analysis ReferenceAnalyzersRCS1080On this pageRCS1080: Use 'Count/Length' property instead of 'Any' methodPropertiesPropertyValueDefault Severitydisabled by defaultMinimum language version-ExamplesExample #1diagnostic.csif (list.Any()){}fix.csif (list.Count > 0){}Applies toExtension for VS 2022Extension for VS CodeExtension for Open VSXPackage Roslynator.Analyzers