9 references to PtrToStringAuto
PresentationFramework (1)
MS\Internal\Printing\PrintDlgExMarshaler.cs (1)
278printerName = Marshal.PtrToStringAuto(pDevNames + devNamesOffset);
PresentationUI (1)
MS\Internal\Documents\PeoplePickerWrapper.cs (1)
422return Marshal.PtrToStringAuto(nameOffset);
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\Internal\Runtime\InteropServices\ComponentActivator.cs (1)
41string? result = Marshal.PtrToStringAuto(arg);
src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyDependencyResolver.cs (4)
48var errorWriter = new Interop.HostPolicy.corehost_error_writer_fn(message => errorMessage.AppendLine(Marshal.PtrToStringAuto(message))); 61assemblyPathsList = Marshal.PtrToStringAuto(assemblyPaths); 62nativeSearchPathsList = Marshal.PtrToStringAuto(nativeSearchPaths); 63resourceSearchPathsList = Marshal.PtrToStringAuto(resourceSearchPaths);
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
4313_propertyName = Marshal.PtrToStringAuto((nint)cds->lpData);
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\SafeCoTaskMem.cs (1)
23return Marshal.PtrToStringAuto(handle);