From 8e7b6bd2e278617a0705c32137779f86c23e0b93 Mon Sep 17 00:00:00 2001 From: Mandar Sahasrabuddhe Date: Sat, 18 May 2019 04:06:49 +0530 Subject: [PATCH] Consume comments changes (dotnet/corefx#35934) * Consume comments changes * Fixed issues in branch splitting * Use sequence positions. Elaborate comments. * Reworked algos, review comment fixes * Fixed review comments * minor comment fix * Standardize exception messages * Clean up exception messages Commit migrated from https://github.com/dotnet/corefx/commit/d72d7203a89d3207985c9aca6f02fb8576cbe47b --- .../System.Text.Json/src/Resources/Strings.resx | 11 +- .../Json/Reader/Utf8JsonReader.MultiSegment.cs | 64 +++++-- .../src/System/Text/Json/Reader/Utf8JsonReader.cs | 43 +++-- .../src/System/Text/Json/ThrowHelper.cs | 8 + .../tests/Utf8JsonReaderTests.MultiSegment.cs | 57 ++++-- .../System.Text.Json/tests/Utf8JsonReaderTests.cs | 196 ++++++++++----------- 6 files changed, 226 insertions(+), 153 deletions(-) diff --git a/src/libraries/System.Text.Json/src/Resources/Strings.resx b/src/libraries/System.Text.Json/src/Resources/Strings.resx index 52c72c4..1acf9d2 100644 --- a/src/libraries/System.Text.Json/src/Resources/Strings.resx +++ b/src/libraries/System.Text.Json/src/Resources/Strings.resx @@ -1,5 +1,4 @@ - - +