3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/ParameterCompletionTests.cs
/// <summary>
/// Bug 12824 - Invalid argument intellisense inside lambda
/// </summary>
Bug 12824 - Invalid argument intellisense inside lambda
Bug 12824 - Invalid argument intellisense inside lambda
[Test]
		public void TestBug12824 ()
		{
			var provider = (TestFactory.Provider)CreateProvider (
				@"using System.Threading.Tasks;
using System;
public class MyEventArgs 
{
	public static void Main (string[] args)
	{
		Task.Factory.StartNew (() => {
				$throw new Exception ($
		});
	}
}");
			string name = provider.Data.First().FullName;
			Assert.AreEqual ("System.Exception..ctor", name);
		}
[ Test ] public void TestBug12824 ( ) { var provider = ( TestFactory . Provider ) CreateProvider ( @"using System.Threading.Tasks;
using System;

public class MyEventArgs 
{
	public static void Main (string[] args)
	{
		Task.Factory.StartNew (() => {
				$throw new Exception ($
		});
	}
}" ) ; string name = provider . Data . First ( ) . FullName ; Assert . AreEqual ( " " , name ) ; }
Bug 12824 - Invalid argument intellisense inside lambda
Bug 12824 - Invalid argument intellisense inside lambda