Bug 24781 - Refactoring - Renaming Namespace overwrites member Namespaces
Summary: Refactoring - Renaming Namespace overwrites member Namespaces
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: 5.5
Hardware: PC Linux
: Normal normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2014-11-24 17:01 UTC by green_jaed
Modified: 2015-05-30 08:54 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description green_jaed 2014-11-24 17:01:22 UTC
Let's say you have a namespace "A" and you have other namespaces which are members (A.B, A.B.D, A.C).  In Monodevelop, if you refactor and rename namespace "A" to "A.E" or "Alpha" all member namespaces get overwritten by the new value and are lost (i.e. A.B.D -> Alpha).

To reproduce:
1. Create two namespaces and have the second be a member namespace of the first
2. Rename the first namespace
3. The second namespace is now exactly the same as the first
Comment 2 Mike Krüger 2015-05-30 08:54:09 UTC
Finally fixed in 6.0