7 references to SysStringLen
mscorlib (7)
system\runtime\interopservices\marshal.cs (2)
2216
return PtrToStringUni(ptr, (int)Win32Native.
SysStringLen
(ptr));
2695
Win32Native.ZeroMemory(s, (UIntPtr)(Win32Native.
SysStringLen
(s) * 2));
system\security\securestring.cs (5)
699
Win32Native.ZeroMemory(handle, (UIntPtr) (Win32Native.
SysStringLen
(handle) * 2));
711
Win32Native.ZeroMemory((IntPtr)bufferPtr, (UIntPtr) (Win32Native.
SysStringLen
((IntPtr)bufferPtr) * 2));
735
Contract.Assert(Win32Native.
SysStringLen
((IntPtr)targetPtr) >= Win32Native.
SysStringLen
((IntPtr)sourcePtr), "Target buffer is not large enough!");
737
Buffer.Memcpy(targetPtr, sourcePtr, (int) Win32Native.
SysStringLen
((IntPtr)sourcePtr) * 2);