Bug 1311 - Sort & Remove usings removes too much
Summary: Sort & Remove usings removes too much
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: 2.8 Alpha 2
Hardware: PC Mac OS
: Normal normal
Target Milestone: master
Assignee: Mike Krüger
Depends on:
Reported: 2011-10-06 11:32 UTC by Alan McGovern
Modified: 2015-08-20 03:24 UTC (History)
2 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 Alan McGovern 2011-10-06 11:32:59 UTC
Sort & Remove usings removes to much

The SpecificEntity and SpecificEntitySearchSata are in seperate namespaces and Sort & Remove removes those namespaces if the type is not used inside the SpecificEntityOverviewPage class. The Sort & Remove should check generic definitions before removing. 

public class SpecificEntityOverviewPage : BaseOverviewPage<SpecificEntity,SpecificEntitySearchData>


MonoDevelop: 2.8
Runtime: Microsoft .NET v4.0.30319.237
Operating System: Windows (Microsoft Windows NT 6.1.7601 Service Pack 1)
Distributor: Xamarin
Comment 1 Mike Krüger 2012-03-28 08:16:24 UTC
Works in the newresolver.