12 references to StringToCoTaskMemUni
mscorlib (2)
system\runtime\interopservices\marshal.cs (1)
1900
return
StringToCoTaskMemUni
(s);
system\security\cryptography\x509certificates\x509utils.cs (1)
140
rawKey = Marshal.
StringToCoTaskMemUni
(key);
PresentationCore (3)
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (1)
55
pstrName = Marshal.
StringToCoTaskMemUni
(name);
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (2)
243
pString = Marshal.
StringToCoTaskMemUni
(value[index]);
373
pwszVal = Marshal.
StringToCoTaskMemUni
(value as String);
PresentationFramework (1)
src\Framework\MS\Internal\IO\Packaging\indexingfiltermarshaler.cs (1)
152
native.union.name = Marshal.
StringToCoTaskMemUni
(propSpec.PropName);
System (2)
services\monitoring\system\diagnosticts\Process.cs (2)
2072
password = Marshal.
StringToCoTaskMemUni
(startInfo.PasswordInClearText);
2074
password = Marshal.
StringToCoTaskMemUni
(String.Empty);
System.Core (1)
System\Security\Cryptography\NCryptNative.cs (1)
1045
hashAlgorithmString = Marshal.
StringToCoTaskMemUni
(hashAlgorithm);
System.ServiceModel (2)
System\ServiceModel\ComIntegration\ComPlusAuthorization.cs (2)
503
IntPtr str = Marshal.
StringToCoTaskMemUni
(SecurityUtils.GetProcessIdentity().Name);
523
IntPtr str = Marshal.
StringToCoTaskMemUni
(clientIdentity.Name);
WindowsBase (1)
Base\MS\Internal\Interop\NativeStructs.cs (1)
105
pointerVal = Marshal.
StringToCoTaskMemUni
(val);