3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 405000 - Namespace alias qualifier operator (::) does not trigger code completion
/// </summary>
Bug 405000 - Namespace alias qualifier operator (::) does not trigger code completion
Bug 405000 - Namespace alias qualifier operator ( :: ) does not trigger code completion
[Test]
		public void TestBug405000 ()
		{
			CompletionDataList provider = CreateProvider (
@"namespace A {
	class Test
	{
	}
}
namespace B {
	using foo = A;
	class C
	{
		public static void Main ()
		{
			$foo::$
		}
	}
}");
			Assert.IsNotNull (provider, "provider not found.");
			Assert.AreEqual (1, provider.Count);
			Assert.IsNotNull (provider.Find ("Test"), "class 'Test' not found.");
		}
[ Test ] public void TestBug405000 ( ) { CompletionDataList provider = CreateProvider ( @"namespace A {
	class Test
	{
	}
}

namespace B {
	using foo = A;
	class C
	{
		public static void Main ()
		{
			$foo::$
		}
	}
}" ) ; Assert . IsNotNull ( provider , " " ) ; Assert . AreEqual ( 1 , provider . Count ) ; Assert . IsNotNull ( provider . Find ( " " ) , " " ) ; }
Bug 405000 - Namespace alias qualifier operator (::) does not trigger code completion
Bug 405000 - Namespace alias qualifier operator ( :: ) does not trigger code completion