Adding failing string to Boolean and TimeSpan parse failure exceptions (#15661)
authorSzabolcs Dézsi <dezsiszabi@users.noreply.github.com>
Tue, 17 Apr 2018 16:08:53 +0000 (12:08 -0400)
committerTarek Mahmoud Sayed <tarekms@microsoft.com>
Tue, 17 Apr 2018 16:08:53 +0000 (09:08 -0700)
commit021db9b46a03ede37fa0a5a9c72fe0e286905ef3
tree102acfa7f6efbf534d0979f3c5d65942f4306955
parent4cc64b8e6e41e95e1e085b77ff654f31e0925ac6
Adding failing string to Boolean and TimeSpan parse failure exceptions (#15661)

* Adding failing string to Boolean and TimeSpan parse failure exceptions

* Avoid boxing char when using TryParse

* Removing unnecessary nameof expression

* Applying review feedback to remove ParseFailureKind from TimeSpanParse

* Added helper methods for TimeSpan parsing
src/mscorlib/Resources/Strings.resx
src/mscorlib/shared/System/Boolean.cs
src/mscorlib/shared/System/Globalization/TimeSpanParse.cs