Bug 20125 - Fails to show abstract method when writing "override"
Summary: Fails to show abstract method when writing "override"
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: Trunk
Hardware: PC Linux
: Normal normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2014-05-29 09:18 UTC by Andres G. Aragoneses
Modified: 2015-03-19 11:12 UTC (History)
1 user (show)

Tags:
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:
Status:
RESOLVED FIXED

Description Andres G. Aragoneses 2014-05-29 09:18:21 UTC
Steps to reproduce:
1. Write the following classes:

using System;

namespace TestProject
{

	abstract class Foo
	{
		public abstract void Bar ();
	}

	class Baz : Foo {
	}

	public static class TheMain
	{
		static void Main () {
			Foo foo;
			foo.Bar ();
		}
	}

}

2. Start writing a method for the Baz class, "public override "

Expected results: autocompletion should show all possible overridable methods, including Bar.
Current results: it shows some methods, but doesn't show Bar.

(Surprisingly, this bug doesn't happen if the class TheMain doesn't exist.)
Comment 1 Mike Krüger 2014-05-30 01:35:33 UTC
fixed
Comment 2 Mike Krüger 2014-05-30 01:36:00 UTC
btw. it's enough to write 'override '. That's a work around for this issue :)
Comment 3 xamarin-release-manager 2015-03-19 09:53:56 UTC
Fixed in version 6.0.0.960 (roslyn)
Comment 4 xamarin-release-manager 2015-03-19 10:45:21 UTC
Fixed in version 6.0.0.961 (roslyn)
Comment 5 xamarin-release-manager 2015-03-19 11:12:30 UTC
Fixed in version 6.0.0.962 (roslyn)