16 references to PtrToStringUTF8
System.Formats.Tar (2)
src\libraries\Common\src\Interop\Unix\Interop.Errors.cs (1)
182
return Marshal.
PtrToStringUTF8
((IntPtr)message)!;
src\libraries\Common\src\Interop\Unix\System.Native\Interop.GetPwUid.cs (1)
70
username = Marshal.
PtrToStringUTF8
((IntPtr)passwd.Name);
System.IO.Compression.ZipFile (1)
src\libraries\Common\src\Interop\Unix\Interop.Errors.cs (1)
182
return Marshal.
PtrToStringUTF8
((IntPtr)message)!;
System.IO.FileSystem.Watcher (1)
src\libraries\Common\src\Interop\Unix\Interop.Errors.cs (1)
182
return Marshal.
PtrToStringUTF8
((IntPtr)message)!;
System.IO.Ports (1)
src\libraries\Common\src\Interop\Unix\Interop.Errors.cs (1)
182
return Marshal.
PtrToStringUTF8
((IntPtr)message)!;
System.Net.Ping (1)
src\libraries\Common\src\Interop\Unix\Interop.Errors.cs (1)
182
return Marshal.
PtrToStringUTF8
((IntPtr)message)!;
System.Private.CoreLib (10)
src\libraries\Common\src\Interop\Unix\Interop.Errors.cs (1)
182
return Marshal.
PtrToStringUTF8
((IntPtr)message)!;
src\libraries\Common\src\Interop\Unix\System.Native\Interop.GetCwd.cs (1)
57
return Marshal.
PtrToStringUTF8
((IntPtr)ptr);
src\libraries\Common\src\Interop\Unix\System.Native\Interop.GetHostName.cs (1)
41
return Marshal.
PtrToStringUTF8
((IntPtr)name)!;
src\libraries\Common\src\Interop\Unix\System.Native\Interop.GetPwUid.cs (1)
70
username = Marshal.
PtrToStringUTF8
((IntPtr)passwd.Name);
src\libraries\Common\src\Interop\Unix\System.Native\Interop.MountPoints.cs (1)
30
callbackContext->_results.Add(Marshal.
PtrToStringUTF8
((IntPtr)name)!);
src\libraries\System.Private.CoreLib\src\System\IO\PersistedFiles.Unix.cs (1)
102
path = Marshal.
PtrToStringUTF8
((IntPtr)passwd.HomeDirectory);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.Unix.cs (1)
18
return
PtrToStringUTF8
(ptr);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\Utf8StringMarshaller.cs (1)
42
=> Marshal.
PtrToStringUTF8
((IntPtr)unmanaged);
src\System\GC.CoreCLR.cs (2)
889
string nameAsString = Marshal.
PtrToStringUTF8
((IntPtr)name)!;
898
string? dataAsString = Marshal.
PtrToStringUTF8
((nint)data);