Narrow four utf16 chars to ascii and write to buffer (#39508)
authorPrashanth Govindarajan <prgovi@microsoft.com>
Wed, 29 Jul 2020 18:02:03 +0000 (11:02 -0700)
committerGitHub <noreply@github.com>
Wed, 29 Jul 2020 18:02:03 +0000 (11:02 -0700)
commit564426051c8ec46051ee29048650cdae39c62d48
treec17f85326d176f9a28fea5b1db14eafeed1cda38
parent652297c318b491420d6d2828073ea97eaee99d7e
Narrow four utf16 chars to ascii and write to buffer (#39508)

* Shims

* shim

* Cherry-pick

* NarrowFourUtf16CharsToAsciiAndWriteToBuffer

* Address comments

* Nit
src/libraries/System.Private.CoreLib/src/System/Text/ASCIIUtility.cs
src/libraries/System.Utf8String.Experimental/src/System/Runtime/Intrinsics/Intrinsics.Shims.cs