On VB.NET I have a ternary expression
dim x=if(b,foo,foo1)
I cannot run break apart parameters on the line but if I change the if statement to a call to xx function then break apart parameters is available
Refactoring – The “Break Apart Parameters” refactoring does not work for ternary expressions in Visual Basic
Answers approved by DevExpress Support
We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.
Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.
- v19.1.3Download Official Update
- v18.2.10Sign in to Request Hotfix
Hi Dan,
Thank you for pointing out the problem.
I have reproduced this problem locally. We will fix it in our future builds.
As a workaround, I suggest that you use the IIF statement instead of IF.