3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/ParameterCompletionTests.cs
/// <summary>
/// Bug 427448 - Code Completion: completion of constructor parameters not working
/// </summary>
Bug 427448 - Code Completion: completion of constructor parameters not working
Bug 427448 - Code Completion : completion of constructor parameters not working
[Test]
		public void TestBug427448 ()
		{
			IParameterDataProvider provider = CreateProvider (
@"class Test
{
	public Test (int a)
	{
	}
	public Test (string b)
	{
	}
	protected Test ()
	{
	}
	Test (double d, float m)
	{
	}
}
class AClass
{
	void A()
	{
		$Test t = new Test ($
	}
}");
			Assert.IsNotNull (provider, "provider was not created.");
			Assert.AreEqual (2, provider.Count);
		}
[ Test ] public void TestBug427448 ( ) { IParameterDataProvider provider = CreateProvider ( @"class Test
{
	public Test (int a)
	{
	}
	
	public Test (string b)
	{
	}
	protected Test ()
	{
	}
	Test (double d, float m)
	{
	}
}

class AClass
{
	void A()
	{
		$Test t = new Test ($
	}
}" ) ; Assert . IsNotNull ( provider , " " ) ; Assert . AreEqual ( 2 , provider . Count ) ; }
Bug 427448 - Code Completion: completion of constructor parameters not working
Bug 427448 - Code Completion : completion of constructor parameters not working