This analyzer detects ternary expressions that always return the same value. Check the following example.
var result = condition ? a + b : b + a; // CRR0004
Such expressions are redundant because the condition value never changes the result value. Consider modifying one of the branches or changing the ternary expression to a simple assignment.
We are updating the DevExpress product documentation website and this page is part of our new experience. During this transition period, product documentation remains available in our previous format at documentation.devexpress.com. Learn More...