3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 1747 - [New Resolver] Code completion issues when declaring a generic dictionary
/// </summary>
Bug 1747 - [New Resolver] Code completion issues when declaring a generic dictionary
Bug 1747 - [ New Resolver ] Code completion issues when declaring a generic dictionary
[Test]
		public void Test1747()
		{
			var provider = CreateProvider(
@"using System.Collections.Generic;
public class Test
{
	$Dictionary<int,string> field = new $
}
");
			Assert.IsNotNull (provider, "provider not found.");
			Assert.IsNotNull (provider.Find ("Dictionary<int, string>"), "type 'Dictionary<int, string>' not found.");
			Assert.AreEqual ("Dictionary<int, string>", provider.DefaultCompletionString);
		}
[ Test ] public void Test1747 ( ) { var provider = CreateProvider ( @"using System.Collections.Generic;
public class Test
{
	$Dictionary<int,string> field = new $
}
" ) ; Assert . IsNotNull ( provider , " " ) ; Assert . IsNotNull ( provider . Find ( " " ) , " " ) ; Assert . AreEqual ( " " , provider . DefaultCompletionString ) ; }
Bug 1747 - [New Resolver] Code completion issues when declaring a generic dictionary
Bug 1747 - [ New Resolver ] Code completion issues when declaring a generic dictionary