Code Analysis ReferenceAnalyzersRCS1049On this pageRCS1049: Simplify boolean comparisonPropertiesPropertyValueDefault SeverityInfoMinimum language version-ExamplesExample #1diagnostic.csbool f = false;// ...if (f == false){}if (f != true){}fix.csif (!f){}if (!f){}Applies toPackage Roslynator.Analyzers