Code Analysis ReferenceAnalyzersRCS9007On this pageRCS9007: Use return valuePropertiesPropertyValueDefault SeverityWarningMinimum language version-ExamplesExample #1diagnostic.csifStatement.WithCondition(newCondition);fix.csvar x = ifStatement.WithCondition(newCondition);Applies toPackage Roslynator.CodeAnalysis.Analyzers