3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 427294 - Code Completion: completion on values returned by methods doesn't work
/// </summary>
Bug 427294 - Code Completion: completion on values returned by methods doesn't work
Bug 427294 - Code Completion : completion on values returned by methods doesn ' t work
[Test]
		public void TestBug427294 ()
		{
			CompletionDataList provider = CreateProvider (
@"class TestClass
{
	public TestClass GetTestClass ()
	{
	}
}
class Test
{
	public void TestMethod ()
	{
		TestClass a;
		$a.GetTestClass ().$
	}
}");
			Assert.IsNotNull (provider, "provider not found.");
			Assert.AreEqual (5, provider.Count);
			CodeCompletionBugTests.CheckObjectMembers (provider); 
			Assert.IsNotNull (provider.Find ("GetTestClass"), "method 'GetTestClass' not found.");
		}
[ Test ] public void TestBug427294 ( ) { CompletionDataList provider = CreateProvider ( @"class TestClass
{
	public TestClass GetTestClass ()
	{
	}
}

class Test
{
	public void TestMethod ()
	{
		TestClass a;
		$a.GetTestClass ().$
	}
}" ) ; Assert . IsNotNull ( provider , " " ) ; Assert . AreEqual ( 5 , provider . Count ) ; CodeCompletionBugTests . CheckObjectMembers ( provider ) ; Assert . IsNotNull ( provider . Find ( " " ) , " " ) ; }
Bug 427294 - Code Completion: completion on values returned by methods doesn't work
Bug 427294 - Code Completion : completion on values returned by methods doesn ' t work
// 4 from System.Object