forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix validation check within Utf8JsonWriter for writing a primitive v…
…alue after another complete value has been written. (dotnet/corefx#39796) * Fix validation check within Utf8JsonWriter for writing a primitive value. * Update the unit test to pass in JsonValueKind as an inlinedata option. * Test cleanup. * Remove use of _isNotPrimitive as that is redundant and unnecessary. * Some more test clean up - validate bytespending moves. * More test clean up - ensure bytespending remains as is when we throw. * Invert check order to rely on short-circuiting. * Address feedback and add comment related tests. Commit migrated from dotnet/corefx@47c35fe
- Loading branch information
Showing
5 changed files
with
353 additions
and
22 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
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
Oops, something went wrong.