3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 615992 - Intellisense broken when calling generic method.
/// </summary>
Bug 615992 - Intellisense broken when calling generic method.
Bug 615992 - Intellisense broken when calling generic method .
[Test]
		public void TestBug615992 ()
		{
			CompletionDataList provider = CreateProvider (
@"public delegate void Act<T> (T t);
public class Foo
{
	public void Bar ()
	{
	}
}
class TestBase
{
	protected void Method<T> (Act<T> action)
	{
	}
}
class Test : TestBase
{
	public Test ()
	{
		$Method<Foo> (f => f.$
	}
}");
			Assert.IsNotNull (provider, "provider not found.");
			Assert.IsNotNull (provider.Find ("Bar"), "method 'Bar' not found.");
		}
[ Test ] public void TestBug615992 ( ) { CompletionDataList provider = CreateProvider ( @"public delegate void Act<T> (T t);

public class Foo
{
	public void Bar ()
	{
	}
}

class TestBase
{
	protected void Method<T> (Act<T> action)
	{
	}
}

class Test : TestBase
{
	public Test ()
	{
		$Method<Foo> (f => f.$
	}
}" ) ; Assert . IsNotNull ( provider , " " ) ; Assert . IsNotNull ( provider . Find ( " " ) , " " ) ; }
Bug 615992 - Intellisense broken when calling generic method.
Bug 615992 - Intellisense broken when calling generic method .