If condition Then
If Not condition Then ' CRR0025
In the example given above, the DoSomething() method will never be executed. To check this, apply the Combine/Split Conditional(s) refactoring to one of the if statements. The combined conditional expression condition && !condition will always be false, which means that the body of the conditional statement will never be executed.
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...
Was this page helpful?
Thanks for your feedback! Any other suggestions? Tell us here.