3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 2799 - No completion offered when declaring fields in a class
/// </summary>
Bug 2799 - No completion offered when declaring fields in a class
Bug 2799 - No completion offered when declaring fields in a class
[Test]
		public void TestBug2799 ()
		{
			CombinedProviderTest (
@"namespace Foobar
{
    class MainClass
    {
        public enum Foo
        {
            Value1,
            Value2
        }
    }
    public class Second
    {
        $MainClass.$
    }
}
", provider => Assert.IsNotNull(provider.Find("Foo"), "'Foo' not found."));
		}
[ Test ] public void TestBug2799 ( ) { CombinedProviderTest ( @"namespace Foobar
{
    class MainClass
    {
        public enum Foo
        {
            Value1,
            Value2
        }
    }


    public class Second
    {
        $MainClass.$
    }
}

" , provider => Assert . IsNotNull ( provider . Find ( " " ) , " " ) ) ; }
Bug 2799 - No completion offered when declaring fields in a class
Bug 2799 - No completion offered when declaring fields in a class