3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 669285 - Extension method on T[] shows up on T
/// </summary>
Bug 669285 - Extension method on T[] shows up on T
Bug 669285 - Extension method on T [] shows up on T
[Test]
		public void TestBug669285 ()
		{
			CompletionDataList provider = CreateCtrlSpaceProvider (
@"static class Ext
{
	public static void Foo<T> (this T[] t)
	{
	}
}
public class Test<T>
{
	public void Foo ()
	{
		T t;
		$t.$
	}
}
");
			Assert.IsNotNull (provider, "provider not found.");
			Assert.IsNull (provider.Find ("Foo"), "method 'Foo' found.");
		}
[ Test ] public void TestBug669285 ( ) { CompletionDataList provider = CreateCtrlSpaceProvider ( @"static class Ext
{
	public static void Foo<T> (this T[] t)
	{
	}
}

public class Test<T>
{
	public void Foo ()
	{
		T t;
		$t.$
	}
}
" ) ; Assert . IsNotNull ( provider , " " ) ; Assert . IsNull ( provider . Find ( " " ) , " " ) ; }
Bug 669285 - Extension method on T[] shows up on T
Bug 669285 - Extension method on T [] shows up on T