Fix marshalling UTF8 string struct member from native to managed. (dotnet/coreclr...
authorJeremy Koritzinsky <jkoritzinsky@gmail.com>
Tue, 5 Feb 2019 06:16:43 +0000 (22:16 -0800)
committerGitHub <noreply@github.com>
Tue, 5 Feb 2019 06:16:43 +0000 (22:16 -0800)
commitd94e15498465c58c68d590b012a696b4748d9a43
tree843addab0c0da402ea29bf9bfdb0895b72d09130
parent441a1f5331cf5f3c74c0cfdfca3ef095945e21a5
Fix marshalling UTF8 string struct member from native to managed. (dotnet/coreclr#22408)

* Fix marshalling UTF8 string struct member from native to managed.

Fixes dotnet/coreclr#22394

* PR Feedback.

Commit migrated from https://github.com/dotnet/coreclr/commit/b52d64f04f61889c4bb0eb4cd9a39d6899eace09
src/coreclr/src/vm/fieldmarshaler.cpp
src/coreclr/tests/src/Interop/StringMarshalling/UTF8/UTF8Test.cs
src/coreclr/tests/src/Interop/StringMarshalling/UTF8/UTF8TestNative.cpp