Current filter:
                                You should refresh the page.
                                  • Hi.

                                    If the class contains members with preprocessor directives, these members are not sorted properly. They are moved at the end of the file instead of being properly sorted in the class.

                                    Below is the sample class for testing with wrongly sorted members. The CRR settings are also attached.

                                    Thank you,

                                    public class Temp { #region Constructors public Temp() { } #endregion #region Properties - public public int Test { get; set; } #endregion #region Methods - private private void TestMethod() { } #endregion private void TestMethod() { #if DEBUG Console.WriteLine(); #endif } public Temp(bool variable) { #if DEBUG Console.WriteLine(); #endif } }
                                • Pavel A (DevExpress) 08.22.2018

                                  Hello Zvonko,

                                  Thank you for providing a code sample and your CodeRush settings.
                                  I reproduced this behavior on my machine.

                                  We will research this issue and let you know as soon as we have any results.

                                1 Solution

                                Creation Date Importance Sort by