Bug 40464 - Rename refactoring a method parameter causes subsequent document elements to be removed.
Summary: Rename refactoring a method parameter causes subsequent document elements to ...
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: 6.0.0 (C7)
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: (C7)
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2016-04-17 01:38 UTC by Philip Bridson
Modified: 2016-06-02 07:09 UTC (History)
2 users (show)

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


Attachments
Method before choosing refactor/rename. (226.03 KB, image/tiff)
2016-04-17 01:49 UTC, Philip Bridson
Details
Method after selecting refactor/rename. (157.61 KB, image/tiff)
2016-04-17 01:49 UTC, Philip Bridson
Details


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:
VERIFIED FIXED

Description Philip Bridson 2016-04-17 01:38:56 UTC
In Xamarin Studio 6.0 (4968) if you refactor/rename a parameter when the method has been fully documented, any XML comments that appear after the parameter being refactored are removed.

For example, I generally comment in this order:
* Summary
* Remarks
* Type parameters
* Parameters
* Return
* Exceptions

If I renamed a parameter using the Refactor -> Rename option, then any parameters that follow it in the comments, and all other sections (Return and Exceptions) are removed.
Comment 1 Philip Bridson 2016-04-17 01:49:00 UTC
Created attachment 15741 [details]
Method before choosing refactor/rename.

Method prior to selecting refactor / rename.
Comment 2 Philip Bridson 2016-04-17 01:49:44 UTC
Created attachment 15742 [details]
Method after selecting refactor/rename.

Method after selecting refactor/rename.
Comment 3 xamarin-release-manager 2016-04-19 08:24:52 UTC
Fixed in version 6.1.0.651 (master)

Author: Mike Kr??ger
Commit: 762bd5bb53ce501bee4e389c80ea5424b45074b7 (mono/monodevelop)
Comment 4 xamarin-release-manager 2016-04-19 08:32:02 UTC
Fixed in version 6.0.0.5062 (cycle7)

Author: Lluis Sanchez
Commit: 3cd5f26ea3dbb8a65054eacba01465b717c074d1 (mono/monodevelop)
Comment 5 xamarin-release-manager 2016-05-02 21:34:22 UTC
Fixed in version 6.0.0.5118 (cycle7-android-n)

Author: Lluis Sanchez
Commit: 3cd5f26ea3dbb8a65054eacba01465b717c074d1 (mono/monodevelop)