Open thekingofspain opened 6 months ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
Tagging subscribers to this area: @dotnet/area-system-runtime
MidpointRounding.ToZero and other directed-rounding modes are defined in .NET Core 3.0 and greater. So the problem is that the .NET Core 3.0 example is also displayed for .NET Framework, for which it is not valid.
On the midpointrounding documentation for 4.8.1, the enum has two values, but the Examples uses a third undocumented value of ToZero.