Bug 4244 - NewResolver: wrong list of methods displayed on override in nested classes
Summary: NewResolver: wrong list of methods displayed on override in nested classes
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: Trunk
Hardware: PC Mac OS
: High major
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2012-04-04 21:53 UTC by Miguel de Icaza [MSFT]
Modified: 2013-03-25 02:40 UTC (History)
2 users (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:
VERIFIED FIXED

Description Miguel de Icaza [MSFT] 2012-04-04 21:53:39 UTC
This screencast shows the problem:

http://screencast.com/t/MS0CAsh2K

Use a new MonoTouch project to see:

For convenience, the source code for AppDelegate on a simple project is this:


using System;
using System.Collections.Generic;
using System.Linq;

using MonoTouch.Foundation;
using MonoTouch.UIKit;

namespace GridDisplay
{
	public class GridViewController : UIViewController {
		UIScrollView scrollView;
		
		class ScrollDelegate : UIScrollViewDelegate {
			ScrollDelegate (GridViewController container)
			{
				this.container = container;
			}

		}
		
		public GridViewController () 
		{
		}
		
		public override void ViewDidLoad ()
		{
			base.ViewDidLoad ();
			scrollView = new UIScrollView (View.Bounds);
			scrollView.Delegate = new ScrollDelegate (this);
		}
		
		public override void DidRotate (UIInterfaceOrientation fromInterfaceOrientation)
		{
			scrollView.Frame = View.Bounds;
		}
	}
	
	public class TvGuideViewController : GridViewController {
		
	}
	
	[Register ("AppDelegate")]
	public partial class AppDelegate : UIApplicationDelegate
	{
		UIWindow window;

		public override bool FinishedLaunching (UIApplication app, NSDictionary options)
		{
			window = new UIWindow (UIScreen.MainScreen.Bounds);
			window.MakeKeyAndVisible ();
			window.RootViewController = new TvGuideViewController ();
			
			return true;
		}
	}
}
Comment 1 Mike Krüger 2012-04-05 01:35:18 UTC
*** Bug 4249 has been marked as a duplicate of this bug. ***
Comment 2 Mike Krüger 2012-04-05 01:42:05 UTC
Opened a mcs bug for this.

*** This bug has been marked as a duplicate of bug 4252 ***
Comment 3 Mike Krüger 2012-04-05 11:49:24 UTC
Fixed the categorized completion mode for override context
Comment 4 Jatin 2013-03-25 02:40:20 UTC
Today, with the latest builds:

XS 4.0.3.13
MT 6.2.1.201
Mono 2.10.12

And now the issue does not exists. Below is the screencast for the same:
http://www.screencast.com/t/SorJhL8NJ6

Hence, closing this issue.