3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 432681 - Incorrect completion in nested classes
/// </summary>
Bug 432681 - Incorrect completion in nested classes
Bug 432681 - Incorrect completion in nested classes
[Test]
		public void TestBug432681 ()
		{
			CompletionDataList provider = CreateProvider (
@"
class C {
        public class D
        {
        }
        public void Method ()
        {
                $C.D c = new $
        }
}");
			Assert.IsNotNull (provider, "provider not found.");
			Assert.AreEqual ("D", provider.DefaultCompletionString, "Completion string is incorrect");
		}
[ Test ] public void TestBug432681 ( ) { CompletionDataList provider = CreateProvider ( @"

class C {
        public class D
        {
        }

        public void Method ()
        {
                $C.D c = new $
        }
}" ) ; Assert . IsNotNull ( provider , " " ) ; Assert . AreEqual ( " " , provider . DefaultCompletionString , " " ) ; }
Bug 432681 - Incorrect completion in nested classes
Bug 432681 - Incorrect completion in nested classes