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