Unsafe code replaced by ReadOnlyMemory<> equivalent (#43214)
authorYoh Deadfall <yoh.deadfall@hotmail.com>
Tue, 13 Oct 2020 15:55:23 +0000 (18:55 +0300)
committerGitHub <noreply@github.com>
Tue, 13 Oct 2020 15:55:23 +0000 (16:55 +0100)
commitd0b65a851691783c7552f11422e60b8ebd4f1cb1
tree2a52e9caa6b57cf5060dda8b589597c027157cff
parent546115d17880b6dc97bf3f0a0c846c760e53b11e
Unsafe code replaced by ReadOnlyMemory<> equivalent (#43214)

* Unsafe code replaced by ReadOnlyMemory<> equivalent

* Returned back Length property

* Replaced StringOrCharArray by ReadOnlyMemory and comparer

* Addressed review
src/libraries/Common/src/System/Text/StringOrCharArray.cs [deleted file]
src/libraries/System.Console/src/System.Console.csproj
src/libraries/System.Console/src/System/ConsolePal.Unix.cs