3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/ParameterCompletionTests.cs
/// <summary>
/// Bug 434705 - No autocomplete offered if not assigning result of 'new' to a variable
/// </summary>
Bug 434705 - No autocomplete offered if not assigning result of 'new' to a variable
Bug 434705 - No autocomplete offered if not assigning result of ' new ' to a variable
[Test]
		public void TestBug434705B ()
		{
			IParameterDataProvider provider = CreateProvider (
@"
class Test<T>
{
	public Test (T t)
	{
	}
}
class TestClass
{
	void TestMethod ()
	{
		$Test<int> l = new Test<int> ($
	}
}");
			Assert.IsNotNull (provider, "provider was not created.");
			Assert.AreEqual (1, provider.Count);
		}
[ Test ] public void TestBug434705B ( ) { IParameterDataProvider provider = CreateProvider ( @"
class Test<T>
{
	public Test (T t)
	{
	}
}
class TestClass
{
	void TestMethod ()
	{
		$Test<int> l = new Test<int> ($
	}
}" ) ; Assert . IsNotNull ( provider , " " ) ; Assert . AreEqual ( 1 , provider . Count ) ; }
Bug 434705 - No autocomplete offered if not assigning result of 'new' to a variable
Bug 434705 - No autocomplete offered if not assigning result of ' new ' to a variable