-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
StringSegment.Buffer
can be null (#57858)
* StringSegment.Buffer can be null * Throw on null * Update src/libraries/Microsoft.Extensions.Primitives/src/StringSegment.cs Co-authored-by: Günther Foidl <gue@korporal.at> * Add using * Update StringSegmentTest.cs * Equals never throws * Use expression body * Fix StringSegment_CompareEqual_Globalized * Fix StringSegment_CompareEqual_Globalized * Add more tests * Fix tests Co-authored-by: Günther Foidl <gue@korporal.at>
- Loading branch information
1 parent
65f795f
commit 4a7a49b
Showing
3 changed files
with
183 additions
and
264 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
Oops, something went wrong.