Current filter:
                                You should refresh the page.
                                  • Steps to reproduce :

                                    Considering this code :

                                    readonly uint UNASSIGNED = 0xdeadbeef;
                                    When I try to apply the "convert to Constant" refactoring provided by Coderush, I end up with the following code :

                                    readonly const uint UNASSIGNED = 0xdeadbeef;
                                    This code is not valid as you cannot have both readonly and const on the same field.

                                    Expected Result :

                                    The "convert to Constant" refactoring should drop the readonly qualifier if present, when applied.

                                • Przemyslaw Wlodarczak (DevExpress) 03.14.2019

                                  Matthieu,
                                  Thank you for the report. I reproduced this issue. We will fix it soon.

                                1 Solution

                                Creation Date Importance Sort by

                                Fixed: