Current filter:
                                You should refresh the page.
                                  • Note! This problem applies to both CodeRush for Roslyn v1.0.11, as well as the legacy CodeRush as of version

                                    Consider the following program:

                                    class MyClass { private bool m_isActive; public MyClass(bool isActive) { m_isActive = isActive; } public void SetActive(bool isActive) { m_isActive = isActive; } } class Program { static void Main(string[] args) { new MyClass(true).SetActive(true); } }

                                    If you place the cursor on the isActive property of the method SetActive and invoke the refactoring "Reverse Boolean", the argument to the method call is changed from true to false, as expected.  However, if doing the same on the constructor parameter "isActive", the usage is not updated.

                                • Alexander K (DevExpress) 05.04.2016

                                  Hi Peter,

                                  Thank you for pointing out this issue. I have reproduced it on my side. We will fix this issue for both the CodeRush and CodeRush for Roslyn products in the context of this ticket.

                                1 Solution

                                Creation Date Importance Sort by