|
|
|
@ -680,6 +680,31 @@ class C : S
@@ -680,6 +680,31 @@ class C : S
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Bug 9935 - MD shows decimal constants as fields which can be initalized
|
|
|
|
|
/// </summary>
|
|
|
|
|
[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."); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|