3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 8618 - Intellisense broken within compiler directives
/// </summary>
Bug 8618 - Intellisense broken within compiler directives
Bug 8618 - Intellisense broken within compiler directives
[Test]
		public void TestBug8618 ()
		{
			CombinedProviderTest(
				@"
public class TestClass
{
void Bar(object argument)
{
object local;
#if FOOBAR
$a$
#endif
}
}
", provider => {
				Assert.IsNull(provider.Find("argument"));
				Assert.IsNull(provider.Find("local"));
			});
		}
[ Test ] public void TestBug8618 ( ) { CombinedProviderTest ( @"
public class TestClass
{
void Bar(object argument)
{
object local;
#if FOOBAR
$a$
#endif
}
}

" , provider => { Assert . IsNull ( provider . Find ( " " ) ) ; Assert . IsNull ( provider . Find ( " " ) ) ; } ) ; }
Bug 8618 - Intellisense broken within compiler directives
Bug 8618 - Intellisense broken within compiler directives