3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 4808 - Enums have an unknown 'split_char' member included in them.
/// </summary>
Bug 4808 - Enums have an unknown 'split_char' member included in them.
Bug 4808 - Enums have an unknown ' split_char ' member included in them .
[Test]
		public void TestBug4808()
		{
			var provider = CreateProvider(
@"using System;
enum Foo { A, B }
public class TestFoo
{
	void Bar ()
	{
		$Foo.$
	}
}
"
			);
			Assert.IsNotNull(provider.Find("A"));
			Assert.IsNotNull(provider.Find("B"));
			Assert.IsNull(provider.Find("split_char"), "'split_char' found.");
		}
[ Test ] public void TestBug4808 ( ) { var provider = CreateProvider ( @"using System;

enum Foo { A, B }
public class TestFoo
{
	void Bar ()
	{
		$Foo.$
	}
}
" ) ; Assert . IsNotNull ( provider . Find ( " " ) ) ; Assert . IsNotNull ( provider . Find ( " " ) ) ; Assert . IsNull ( provider . Find ( " " ) , " " ) ; }
Bug 4808 - Enums have an unknown 'split_char' member included in them.
Bug 4808 - Enums have an unknown ' split_char ' member included in them .