Update M.E.DependencyModel to use S.T.Json source for netstandard2.0 (dotnet/core-setup#5009)
* Update M.E.DependencyModel to use in-box S.T.Json for netstandard2.0
* Move StreamBufferWriter to a separate file.
* Return array back to the pool on success.
* Update test json and remove trailing commas to make it valid according
to RFC.
* Fix off-by-one error in skip, add a null string check, and remove other
trailing commas.
* Write end of object before flushing.
* Add missing write end array to close the array block.
* Update to latest source package with some API changes.
* Address PR feedback.
* Split DepContextJsonReader into common, newtonsoft, and netstandard.
* Try to minimize the diff between Newtonsoft and S.T.Json.
* Remove the .Common prefix for the source that is shared between the
impls.
* Explicitly add access modifiers and some code formatting fix.
* Add debug asserts and add comment to where ReadToEnd comes from.
* Mark methods as static where possible.
* Update code formatting (use var, inline outs, etc.)
* Use implicit cast to span and use try/finally block instead.
* Always check to resize in case stream.Length changes.
* Use an array-based buffer writer rather than one that supports stream.
* Add a unified json reader to reduce code duplication.
* Remove JsonTextReaderExtensions and cleanup some changes to keep the
diff cleaner.
* Skip comments by default.
* Allow comments on the reader but throw FormatException to mimic current
behavior.
* Adjust the exception message comparion assert.
* Use the latest LangVersion (7.3) required by the source package.
* Rename partial files using Utf8JsonReader/JsonTextReader suffixes.
* Address PR feedback - cleanup csproj and remove unused APIs.
* Use JsonTextWriter (instead of JObject) and extract out common code by
using UnifiedJsonWriter
extract out common code by using UnifiedJsonWriterr
* Rename Write to WriteCore to match the Read
* Explicitly disallow comments and update test to assert
JsonReaderException.
* Add source package version to Versions.props.
Commit migrated from https://github.com/dotnet/core-setup/commit/
45f9401bf62faf0d3446cfd8681d35cc3487367a