3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 679792 - MonoDevelop becomes unresponsive and leaks memory
/// </summary>
Bug 679792 - MonoDevelop becomes unresponsive and leaks memory
Bug 679792 - MonoDevelop becomes unresponsive and leaks memory
[Test]
		public void TestBug679792 ()
		{
			CompletionDataList provider = CreateCtrlSpaceProvider (
@"using System.Collections.Generic;
class TestClass
{
	public static void Main (string[] args)
	{
		Dictionary<string, Dictionary<string, TestClass>> cache;
		$cache[""Hello""] [""World""] = new $
	}
}");
			Assert.IsNotNull (provider, "provider not found.");
			Assert.IsNotNull (provider.Find ("TestClass"), "class 'TestClass' not found.");
		}
[ Test ] public void TestBug679792 ( ) { CompletionDataList provider = CreateCtrlSpaceProvider ( @"using System.Collections.Generic;

class TestClass
{
	public static void Main (string[] args)
	{
		Dictionary<string, Dictionary<string, TestClass>> cache;
		$cache[""Hello""] [""World""] = new $
	}
}" ) ; Assert . IsNotNull ( provider , " " ) ; Assert . IsNotNull ( provider . Find ( " " ) , " " ) ; }
Bug 679792 - MonoDevelop becomes unresponsive and leaks memory
Bug 679792 - MonoDevelop becomes unresponsive and leaks memory