Current filter:
                                You should refresh the page.
                                  • This happens in CRC and CRR.   This is for C#.

                                    If the right hand side of an IF statement is NOT a constant, it should not offer to convert it to a switch statement.

                                    int x;
                                    int y;
                                    int z;

                                    if (x == y)
                                    if (x == z)

                                    should NOT offer to convert as that is not legal code in a switch statement unless Y and Z are constants.

                                • Pavel A (DevExpress) 03.18.2016

                                  Hi Brien,

                                  Thank you for pointing out this issue.
                                  I have reproduced it in CRC and CRR, and passed this ticket to our developers for research.
                                  We will notify you when we have any results.

                                1 Solution

                                Creation Date Importance Sort by


                                We have fixed this problem and will include it in an upcoming release. The final release date has not been set, but once it is published we will send you an automatic notification.