Bug 994 - Code completion gets confused with two classes with the same name
Summary: Code completion gets confused with two classes with the same name
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: Trunk
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2011-09-22 10:33 UTC by Alan McGovern
Modified: 2011-09-27 06:58 UTC (History)
1 user (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-09-22 10:33:58 UTC
In the MonoTorrent solution I have two projects:

1) MonoTorrent: This contains the class 'MonoTorrent.Client.Messages.Message'
2) MonoTorrent.Dht: This contains the class 'MonoTorrent.Dht.Messages.Message'

The Dht assembly references the main monotorrent project and the Dht 'Message' class derives from the MonoTorrent Message class similar to this:

namespace MonoTorrent.Dht.Messages
    abstract class Message : MonoTorrent.Client.Messages.Message

If I right click on the base class and try to jump to definition, it just brings me to the Dht version, the one I'm already in. It looks like Go To Definition does not take the fully qualified name into account when figuring out what class to open.
Comment 1 Mike Krüger 2011-09-27 06:58:45 UTC

Another issue that won't happen with the new resover/dom ... but I can't leave that bug open for so long.