3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/ObjectInitializerTests.cs
/// <summary>
/// Bug 9935 - MD shows decimal constants as fields which can be initalized
/// </summary>
Bug 9935 - MD shows decimal constants as fields which can be initalized
Bug 9935 - MD shows decimal constants as fields which can be initalized
[Test]
		public void TestBug9935()
		{
			var provider = CodeCompletionBugTests.CreateCtrlSpaceProvider(
				@"class Test 
{
    public static void Main(string [] args)
    {
		var mm = new decimal () {
            $M$
        };
    }
}
");
			Assert.IsNull(provider.Find("MaxValue"), "'MaxValue' found.");
			Assert.IsNull(provider.Find("MinValue"), "'MinValue' found.");
		}
[ Test ] public void TestBug9935 ( ) { var provider = CodeCompletionBugTests . CreateCtrlSpaceProvider ( @"class Test 
{
   
    public static void Main(string [] args)
    {
		var mm = new decimal () {
            $M$
        };

    }
}

" ) ; Assert . IsNull ( provider . Find ( " " ) , " " ) ; Assert . IsNull ( provider . Find ( " " ) , " " ) ; }
Bug 9935 - MD shows decimal constants as fields which can be initalized
Bug 9935 - MD shows decimal constants as fields which can be initalized