Current filter:
                                You should refresh the page.
                                  • Hello, region created by CodeRush is miplaced:
                                    Original code:

                                    [C#]
                                    public class CasErPlusDialog06NawiScale : SingleReadNawiScaleBase, ISetUnitPriceNawiScale { #region private constants... private const int _decimals = 3; #endregion #region private fields... private readonly SerialDeviceSettings _deviceSettings; #endregion #region constructors... public CasErPlusDialog06NawiScale(SerialDeviceSettings deviceSettings) { _deviceSettings = deviceSettings; } #endregion public void SetUnitPrice(decimal unitPrice) { throw new NotImplementedException(); } }

                                    Then I set cursor to public void SetUnitPrice and press Ctrl+3. I get this code:

                                    [C#]
                                    public class CasErPlusDialog06NawiScale : SingleReadNawiScaleBase, ISetUnitPriceNawiScale { #region private constants... private const int _decimals = 3; #endregion #region private fields... private readonly SerialDeviceSettings _deviceSettings; #endregion #region constructors... public CasErPlusDialog06NawiScale(SerialDeviceSettings deviceSettings) { _deviceSettings = deviceSettings; } #region SetUnitPrice #endregion public void SetUnitPrice(decimal unitPrice) { throw new NotImplementedException(); } #endregion }

                                    As you see, the region #region SetUnitPrice is placed incorrectly (overlapped with region constructors).

                                • Igor K. (DevExpress) 02.16.2018

                                  Hi Karel,

                                  Thank you for the provided code sample. It allowed me to reproduce the issue on my side.
                                  I've passed it to our R&D team for research. Once we get any results, we will update this ticket.

                                  Regards,
                                  Igor

                                1 Solution

                                Creation Date Importance Sort by

                                Fixed: