~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/QuickFixHandler.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-06-27 17:03:13 UTC
  • mto: (1.8.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20110627170313-6cvz3s19x6e9hqe9
ImportĀ upstreamĀ versionĀ 2.5.92+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
                                namespaces = new List<string> (options.Dom.ResolvePossibleNamespaces (returnType));
71
71
                                resolveDirect = true;
72
72
                        }
73
 
                        
 
73
                        for (int i = 0; i < namespaces.Count; i++) {
 
74
                                for (int j = i + 1; j < namespaces.Count; j++) {
 
75
                                        if (namespaces[j] == namespaces[i]) {
 
76
                                                namespaces.RemoveAt (j);
 
77
                                                j--;
 
78
                                        }
 
79
                                }
 
80
                        }
74
81
                        return namespaces;
75
82
                }
76
83