3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 432434 - Code completion doesn't work with subclasses
/// </summary>
Bug 432434 - Code completion doesn't work with subclasses
Bug 432434 - Code completion doesn ' t work with subclasses
[Test]
		public void TestBug432434 ()
		{
			CompletionDataList provider = CreateProvider (
@"public class Test
{
	public class Inner
	{
		public void Inner1 ()
		{
		}
		public void Inner2 ()
		{
		}
	}
	public void Run ()
	{
		Inner inner = new Inner ();
		$inner.$
	}
}
");
			Assert.IsNotNull (provider, "provider not found.");
			Assert.IsNotNull (provider.Find ("Inner1"), "Method inner1 not found.");
			Assert.IsNotNull (provider.Find ("Inner2"), "Method inner2 not found.");
		}
[ Test ] public void TestBug432434 ( ) { CompletionDataList provider = CreateProvider ( @"public class Test
{
	public class Inner
	{
		public void Inner1 ()
		{
		}
		
		public void Inner2 ()
		{
		}
	}
	
	public void Run ()
	{
		Inner inner = new Inner ();
		$inner.$
	}
}
" ) ; Assert . IsNotNull ( provider , " " ) ; Assert . IsNotNull ( provider . Find ( " " ) , " " ) ; Assert . IsNotNull ( provider . Find ( " " ) , " " ) ; }
Bug 432434 - Code completion doesn't work with subclasses
Bug 432434 - Code completion doesn ' t work with subclasses