21 references to PlatformStringMarshaller
Microsoft.DotNet.NativeWrapper (21)
_generated\0\LibraryImports.g.cs (14)
17__dotnetRoot_native = global::Microsoft.DotNet.NativeWrapper.PlatformStringMarshaller.ConvertToUnmanaged(dotnetRoot); 28global::Microsoft.DotNet.NativeWrapper.PlatformStringMarshaller.Free(__dotnetRoot_native); 63__workingDir_native = global::Microsoft.DotNet.NativeWrapper.PlatformStringMarshaller.ConvertToUnmanaged(workingDir); 64__exeDir_native = global::Microsoft.DotNet.NativeWrapper.PlatformStringMarshaller.ConvertToUnmanaged(exeDir); 75global::Microsoft.DotNet.NativeWrapper.PlatformStringMarshaller.Free(__workingDir_native); 76global::Microsoft.DotNet.NativeWrapper.PlatformStringMarshaller.Free(__exeDir_native); 102__exeDir_native = global::Microsoft.DotNet.NativeWrapper.PlatformStringMarshaller.ConvertToUnmanaged(exeDir); 113global::Microsoft.DotNet.NativeWrapper.PlatformStringMarshaller.Free(__exeDir_native); 199__argv_native__nativeSpan[__i0] = global::Microsoft.DotNet.NativeWrapper.PlatformStringMarshaller.ConvertToUnmanaged(__argv_native__managedSpan[__i0]); 228global::Microsoft.DotNet.NativeWrapper.PlatformStringMarshaller.Free(__argv_native__nativeSpan[__i0]); 273__value_native = global::Microsoft.DotNet.NativeWrapper.PlatformStringMarshaller.ConvertToUnmanaged(value); 274__name_native = global::Microsoft.DotNet.NativeWrapper.PlatformStringMarshaller.ConvertToUnmanaged(name); 282global::Microsoft.DotNet.NativeWrapper.PlatformStringMarshaller.Free(__value_native); 283global::Microsoft.DotNet.NativeWrapper.PlatformStringMarshaller.Free(__name_native);
Interop.cs (6)
259[LibraryImport(Constants.HostFxr, StringMarshalling = StringMarshalling.Custom, StringMarshallingCustomType = typeof(PlatformStringMarshaller))] 345StringMarshallingCustomType = typeof(PlatformStringMarshaller))] 412StringMarshallingCustomType = typeof(PlatformStringMarshaller))] 490StringMarshallingCustomType = typeof(PlatformStringMarshaller))] 500[MarshalUsing(typeof(PlatformStringMarshaller), ElementIndirectionDepth = 1)] 554StringMarshallingCustomType = typeof(PlatformStringMarshaller))]
PlatformStringMarshaller.cs (1)
18[CustomMarshaller(typeof(string), MarshalMode.Default, typeof(PlatformStringMarshaller))]