forked from dotnet/corefx
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix BytesConsumed when reading JSON numbers within a multi-segment Re…
…adOnlySequence via Utf8JsonReader (dotnet#40303) * Add tests for reading numbers when data is within a multi-segment ReadOnlySequence. * Test rename and add debug.assert. * Test clean up - remove unnecessary/expensive Debug.Assert. * Test and code cleanup. * Address feedback - add stronger test condition for token length.
- Loading branch information
Showing
3 changed files
with
160 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters