3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 4487 - Filtering possible types for new expressions a bit too aggressively
/// </summary>
Bug 4487 - Filtering possible types for new expressions a bit too aggressively
Bug 4487 - Filtering possible types for new expressions a bit too aggressively
[Test]
		public void TestBug4487()
		{
			CombinedProviderTest(
@"public class Test
{
	void TestFoo()
	{
		$string bar = new T$
	}
}
", provider => Assert.IsNotNull(provider.Find("Test"), "'Test' not found."));
		}
[ Test ] public void TestBug4487 ( ) { CombinedProviderTest ( @"public class Test
{
	void TestFoo()
	{
		$string bar = new T$
	}
}
" , provider => Assert . IsNotNull ( provider . Find ( " " ) , " " ) ) ; }
Bug 4487 - Filtering possible types for new expressions a bit too aggressively
Bug 4487 - Filtering possible types for new expressions a bit too aggressively
// note 'string bar = new Test ().ToString ()' would be valid.