3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 457237 - code completion doesn't show static methods when setting global variable
/// </summary>
Bug 457237 - code completion doesn't show static methods when setting global variable
Bug 457237 - code completion doesn ' t show static methods when setting global variable
[Test]
		public void TestBug457237 ()
		{
			CompletionDataList provider = CreateProvider (
@"
class Test
{
	public static double Val = 0.5;
}
class Test2
{
	$double dd = Test.$
}
");
			Assert.IsNotNull (provider, "provider not found.");
			Assert.IsNotNull (provider.Find ("Val"), "field 'Val' not found.");
		}
[ Test ] public void TestBug457237 ( ) { CompletionDataList provider = CreateProvider ( @"
class Test
{
	public static double Val = 0.5;
}

class Test2
{
	$double dd = Test.$
}
" ) ; Assert . IsNotNull ( provider , " " ) ; Assert . IsNotNull ( provider . Find ( " " ) , " " ) ; }
Bug 457237 - code completion doesn't show static methods when setting global variable
Bug 457237 - code completion doesn ' t show static methods when setting global variable