3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 321306 - Code completion doesn't recognize child namespaces
/// </summary>
Bug 321306 - Code completion doesn't recognize child namespaces
Bug 321306 - Code completion doesn ' t recognize child namespaces
[Test]
		public void TestBug321306 ()
		{
			CompletionDataList provider = CreateProvider (
@"namespace a
{
	namespace b
	{
		public class c
		{
			public static int hi;
		}
	}
	public class d
	{
		public d ()
		{
			$b.$
		}
	}
}");
			Assert.IsNotNull (provider, "provider not found.");
			Assert.AreEqual (1, provider.Count);
			Assert.IsNotNull (provider.Find ("c"), "class 'c' not found.");
		}
[ Test ] public void TestBug321306 ( ) { CompletionDataList provider = CreateProvider ( @"namespace a
{
	namespace b
	{
		public class c
		{
			public static int hi;
		}
	}
	
	public class d
	{
		public d ()
		{
			$b.$
		}
	}
}" ) ; Assert . IsNotNull ( provider , " " ) ; Assert . AreEqual ( 1 , provider . Count ) ; Assert . IsNotNull ( provider . Find ( " " ) , " " ) ; }
Bug 321306 - Code completion doesn't recognize child namespaces
Bug 321306 - Code completion doesn ' t recognize child namespaces