19 references to PtrToStringAuto
mscorlib (1)
system\security\principal\windowsidentity.cs (1)
1500
instanceClaims.Add( new Claim(windowsClaim.Name, Marshal.
PtrToStringAuto
(stringPointers[item]), ClaimValueTypes.String, m_issuerName, m_issuerName, this, propertyValue, string.Empty));
PresentationFramework (1)
src\Framework\MS\Internal\Printing\PrintDlgExMarshaler.cs (1)
327
printerName = Marshal.
PtrToStringAuto
(pDevNames + devNamesOffset);
System (4)
compmod\microsoft\win32\SystemEvents.cs (3)
622
if (lParam != IntPtr.Zero && Marshal.
PtrToStringAuto
(lParam).Equals("Policy")) {
625
else if (lParam != IntPtr.Zero && Marshal.
PtrToStringAuto
(lParam).Equals("intl")) {
1445
newString = Marshal.
PtrToStringAuto
(lParam);
services\monitoring\system\diagnosticts\FileVersionInfo.cs (1)
358
data = Marshal.
PtrToStringAuto
(memRef);
System.Core (4)
System\Diagnostics\Eventing\Reader\NativeWrapper.cs (4)
1052
string s = Marshal.
PtrToStringAuto
(pointer);
1089
return Marshal.
PtrToStringAuto
(buffer);
1284
return Marshal.
PtrToStringAuto
(val.StringVal);
1387
stringArray[i] = ansi ? Marshal.PtrToStringAnsi(pointersToString[i]) : Marshal.
PtrToStringAuto
(pointersToString[i]);
System.Drawing (2)
commonui\System\Drawing\Printing\PrinterSettings.cs (2)
258
array[i] = Marshal.
PtrToStringAuto
(namePointer);
1299
string result = Marshal.
PtrToStringAuto
((IntPtr)(checked((long)pDevnames + offset)));
System.Windows.Forms (6)
winforms\Managed\System\WinForms\FolderBrowserDialog.cs (1)
297
selectedPath = Marshal.
PtrToStringAuto
(pszSelectedPath);
winforms\Managed\System\WinForms\NativeWindow.cs (1)
1609
wndclass.lpszMenuName = Marshal.
PtrToStringAuto
(wcls.lpszMenuName);
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
4807
propName = Marshal.
PtrToStringAuto
(cds.lpData);
winforms\Managed\System\WinForms\TreeView.cs (1)
2609
string newText = (nmtvdi.item.pszText == IntPtr.Zero ? null : Marshal.
PtrToStringAuto
(nmtvdi.item.pszText));
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (2)
7606
string path = Marshal.
PtrToStringAuto
(pszPath);
7643
pszPath.Append(Marshal.
PtrToStringAuto
(path));
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\SafeCoTaskMem.cs (1)
37
return Marshal.
PtrToStringAuto
(handle);