3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 5191 - Creating extension method problem when typing "this" 
/// </summary>
Bug 5191 - Creating extension method problem when typing "this"
Bug 5191 - Creating extension method problem when typing " this "
[Test]
		public void TestBug5191()
		{
			CombinedProviderTest(
@"using System;
static class Ext
{
	$public static void Foo(t$
}
", provider => Assert.IsNotNull(provider.Find("this"), "'this' not found."));
			CombinedProviderTest(
@"using System;
static class Ext
{
	$public static void Foo(int foo, t$
}
", provider => Assert.IsNull(provider.Find("this"), "'this' found."));
		}
[ Test ] public void TestBug5191 ( ) { CombinedProviderTest ( @"using System;

static class Ext
{
	$public static void Foo(t$
}
" , provider => Assert . IsNotNull ( provider . Find ( " " ) , " " ) ) ; CombinedProviderTest ( @"using System;

static class Ext
{
	$public static void Foo(int foo, t$
}
" , provider => Assert . IsNull ( provider . Find ( " " ) , " " ) ) ; }
Bug 5191 - Creating extension method problem when typing "this"
Bug 5191 - Creating extension method problem when typing " this "