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.
If you goto definition without the assembly browser tab open, it will open but not goto your type. If you switch back and goto definition again it will work the 2nd time.
This will also happen if you click a link inside assembly browser that refers to another assembly that isn't in the tree. Hitting back once the assembly is in the tree will work.
*** Bug 10485 has been marked as a duplicate of this bug. ***
Should've been fixed.
I still have this problem with master.
Can't repro it with master
Probably your machine has different perf characteristics, e.g. SSD.
When it fails, I do get an error, e.g.
ERROR [2013-05-10 13:46:32Z]: Can't open: M:System.Threading.ThreadPool.QueueUserWorkItem(System.Threading.WaitCallback) (not found).
But it works if the assembly browser already has the assembly loaded.
And some things won't navigate at all e.g.
ERROR [2013-05-10 13:46:18Z]: Can't open: M:System.Threading.Tasks.TaskCompletionSource`1.#ctor (not found).
I took a look at the code and the problem is exactly what I suggested i previous bugs: https://bugzilla.xamarin.com/show_bug.cgi?id=10485#c12
AssemblyBrowserWidget.Open calls AddReferenceByFileName, which loads assemblies into the tree asynchronously. It then tries to navigate to the member without waiting for the loading to complete.
Fixed by moving the URL lookup into a continuation.
Thought IMO the entire assembly/tree loading mechanism needs reworking, it looks very race prone and does too much on the UI thread.
Filed bug 12199 for the error looking up generic types.