Bug 31142 - [assembly browser][C# binding] go to non-public declaration doesn't jump to the type
Summary: [assembly browser][C# binding] go to non-public declaration doesn't jump to t...
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Assembly browser ()
Version: Trunk
Hardware: PC Linux
: --- normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2015-06-16 04:53 UTC by Atsushi Eno
Modified: 2015-06-17 01:55 UTC (History)
1 user (show)

Tags:
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:
Status:
RESOLVED FIXED

Description Atsushi Eno 2015-06-16 04:53:10 UTC
Not sure which component to assign, probably assembly browser.

When I got some compile error due to CS0122 (access to non-public type), I want to look up the declaration.
If the declared type is in the references and not in other project sources, the text editor opens the assembly browser and ... nothing happens.

It is because the type is NOT visible on the default assembly browser.
If the Visibility ComboBox on the assembly browser chooses "All members", then it jumps to the declaration as expected.

What is the expected behavior? I can think of:

- show a message dialog or status message that "cannot jump to the type because it is in some dll and the assembly browser is publlic-only mode"
- shows a dialog to tell above plus "switch to 'All members' mode?"

Current state is "It just doesn't work" so some remedy should be taken.


My repro code, compile with MonoDevelop.CSharpBinding.dll in roslyn branch:

----
using ICSharpCode.NRefactory6.CSharp.Completion;

public class Foo : CompletionContextHandler
{
}
----

Maybe some family of bug #30429?
Comment 1 xamarin-release-manager 2015-06-17 01:55:49 UTC
Fixed in version 6.0.0.255 (roslyn)