Bug 20127 - Fails to show all references of an abstract method
Summary: Fails to show all references of an abstract method
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: Trunk
Hardware: PC Linux
: Normal normal
Target Milestone: master
Assignee: Mike Krüger
Depends on:
Reported: 2014-05-29 09:37 UTC by Andres G. Aragoneses
Modified: 2014-06-10 04:04 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 Andres G. Aragoneses 2014-05-29 09:37:26 UTC
Let's consider this minimal testcase:

namespace TestProject

	abstract class Foo
		public abstract void Bar ();

	class Baz : Foo {
		public override void Bar (){}

	public static class TheMain
		static void Main () {
			Baz baz;
			baz.Bar ();


When I right click on the first Bar() -> Find references, then it finds the call to Bar() which is inside Main().

That works great.

However, in this other case, it doesn't:

1. clone smuxi source code: https://github.com/meebey/smuxi
2. open src/smuxi.sln solution
3. open file ProtocolManagerBase.cs
4. go to line 168 , right click in the Connect(_,_) method
5. find references

Current results: only finds one result.
Expected results: should show all references to overriden Connect() methods, like in the example above.
Comment 1 Mike Krüger 2014-06-10 04:04:36 UTC