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.