3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/ParameterCompletionTests.cs
/// <summary>
/// Bug 3645 - [New Resolver]Parameter completion shows all static and non-static overloads
/// </summary>
Bug 3645 - [New Resolver]Parameter completion shows all static and non-static overloads
Bug 3645 - [ New Resolver ] Parameter completion shows all static and non - static overloads
[Test]
		public void TestBug3645 ()
		{
			IParameterDataProvider provider = CreateProvider (
@"class Main
{
	public static void FooBar (string str)
	{
	}
	public void FooBar (int i)
	{
	}
	public static void Main (string[] args)
	{
		$FooBar ($
	}
}");
			Assert.IsNotNull (provider, "provider was not created.");
			Assert.AreEqual (1, provider.Count);
		}
[ Test ] public void TestBug3645 ( ) { IParameterDataProvider provider = CreateProvider ( @"class Main
{
	public static void FooBar (string str)
	{
	}
	
	public void FooBar (int i)
	{
		
	}
	
	public static void Main (string[] args)
	{
		$FooBar ($
	}
}" ) ; Assert . IsNotNull ( provider , " " ) ; Assert . AreEqual ( 1 , provider . Count ) ; }
Bug 3645 - [New Resolver]Parameter completion shows all static and non-static overloads
Bug 3645 - [ New Resolver ] Parameter completion shows all static and non - static overloads