Code Analysis ReferenceAnalyzersRCS1084On this pageRCS1084: Use coalesce expression instead of conditional expressionPropertiesPropertyValueDefault SeverityInfoMinimum language version-ExamplesExample #1diagnostic.csstring x = (s != null) ? s : "";fix.csstring x = s ?? "";Applies toExtension for VS 2022Extension for VS CodeExtension for Open VSXPackage Roslynator.Analyzers