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