Handle Byte Order Mark in Utf8JsonReader.Read (dotnet/corefx#38470)
authorPrashanth Govindarajan <prgovi@microsoft.com>
Mon, 24 Jun 2019 22:48:12 +0000 (15:48 -0700)
committerGitHub <noreply@github.com>
Mon, 24 Jun 2019 22:48:12 +0000 (15:48 -0700)
commitd1b3d24ef7157cf1f2bedd82c7076046336036a2
treedf941793bb325bb376f5d385d0e0301b45502880
parent7546e499882fa4f0af31d7e7788102016d40af28
Handle Byte Order Mark in Utf8JsonReader.Read (dotnet/corefx#38470)

* Handle Byte Order Mark in Utf8JsonReader.Read

* Address feedback

Commit migrated from https://github.com/dotnet/corefx/commit/2366ba3fe5c2f531f7be5f4810d3829301d8d3d6
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonSerializer.Read.Stream.cs
src/libraries/System.Text.Json/tests/Serialization/Stream.ReadTests.cs
src/libraries/System.Text.Json/tests/Utf8JsonReaderTests.MultiSegment.cs
src/libraries/System.Text.Json/tests/Utf8JsonReaderTests.cs