3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 427734 - Code Completion issues with enums
/// </summary>
Bug 427734 - Code Completion issues with enums
Bug 427734 - Code Completion issues with enums
[Test]
		public void TestBug427734A ()
		{
			CompletionDataList provider = CreateProvider (
@"public class Test
{
	public enum SomeEnum { a,b }
	public void Run ()
	{
		$Test.$
	}
}");
			Assert.IsNotNull (provider, "provider not found.");
			Assert.AreEqual (3, provider.Count);
			CodeCompletionBugTests.CheckStaticObjectMembers (provider); 
			Assert.IsNotNull (provider.Find ("SomeEnum"), "enum 'SomeEnum' not found.");
		}
[ Test ] public void TestBug427734A ( ) { CompletionDataList provider = CreateProvider ( @"public class Test
{
	public enum SomeEnum { a,b }
	
	public void Run ()
	{
		$Test.$
	}
}" ) ; Assert . IsNotNull ( provider , " " ) ; Assert . AreEqual ( 3 , provider . Count ) ; CodeCompletionBugTests . CheckStaticObjectMembers ( provider ) ; Assert . IsNotNull ( provider . Find ( " " ) , " " ) ; }
Bug 427734 - Code Completion issues with enums
Bug 427734 - Code Completion issues with enums
// 2 from System.Object