Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Created attachment 6111 [details]
I have this line of code in a .cs file:
If I select _contextOwner, I can right-click and do "Go to Definition" to jump to the code where it is defined.
If I select AsyncLoadings, the "Go to Definition" option is not in the right-click menu. If I hover the pointer on it, it shows a tooltip with its type, so it does recognize the definition.
I'm using MonoDevelop version 4.0.1, which is attached to the version of Unity we are using.
According to this:
The problem existed in MD 2.4.2 a few years ago. I would be surprised if it were not fixed in that time... maybe this is a Unity issue?
Can you try to update to a more recent monodevelop ?
I can't reproduce that with 4.2.4.
I can do that, provided I would still be able to use the existing version if it's needed by our version of Unity. Can two different versions of MD coexist in the same Windows installation?
Yes they can.
Same thing on 4.2.3. Must have something to do with our project setup. It's a unity project, which seems to generate a Visual Studio .sln file, which gets opened by MD.
If I open the .sln in VS, it is able to go to the definition of AsyncLoadings, so I'm sure it's defined properly in the codebase.
Are the navigation commands missing from members of all type, or just some types? If the latter case, is there something those types have in common e.g. they all come from the same assembly.
Would it be possible for you to create a test case we can use to reproduce this?
Ok, got a repro with a simple project in Xamarin 4.2.3. Attachment added, including screenshot.
Created attachment 6260 [details]
Test case for bug.
Just tested the project with 6.0 (roslyn).
All goto definition commands show up & work.