-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ReadBufferState dispose cases (#110739)
* Move ReadBufferState initialization after other operations * Move ReadBufferState initialization after other operations * Update src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Metadata/JsonTypeInfoOfT.ReadHelper.cs * Move ReadBufferState initialization under try clause * Move ReadBufferState initialization under try clause * Return initial change. Add explanatory comment * Return initial change. Add explanatory comment * Fix typo * Fix typo * Update comment * Update comment * Change bufferState initialization style --------- Co-authored-by: Eirik Tsarpalis <[email protected]>
- Loading branch information
1 parent
57ab984
commit 004f205
Showing
2 changed files
with
6 additions
and
3 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