Code Analysis ReferenceAnalyzersRCS1113On this pageRCS1113: Use 'string.IsNullOrEmpty' methodPropertiesPropertyValueDefault SeverityInfoMinimum language version-ExamplesExample #1diagnostic.csif (s == null || s.Length == 0){}fix.csif (string.IsNullOrEmpty(s)){}Applies toExtension for VS 2022Extension for VS CodeExtension for Open VSXPackage Roslynator.Analyzers