3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 8795 - Completion shows namespace entry which in not usable
/// </summary>
Bug 8795 - Completion shows namespace entry which in not usable
Bug 8795 - Completion shows namespace entry which in not usable
[Test]
		public void TestBug8795 ()
		{
			CombinedProviderTest(@"namespace A.B
{
    public class Foo
    {
    }
}
namespace Foo
{
    using A.B;
    class MainClass
    {
        public static void Main ()
        {
            $F$
        }
    }
}
", provider => provider.Data.Single(d => d.DisplayText == "Foo"));
		}
[ Test ] public void TestBug8795 ( ) { CombinedProviderTest ( @"namespace A.B
{
    public class Foo
    {
    }
}
namespace Foo
{
    using A.B;

    class MainClass
    {
        public static void Main ()
        {
            $F$
        }
    }
}
" , provider => provider . Data . Single ( d => d . DisplayText == " " ) ) ; }
Bug 8795 - Completion shows namespace entry which in not usable
Bug 8795 - Completion shows namespace entry which in not usable