Current filter:
                                You should refresh the page.
                                  • Hi there,
                                    in this example the code cleanup will add a this-qualifier inside the nameof-operator.
                                    This causes a compiler error CS0026

                                    class TestClass
                                    {
                                        static string Something = nameof(Property);

                                        bool Property { get; set; }
                                    }

                                    becomes

                                    class TestClass
                                    {
                                        static string Something = nameof(this.Property);

                                        bool Property { get; set; }
                                    }

                                     

                                • Alex B.G. (DevExpress) 12.14.2016

                                  Hi Stefan,

                                  I have reproduced the issue. Once we find an appropriate solution we will notify you in the context of the current thread.

                                  As a temporary workaround you can disable the "Apply 'this' qualifier style" rule in code cleanup options. 

                                1 Solution

                                Creation Date Importance Sort by

                                Fixed: