Bug 4267 - Go to declaration on a type sometimes goes to a property?
Summary: Go to declaration on a type sometimes goes to a property?
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 2.9.x
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2012-04-05 12:11 UTC by Jeffrey Stedfast
Modified: 2012-04-05 12:58 UTC (History)
1 user (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 Jeffrey Stedfast 2012-04-05 12:11:59 UTC
In MonoDevelop from git master, open the MonoDevelop project (you probably already have it open) and then open up MonoTargetRuntime.cs

On line 56, you should see:

		internal MonoTargetRuntime (MonoRuntimeInfo info)

Right-click on MonoRuntimeInfo and select "Go to declaration"

I expected this to open up MonoRuntimeInfo.cs and take me there, but instead, it made my cursor jump down a few lines to line 64:

		public MonoRuntimeInfo MonoRuntimeInfo {
Comment 1 Mike Krüger 2012-04-05 12:54:15 UTC
Works for me.

But there is a case where it can indeed go to this one - in the case of a parsing error :/.

Do you have more info on this ?
Comment 2 Mike Krüger 2012-04-05 12:58:46 UTC
shouldn't happen in master.