Bug 13297 - Code completion not working with partial classes type parameters
Summary: Code completion not working with partial classes type parameters
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: unspecified
Hardware: PC Mac OS
: Normal normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on: 13316
Blocks:
  Show dependency tree
 
Reported: 2013-07-17 11:34 UTC by Marek Safar
Modified: 2014-01-24 03:44 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 Marek Safar 2013-07-17 11:34:26 UTC
namespace N
{
	public partial class G<T1, T2>
	{
		public partial class GPD
		{
			public class BD
			{
			}
		}
	}
}

namespace N
{
	public partial class G<T1, T2>
		where T2 : G<T1, T2>.GPD
	{
	}

	public abstract class PD
	{
		public void MMM ()
		{
		}
	}

	public class PC<T>
		where T : PD
	{
	}

	public class PDP<T>
		: PD
	{
	}
}

namespace N
{
	public partial class G<T1, T2>
	{
		public abstract partial class GPD : PDP<T1>
		{
			public class C : PC<T2>
			{
				void Foo ()
				{
					T2 t;
					t. // <-- No completion here. It should show at least MMM + base methods from object
				}
			}
		}
	}
}
Comment 1 Mike Krüger 2013-07-18 04:21:39 UTC
Seems to be related to a parser bug - that one is interresting.
Comment 2 Mike Krüger 2013-07-19 01:09:04 UTC
Works now - thanks for fixing the parser issue.
Comment 3 Prashant manu 2014-01-24 03:44:20 UTC
As per Mike's comment 2, this issue is fixed.
Hence closing this issue.