Bug 16236 - Nested class Foo.Bar should have less priority than normal class Bar
Summary: Nested class Foo.Bar should have less priority than normal class Bar
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: Trunk
Hardware: All All
: --- normal
Target Milestone: master
Assignee: Mike Krüger
Depends on:
Reported: 2013-11-14 14:08 UTC by Andres G. Aragoneses
Modified: 2014-04-01 09:27 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 Andres G. Aragoneses 2013-11-14 14:08:02 UTC
Given this:

class Foo {
    class Bar {

class Bar {

When using the CTRL+SHIFT+T search and writing "Bar":

Current results:
Foo.Bar can be the first result, and it is represented as "Bar".

Expected results:
Bar should have more priority than Foo.Bar in the list (it should be at the top), and Foo.Bar should be represented as "Foo.Bar", not as simply "Bar".
Comment 1 Mike Krüger 2013-11-15 01:30:54 UTC
Comment 2 Andres G. Aragoneses 2013-11-15 10:37:43 UTC
Bar now has more priority than Foo.Bar, but I still see Foo.Bar with the name "Bar" instead of "Foo.Bar", should I open a new bug report about that?
Comment 3 Mike Krüger 2013-11-15 11:24:18 UTC
No - it's 'Bar' - it's just a nested class inside Foo.
Comment 4 Andres G. Aragoneses 2013-11-15 11:25:23 UTC
Don't you think it should appear as "Foo.Bar"? It's more clear that it's a nested class then.
Comment 5 Mike Krüger 2013-11-15 11:43:50 UTC
At least we haven't specified how nested classes should look - I'll think about it.
Comment 6 Udham Singh 2014-04-01 09:27:17 UTC
I have checked this issue on following builds:

Windows 8.1 and Mac OS X 10.9.2
Xamarin Studio : 4.2.4 (build 266)
Xamarin.iOS : (Enterprise Edition)
Xamarin.Android : 4.12.1 (Enterprise Edition)

Screencast: http://screencast.com/t/Q6wh1cTDwwh

This issue is working fine. Hence, I am closing this issue.