Current filter:
                                You should refresh the page.
                                  • Code Cleanup settings set with "Apply 'this' qualifier style" checked and Programming Style / "Use this/me for..." all boxes checked.

                                    Given a class like this:

                                    [C#]
                                    namespace MyNamespace { public class Token : ICloneable { public string Id { get; set; } public object Clone() { return new Token { Id = this.Id }; } } }

                                    If you apply Code Cleanup, you incorrectly get "this" applied in the property initializer:

                                    [C#]
                                    namespace MyNamespace { public class Token : ICloneable { public string Id { get; set; } public object Clone() { return new Token { this.Id = this.Id }; } } }
                                • George K (DevExpress) 06.16.2016

                                  Hi Travis,
                                  Thanks for the code snippets.
                                  I have reproduced the problem. We will try to fix it as soon as possible. Once we make any progress, we will let you know.

                                1 Solution

                                Creation Date Importance Sort by

                                Fixed: