9 references to PtrToStringUni
Microsoft.CodeAnalysis.Scripting (3)
src\Compilers\Shared\GlobalAssemblyCacheHelpers\ClrGlobalAssemblyCache.cs (1)
251var result = Marshal.PtrToStringUni((IntPtr)info.pszCurrentAssemblyPathBuf, (int)info.cchBuf - 1);
src\Compilers\Shared\GlobalAssemblyCacheHelpers\FusionAssemblyIdentity.cs (2)
154return Marshal.PtrToStringUni((IntPtr)p, (int)characterCountIncludingTerminator - 1); 197return Marshal.PtrToStringUni((IntPtr)p, (data.Length / 2) - 1);
Microsoft.CodeAnalysis.UnitTests (2)
src\Compilers\Shared\GlobalAssemblyCacheHelpers\FusionAssemblyIdentity.cs (2)
154return Marshal.PtrToStringUni((IntPtr)p, (int)characterCountIncludingTerminator - 1); 197return Marshal.PtrToStringUni((IntPtr)p, (data.Length / 2) - 1);
ReachFramework (1)
MS\Internal\Printing\Configuration\WinSpoolPrinterCapabilities.cs (1)
558string str = Marshal.PtrToStringUni(strAddr, itemByteSize / 2);
System.Data.Odbc (1)
Common\System\Data\ProviderBase\DbBuffer.cs (1)
99value = Marshal.PtrToStringUni(ptr, length);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
1238return PtrToStringUni(ptr, (int)(SysStringByteLen(ptr) / sizeof(char)));
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\SafeCoTaskMem.cs (1)
29return Marshal.PtrToStringUni(handle, length);