3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 467507 - No completion of base members inside explicit events
/// </summary>
Bug 467507 - No completion of base members inside explicit events
Bug 467507 - No completion of base members inside explicit events
[Test]
		public void TestBug467507 ()
		{
			CompletionDataList provider = CreateCtrlSpaceProvider (
@"
using System;
class Test
{
	public void TestMe ()
	{
	}
	public event EventHandler TestEvent {
		add {
			$
		}
		remove {
		}
	}
}
");
			Assert.IsNotNull (provider, "provider not found.");
			Assert.IsNotNull (provider.Find ("TestMe"), "method 'TestMe' not found");
			Assert.IsNotNull (provider.Find ("value"), "keyword 'value' not found");
		}
[ Test ] public void TestBug467507 ( ) { CompletionDataList provider = CreateCtrlSpaceProvider ( @"
using System;

class Test
{
	public void TestMe ()
	{
	}
	
	public event EventHandler TestEvent {
		add {
			$
		}
		remove {
			
		}
	}
}
" ) ; Assert . IsNotNull ( provider , " " ) ; Assert . IsNotNull ( provider . Find ( " " ) , " " ) ; Assert . IsNotNull ( provider . Find ( " " ) , " " ) ; }
Bug 467507 - No completion of base members inside explicit events
Bug 467507 - No completion of base members inside explicit events