Current filter:
                                You should refresh the page.
                                  • There are a few issues with this refactoring that I hope this example sums it all.

                                    outer.cs

                                    [C#]
                                    namespace PauloMoegado.Something { using System; /// <summary> /// Class Outer. /// </summary> public partial class Outer { public DateTime D { get; set; } } }

                                    outer.inner.cs

                                    [C#]
                                    namespnamespace PauloMoegado.Something { using System; using System.Collections.Generic; /// <summary> /// Class Outer. /// </summary> public partial class Outer { /// <summary> /// Class Inner. /// </summary> private class Inner { public List<DateTime> L { get; set; } } } }

                                    If I move Outer to PauloMorgado.SomethingElse, I get this:

                                    outer.cs

                                    [C#]
                                    namespace PauloMoegado.Something { using System; /// <summary> /// Class Outer. /// </summary> } namespace PauloMorgado.SomethingElse { /// <summary> /// Class Outer. /// </summary> public partial class Outer { public DateTime D { get; set; } } }

                                    outer.inner.cs

                                    [C#]
                                    namespace PauloMoegado.Something { using System; using System.Collections.Generic; /// <summary> /// Class Outer. /// </summary> }

                                    outer1.cs

                                    [C#]
                                    namespace PauloMorgado.SomethingElse { /// <summary> /// Class Outer. /// </summary> public partial class Outer { /// <summary> /// Class Inner. /// </summary> private class Inner { public List<DateTime> L { get; set; } } } }

                                    Which does not compile.

                                    The expected result, on these files, was just the namespace declaration change and no other files added.

                                • Dmitry O (DevExpress) 08.23.2017

                                  Hi Paulo,
                                  thank you for your code snippets. I have reproduced the problem and recorded a screencast.
                                  We will try to fix the problem as soon as possible, and notify you about fixing it in this ticket.

                                1 Solution

                                Creation Date Importance Sort by

                                Fixed: