A bit of a complex situation but here it goes:
C#, VS2017
I have a solution with one project that has about 20 web references (REST) of which half implement a class called "Document" in their respective namespace (all in Reference.cs in their own folder as created when adding a webreference).
In another project those web services are consumed. When I reference a certain webservice by "using" its namespace, obviously the Document class in this given namespace is available.
Now, when I use the Document class somewhere and put the caret on it, in the definition bar always appears the Document class in the alphabetically first namespace and not the one referenced in the current file.
When I fully specify the document class with its namespace all it good.
This of course also affects the Goto feature (Ctrl+Click by default), which goes to the wrong definition.
Let me try to visualize this:
Project 1:
WebService1
Reference.cs
public class Document
WebService2
Reference.cs
public class Document
WebService3
Reference.cs
public class Document
WebService4
Reference.cs
public class Document
Project 2:
SomeFile.cs
using WebService3;
var x = new Document(); // this should resolve to WebService3.Document