3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 13366 - Task result cannot be resolved in incomplete task continution
/// </summary>
Bug 13366 - Task result cannot be resolved in incomplete task continution
Bug 13366 - Task result cannot be resolved in incomplete task continution
[Test]
		public void TestBug13366 ()
		{
			var provider = CreateProvider (
				@"using System;
using System.Threading.Tasks;
public class TestMe
{
	void Test ()
	{
		$Task.Factory.StartNew (() => 5).ContinueWith (t => t.$
	}
}");
			Assert.IsNotNull (provider, "provider not found.");
			Assert.IsNotNull (provider.Find ("Result"), "property 'Result' not found.");
		}
[ Test ] public void TestBug13366 ( ) { var provider = CreateProvider ( @"using System;
using System.Threading.Tasks;

public class TestMe
{
	
	void Test ()
	{
		$Task.Factory.StartNew (() => 5).ContinueWith (t => t.$
	}
}" ) ; Assert . IsNotNull ( provider , " " ) ; Assert . IsNotNull ( provider . Find ( " " ) , " " ) ; }
Bug 13366 - Task result cannot be resolved in incomplete task continution
Bug 13366 - Task result cannot be resolved in incomplete task continution