diff --git a/xml/System.Runtime.InteropServices/Marshal.xml b/xml/System.Runtime.InteropServices/Marshal.xml index 064345af4ce..0efdbf9fdbe 100644 --- a/xml/System.Runtime.InteropServices/Marshal.xml +++ b/xml/System.Runtime.InteropServices/Marshal.xml @@ -6168,7 +6168,7 @@ There is a difference in the behavior of the `GetLastWin32Error` method on .NET 4.2.0.0 - Allocates a managed and copies all or part of an unmanaged ANSI string into it. + Allocates a managed and copies all or part of an unmanaged ANSI (on Windows) or UTF-8 (on Unix) string into it. @@ -6216,8 +6216,8 @@ There is a difference in the behavior of the `GetLastWin32Error` method on .NET The address of the first character of the unmanaged string. - Copies all characters up to the first null character from an unmanaged ANSI string to a managed , and widens each ANSI character to Unicode. - A managed string that holds a copy of the unmanaged ANSI string. If is , the method returns a null string. + Copies all characters up to the first null character from an unmanaged ANSI or UTF-8 string to a managed , and widens each character to UTF-16. + A managed string that holds a copy of the unmanaged string. If is , the method returns a null string. The address of the first character of the unmanaged string. The byte count of the input string to copy. - Allocates a managed , copies a specified number of characters from an unmanaged ANSI string into it, and widens each ANSI character to Unicode. - A managed string that holds a copy of the native ANSI string if the value of the parameter is not ; otherwise, this method returns . + Allocates a managed , copies a specified number of characters from an unmanaged ANSI or UTF-8 string into it, and widens each character to UTF-16. + A managed string that holds a copy of the native string if the value of the parameter is not ; otherwise, this method returns .