Do not pass ReadOnlySequence by "in" to the Utf8JsonReader. (dotnet/corefx#38930)
authorAhson Khan <ahkha@microsoft.com>
Wed, 26 Jun 2019 18:59:32 +0000 (11:59 -0700)
committerGitHub <noreply@github.com>
Wed, 26 Jun 2019 18:59:32 +0000 (11:59 -0700)
commit15cc402980996a091030a82dc085b9747aa07d8b
tree60f976aaa89640254d26a0c8bd2bb0c1b4306347
parent5b4f3b05585df7735dc3bdc28d27f18811c3e18f
Do not pass ReadOnlySequence by "in" to the Utf8JsonReader. (dotnet/corefx#38930)

* Do not pass ReadOnlySequence by "in" to the Utf8JsonReader.

* Remove in from the new ctor as well.

Commit migrated from https://github.com/dotnet/corefx/commit/563bbef3ed9c7029238ae9dbaf61129deee3c53f
src/libraries/System.Text.Json/ref/System.Text.Json.cs
src/libraries/System.Text.Json/src/System/Text/Json/Reader/Utf8JsonReader.MultiSegment.cs