3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
///	Bug 21902 - Completion does not recognise new context for member access on parameter
/// </summary>
Bug 21902 - Completion does not recognise new context for member access on parameter
Bug 21902 - Completion does not recognise new context for member access on parameter
[Test]
		public void TestBug21902 ()
		{
			CombinedProviderTest(
				@"using System;
using System.Collections.Generic;
class C
{
    public List<int> Prop;
}
class MainClass
{
    public static void Main ()
    {
    }
    void Foo (C c)
    {
        $c.Prop = new $
    }
}
", provider => Assert.IsNotNull(provider.Find("List<int>")));
		}
[ Test ] public void TestBug21902 ( ) { CombinedProviderTest ( @"using System;
using System.Collections.Generic;

class C
{
    public List<int> Prop;
}

class MainClass
{
    public static void Main ()
    {
    }

    void Foo (C c)
    {
        $c.Prop = new $
    }
}
" , provider => Assert . IsNotNull ( provider . Find ( " " ) ) ) ; }
Bug 21902 - Completion does not recognise new context for member access on parameter
Bug 21902 - Completion does not recognise new context for member access on parameter