3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 3438 - [New Resolver] Local var missing in code completion
/// </summary>
Bug 3438 - [New Resolver] Local var missing in code completion
Bug 3438 - [ New Resolver ] Local var missing in code completion
[Test]
		public void Test3438 ()
		{
			CombinedProviderTest (
@"
using System;
using System.Text;
class C
{
	void GetElementXml (int indent)
	{
		StringBuilder sb = new StringBuilder ();
		if (indent == 0)
			sb.Append ("" xmlns:android=\""http://schemas.android.com/apk/res/android\"""");
		if (indent != 0) {
			string data;
			$d$
		}
	}	
}", provider => Assert.IsNotNull(provider.Find("data"), "'data' not found."));
		}
[ Test ] public void Test3438 ( ) { CombinedProviderTest ( @"
using System;
using System.Text;

class C
{
	void GetElementXml (int indent)
	{
		StringBuilder sb = new StringBuilder ();
		if (indent == 0)
			sb.Append ("" xmlns:android=\""http://schemas.android.com/apk/res/android\"""");
		
		if (indent != 0) {
			string data;
			$d$
		}
	}	
}" , provider => Assert . IsNotNull ( provider . Find ( " " ) , " " ) ) ; }
Bug 3438 - [New Resolver] Local var missing in code completion
Bug 3438 - [ New Resolver ] Local var missing in code completion