Implement Get APIs using TryGet counterparts (dotnet/corefx#34604)
authorMandar Sahasrabuddhe <WinCPP@users.noreply.github.com>
Sat, 19 Jan 2019 14:39:58 +0000 (20:09 +0530)
committerAhson Khan <ahkha@microsoft.com>
Sat, 19 Jan 2019 14:39:58 +0000 (06:39 -0800)
commit73d5fc4e154c7634278ac002275f88a0647b8a02
treeb78e44ce931e45e691f3a8c7965242c10ec87131
parentd1ebbcfce3627cb1ab79176ebf2ef789d4a02132
Implement Get APIs using TryGet counterparts (dotnet/corefx#34604)

* CoreFx dotnet/corefx#33320 Implement Get APIs using TryGet

* CoreFx dotnet/corefx#33320 Implement Get APIs using TryGet

* Fixed NITs

Commit migrated from https://github.com/dotnet/corefx/commit/814e1ca9f1171bf50c425aba13c4148170d639ae
src/libraries/Common/src/System/SR.cs
src/libraries/System.Text.Json/ref/System.Text.Json.cs
src/libraries/System.Text.Json/src/Resources/Strings.resx
src/libraries/System.Text.Json/src/System/Text/Json/Reader/Utf8JsonReader.TryGet.cs
src/libraries/System.Text.Json/src/System/Text/Json/ThrowHelper.cs
src/libraries/System.Text.Json/tests/JsonNumberTestData.cs [new file with mode: 0644]
src/libraries/System.Text.Json/tests/JsonTestHelper.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests.csproj
src/libraries/System.Text.Json/tests/Utf8JsonReaderTests.TryGet.cs
src/libraries/System.Text.Json/tests/Utf8JsonReaderTests.cs