Bug 17621 - ToString() code generation is duplicated.
Summary: ToString() code generation is duplicated.
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 4.3.0
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: 4.2.4 (from master)
Assignee: Mike Krüger
Depends on:
Reported: 2014-02-05 13:55 UTC by Mark Smith
Modified: 2014-02-10 16:29 UTC (History)
3 users (show)

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:

Description Mark Smith 2014-02-05 13:55:22 UTC
Using the override ToString() auto-code generation approach with XS duplicates all the properties.

See this:

Comment 1 Mike Krüger 2014-02-06 02:57:16 UTC
I've problems reproducing this bug. 

Which monodevelop version are you using ? (I tried the current master & 4.3.2)
Does this happen every time for you ?

I could add a filter for sorting out duplicate properties, but I would first figure out why that happens.
Comment 2 Mike Krüger 2014-02-07 03:36:23 UTC
should be fixed - but I wasn't able to repro that 
(and therefore I couldn't write a test :/ )
Comment 3 Atin 2014-02-10 07:17:51 UTC
We have checked this issue with latest builds:

XS 4.2.4 (build 14)
Git revision: d36f82139fd61a0cda68d5baabb1c7b8402116b9
Xamarin addins: 79a1e35d2f486ba15541d74724e764c81878ab16

Hash: b6e146d

Now, using the override ToString() auto-code generation approach with XS does not generate duplicate properties.

Screencast: http://screencast.com/t/UQlSzr9aA

Hence, verifying this issue.