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