Current filter:
                                You should refresh the page.
                                  • Consider the following program:

                                    namespace ConsoleApplication38 { public enum MyEnum { Value1 } class Program { private int m_myInitializedInt = 10; private MyEnum m_myInitializedEnum = MyEnum.Value1; private MyEnum m_myEnum; static void Main(string[] args) { } } }

                                    If I place the cursor inside the Program class and invoke the "Organize Members" feature using the settings attached to this ticket, the result becomes the following:

                                    namespace ConsoleApplication38 { public enum MyEnum { Value1 } class Program { #region Fields private MyEnum m_myEnum; private int m_myInitializedInt = 10; #endregion #region Non-Public Methods static void Main(string[] args) { } #endregion private MyEnum m_myInitializedEnum = MyEnum.Value1; } }

                                    Notice that the m_myInitializedEnum field appears at the end of the list of members, instead of inside the "Fields" region as expected.

                                • Igor K. (DevExpress) 11.14.2016

                                  Hi Peter,

                                  I was able to reproduce the described behavior on my side and forwarded your inquiry to our R&D team for further research. Follow the notifications to be informed about our progress.
                                  As for the temporary workaround - uncheck the Skip initialized fields checkbox one the Organize Members options page.

                                • Peter Palotas 11.14.2016

                                  Okay, thanks, I will try that, was not aware of that option. But if "Skip initialized fields" was checked, then the bug perhaps would rather be that m_myInitializedInt actually was moved?

                                • Igor K. (DevExpress) 11.14.2016

                                  Sure, it will be fixed in the context of this ticket.
                                  You'll be automatically informed.

                                1 Solution

                                Creation Date Importance Sort by