Bug 3294 - [newresolver] "go to definition" does not jump to that of the member in constructor (unlike in method)
Summary: [newresolver] "go to definition" does not jump to that of the member in const...
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: Trunk
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2012-02-09 06:04 UTC by Atsushi Eno
Modified: 2012-02-09 07:15 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 Atsushi Eno 2012-02-09 06:04:33 UTC
In the sample repro below, when I go to "string_field", right click "go to definition", in

1) SomeClass.FooBar() -> it successfully jumps to the definition (string_field = "x"; line)
2) new SomeClass() -> it jumps to the constructor definition ("public SomeClass (string s)" line)

using System;

public partial class Driver
	string string_field = "x";
	public static void Main ()
		SomeClass.FooBar (string_field);
		new SomeClass (string_field);
class SomeClass
	public SomeClass (string s)
	public void FooBar (string s)

Comment 1 Mike Krüger 2012-02-09 07:15:37 UTC