Match PtrToStringUTF8 to the other PtrToString* families. (#23731)
authorJeremy Koritzinsky <jkoritzinsky@gmail.com>
Sat, 6 Apr 2019 03:23:36 +0000 (20:23 -0700)
committerJan Kotas <jkotas@microsoft.com>
Sat, 6 Apr 2019 03:23:36 +0000 (20:23 -0700)
commit652ff3c4b94a96a293788d321a036b236be46aef
tree49edb5149749f389890e8c713351c45b11d8e638
parent10998b4750af123d81b18c5b68b687027fec2bf9
Match PtrToStringUTF8 to the other PtrToString* families. (#23731)

* Match PtrToStringUTF8 to the other PtrToString* families.

* Make PtrToString*(IntPtr,int) exceptions consistent.

* Exclude out-of-date tests in CoreFX.

* Update exclusions to cover tests that are now throwing ArgumentOutOfRangeExceptions instead of ArgumentExceptions.

* Fix parameter order for exception.

* Pass value to exception.
src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.cs
tests/CoreFX/CoreFX.issues.json