Use MemoryExtensions.Count in a few places (#81325)
authorStephen Toub <stoub@microsoft.com>
Sat, 4 Feb 2023 22:12:39 +0000 (17:12 -0500)
committerGitHub <noreply@github.com>
Sat, 4 Feb 2023 22:12:39 +0000 (17:12 -0500)
commitb494ef9ab6fd1bfe4203be1ddd4141e799e30706
treeb170754421c74689015710020910fc636e6a28e7
parent6c12e6ee3f567fe913f35a3d9f58dff52d2249be
Use MemoryExtensions.Count in a few places (#81325)

* Use MemoryExtensions.Count in a few places

* Update src/libraries/System.Text.Json/src/System/Text/Json/Reader/JsonReaderHelper.cs
src/libraries/System.Net.NetworkInformation/src/System/Net/NetworkInformation/StringParsingHelpers.Misc.cs
src/libraries/System.Private.CoreLib/src/System/TimeZoneInfo.Unix.Android.cs
src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/Internal/NamespaceCache.cs
src/libraries/System.Text.Json/src/System/Text/Json/Reader/JsonReaderHelper.cs