3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 4020 - code completion handles explicit interface implementations improperly
/// </summary>
Bug 4020 - code completion handles explicit interface implementations improperly
Bug 4020 - code completion handles explicit interface implementations improperly
[Test]
		public void TestBug4020 ()
		{
			var provider = CreateProvider (
@"
using System;
namespace Test
{
    class TestClass : IDisposable
    {
        void IDisposable.Dispose ()
        {
        }
        public void Foo()
        {
            $D$
        }
    }
}
");
			Assert.IsNull (provider.Find ("Dispose"), "'Dispose' found.");
		}
[ Test ] public void TestBug4020 ( ) { var provider = CreateProvider ( @"
using System;
namespace Test
{
    class TestClass : IDisposable
    {
        void IDisposable.Dispose ()
        {
        }
        public void Foo()
        {
            $D$
        }
    }
}
" ) ; Assert . IsNull ( provider . Find ( " " ) , " " ) ; }
Bug 4020 - code completion handles explicit interface implementations improperly
Bug 4020 - code completion handles explicit interface implementations improperly
// todo: maybe a better solution would be  //       having an item to insert the proper cast on 'Dispose' ?