5 references to StringToHGlobalUni
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\CSharpProjectShim.ICSharpProjectSite.cs (1)
161
_startupClasses = [.. entryPointNames.Select(Marshal.
StringToHGlobalUni
)];
System.Security.Cryptography (1)
Microsoft\Win32\SafeHandles\SafePasswordHandle.cs (1)
29
handle = Marshal.
StringToHGlobalUni
(password);
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
1841
tvis.item.pszText = (char*)Marshal.
StringToHGlobalUni
(_text);
2145
item.pszText = (char*)Marshal.
StringToHGlobalUni
(_text);
System.Windows.Forms.Tests (1)
System\Windows\Forms\ClipboardTests.cs (1)
561
SetClipboardData((uint)CLIPBOARD_FORMAT.CF_UNICODETEXT, (HANDLE)Marshal.
StringToHGlobalUni
(testString));