3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 7041 - No completion inside new[]
/// </summary>
Bug 7041 - No completion inside new[]
Bug 7041 - No completion inside new []
[Test]
		public void TestBug7041()
		{
			CombinedProviderTest(
				@"using System;
		namespace ConsoleApplication2
		{
			class Test
			{
				public string[] Foo { get; set; }
			}
			class Program
			{
				static void Main(string[] args)
				{
					var a = new Test ()
					{
						$Foo = new [] { S$
					}
				}
			}
		}
", provider => Assert.IsNotNull(provider.Find("System")));
		}
[ Test ] public void TestBug7041 ( ) { CombinedProviderTest ( @"using System;

		namespace ConsoleApplication2
		{
			class Test
			{
				public string[] Foo { get; set; }
			}

			class Program
			{
				static void Main(string[] args)
				{
					var a = new Test ()
					{
						$Foo = new [] { S$
					}

				}
			}
		}

" , provider => Assert . IsNotNull ( provider . Find ( " " ) ) ) ; }
Bug 7041 - No completion inside new[]
Bug 7041 - No completion inside new []