11 references to Marshaller
System.Diagnostics.EventLog (11)
_generated\0\LibraryImports.g.cs (9)
1556global::Microsoft.Win32.UnsafeNativeMethods.EvtStringVariant.Marshaller.Native* __values_native = default; 1560scoped global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Win32.UnsafeNativeMethods.EvtStringVariant, global::Microsoft.Win32.UnsafeNativeMethods.EvtStringVariant.Marshaller.Native>.ManagedToUnmanagedIn __values_native__marshaller = new(); 1567__values_native__marshaller.FromManaged(values, stackalloc global::Microsoft.Win32.UnsafeNativeMethods.EvtStringVariant.Marshaller.Native[global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Win32.UnsafeNativeMethods.EvtStringVariant, global::Microsoft.Win32.UnsafeNativeMethods.EvtStringVariant.Marshaller.Native>.ManagedToUnmanagedIn.BufferSize]); 1570global::System.Span<global::Microsoft.Win32.UnsafeNativeMethods.EvtStringVariant.Marshaller.Native> __values_native__nativeSpan = __values_native__marshaller.GetUnmanagedValuesDestination(); 1573__values_native__nativeSpan[__i0] = global::Microsoft.Win32.UnsafeNativeMethods.EvtStringVariant.Marshaller.ConvertToUnmanaged(__values_native__managedSpan[__i0]); 1607global::System.ReadOnlySpan<global::Microsoft.Win32.UnsafeNativeMethods.EvtStringVariant.Marshaller.Native> __values_native__nativeSpan = __values_native__marshaller.GetUnmanagedValuesDestination(); 1610global::Microsoft.Win32.UnsafeNativeMethods.EvtStringVariant.Marshaller.Free(__values_native__nativeSpan[__i0]); 1623static extern unsafe int __PInvoke(nint __publisherMetadataHandle_native, nint __eventHandle_native, uint __messageId_native, int __valueCount_native, global::Microsoft.Win32.UnsafeNativeMethods.EvtStringVariant.Marshaller.Native* __values_native, global::Microsoft.Win32.UnsafeNativeMethods.EvtFormatMessageFlags __flags_native, int __bufferSize_native, char* __buffer_native, int* __bufferUsed_native);
System\Diagnostics\Reader\UnsafeNativeMethods.cs (2)
709[NativeMarshalling(typeof(Marshaller))] 722[CustomMarshaller(typeof(EvtStringVariant), MarshalMode.Default, typeof(Marshaller))]