Bug 5114 - "Go to declaration" navigates to wrong destination
Summary: "Go to declaration" navigates to wrong destination
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 3.0.x
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2012-05-16 05:44 UTC by René Ruppert
Modified: 2012-05-30 08:33 UTC (History)
3 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 René Ruppert 2012-05-16 05:44:50 UTC
MD 3.0

Have a line of code like:

this.oLongPressRecognizer.AddTarget ( this.HandleLongPressGesture );

Right click on "this.HandleLongPressGesture" and go to declaration.
You'll end up at:

public UIGestureRecognizer.Token AddTarget (NSAction action)
Comment 1 Mike Krüger 2012-05-16 06:47:35 UTC
Isn't that correct ?
Comment 2 Mike Krüger 2012-05-16 06:48:58 UTC
ah ok got it.
Comment 3 René Ruppert 2012-05-16 07:24:09 UTC
It should land at "HandleLongPressGesture()" and not at "AddTarget".
Comment 4 Mike Krüger 2012-05-18 04:29:38 UTC
Comment 5 Dean Cleaver 2012-05-29 20:07:50 UTC
Fixed in what version? It's still failing in 3.0.2
Comment 6 Mike Krüger 2012-05-30 08:33:46 UTC
master, only blockers get backported to 3.0