Code Analysis ReferenceAnalyzersRCS1155On this pageRCS1155: Use StringComparison when comparing stringsPropertiesPropertyValueDefault SeverityWarningMinimum language version-ExamplesExample #1diagnostic.csif (x.ToLower() == y.ToLower()){}fix.csif (string.Equals(x, y, StringComparison.OrdinalIgnoreCase)){}Applies toExtension for VS 2022Extension for VS CodeExtension for Open VSXPackage Roslynator.Analyzers