I suspect this is a compiler error.
Here is a short but complete program to show why I think:
using System;
class Test
{
static void Main()
{
decimal constant = decimal.MaxValue / 10m;
decimal calculated = decimal.MaxValue;
calculated /= 10m;
Console.WriteLine (constant);
Console.WriteLine (calculated);
}
}
Output:
7922816251426433759354395034
7922816251426433759354395033.5
I will delve into the specifications to find out what guarantees are given.
EDIT: In the specification, section 7.18:
, , , .
. .
EDIT: Microsoft Connect. , .