Fix parsing of standard format string (#47353)
authorPrashanth Govindarajan <prgovi@microsoft.com>
Wed, 27 Jan 2021 17:45:25 +0000 (09:45 -0800)
committerGitHub <noreply@github.com>
Wed, 27 Jan 2021 17:45:25 +0000 (09:45 -0800)
commitad7a50ea4e3968a4582b88367de412ecdc019578
tree8fe3bd1faa97652e80d69733d878f5b211688ebf
parentca7f19941f783e6d71103d0e431145f89a0dae24
Fix parsing of standard format string (#47353)

* BigInteger changes

* sq

* Runtime side unit tests

* Half tests

* Address feedback

* sq

* Move to a ThrowHelper class

* Move to invariant number format

* Move to canonical throw

* sq

* sq

* Fix bad unicode char

* Add the percent tests back
16 files changed:
src/libraries/Common/src/System/Globalization/FormatProvider.Number.cs
src/libraries/System.Private.CoreLib/src/System/Number.Formatting.cs
src/libraries/System.Runtime.Numerics/src/System/Numerics/BigNumber.cs
src/libraries/System.Runtime.Numerics/tests/BigInteger/BigIntegerToStringTests.cs
src/libraries/System.Runtime/tests/System/ByteTests.cs
src/libraries/System.Runtime/tests/System/DecimalTests.cs
src/libraries/System.Runtime/tests/System/DoubleTests.cs
src/libraries/System.Runtime/tests/System/HalfTests.cs
src/libraries/System.Runtime/tests/System/Int16Tests.cs
src/libraries/System.Runtime/tests/System/Int32Tests.cs
src/libraries/System.Runtime/tests/System/Int64Tests.cs
src/libraries/System.Runtime/tests/System/SByteTests.cs
src/libraries/System.Runtime/tests/System/SingleTests.cs
src/libraries/System.Runtime/tests/System/UInt16Tests.cs
src/libraries/System.Runtime/tests/System/UInt32Tests.cs
src/libraries/System.Runtime/tests/System/UInt64Tests.cs