Assume I have a file containing an ambiguous type name in a variable declaration. (A type with the specified name exists in two namespaces and both namespaced are imported using a using-statement).
var context = new CSharpContextFactory().CreateContext(new ActiproSoftware.Text.TextSnapshotOffset(document.CurrentSnapshot, qn.StartOffset.Value));
IResolverResultSet results = context.Resolve();
where qn is a QualifiedName instance, the result set returned from Resolve() only contains one match, (the one from the namespace that was first imported it seems). Why aren't both matches returned here?