3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 473686 - Constants are not included in code completion
/// </summary>
Bug 473686 - Constants are not included in code completion
Bug 473686 - Constants are not included in code completion
[Test]
		public void TestBug473686 ()
		{
			CompletionDataList provider = CreateCtrlSpaceProvider (
@"
class ATest
{
	const int TESTCONST = 0;
	static void Test()
	{
		$$
	}
}
");
			Assert.IsNotNull (provider, "provider not found.");
			Assert.IsNotNull (provider.Find ("TESTCONST"), "constant 'TESTCONST' not found.");
		}
[ Test ] public void TestBug473686 ( ) { CompletionDataList provider = CreateCtrlSpaceProvider ( @"
class ATest
{
	const int TESTCONST = 0;

	static void Test()
	{
		$$
	}
}
" ) ; Assert . IsNotNull ( provider , " " ) ; Assert . IsNotNull ( provider . Find ( " " ) , " " ) ; }
Bug 473686 - Constants are not included in code completion
Bug 473686 - Constants are not included in code completion