3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 6849 - Regression: Inaccesible types in completion
/// </summary>
Bug 6849 - Regression: Inaccesible types in completion
Bug 6849 - Regression : Inaccesible types in completion
[Test]
		public void TestBug6849()
		{
			CombinedProviderTest(
				@"
namespace bug
{
   public class TestClass
    {
        void Bar()
        {
            $new System.Collections.Generic.$
        }
    }
}
", provider => {
				Assert.IsNull(provider.Find("RBTree"));
				Assert.IsNull(provider.Find("GenericComparer"));
				Assert.IsNull(provider.Find("InternalStringComparer"));
			});
		}
[ Test ] public void TestBug6849 ( ) { CombinedProviderTest ( @"
namespace bug
{
   public class TestClass
    {
        void Bar()
        {
            $new System.Collections.Generic.$
        }
    }
}

" , provider => { Assert . IsNull ( provider . Find ( " " ) ) ; Assert . IsNull ( provider . Find ( " " ) ) ; Assert . IsNull ( provider . Find ( " " ) ) ; } ) ; }
Bug 6849 - Regression: Inaccesible types in completion
Bug 6849 - Regression : Inaccesible types in completion
// it's likely to be mono specific.