3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 2793 - op_Equality should not be offered in the completion list
/// </summary>
Bug 2793 - op_Equality should not be offered in the completion list
Bug 2793 - op_Equality should not be offered in the completion list
[Test]
		public void Test2793 ()
		{
			CombinedProviderTest (
@"
using System;
public class MyClass
{
    public class A
    {
        public event EventHandler MouseClick;
    }
    public class B : A
    {
        public new event EventHandler MouseClick;
    }
    public class C : B
    {
        public new void MouseClick ()
        {
        }
    }
    static public void Main ()
    {
        C myclass = new C ();
        $myclass.$
    }
}", provider => Assert.AreEqual(1, provider.Data.Count(c => c.DisplayText == "MouseClick")));
		}
[ Test ] public void Test2793 ( ) { CombinedProviderTest ( @"
using System;

public class MyClass
{
    public class A
    {
        public event EventHandler MouseClick;
    }

    public class B : A
    {
        public new event EventHandler MouseClick;
    }

    public class C : B
    {
        public new void MouseClick ()
        {
        }
    }

    static public void Main ()
    {
        C myclass = new C ();
        $myclass.$
    }
}" , provider => Assert . AreEqual ( 1 , provider . Data . Count ( c => c . DisplayText == " " ) ) ) ; }
Bug 2793 - op_Equality should not be offered in the completion list
Bug 2793 - op_Equality should not be offered in the completion list