File: Generated\361d1da7f942c932\Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10.cs
Project: Microsoft.Diagnostics.DataContractReader.Legacy.csproj (Microsoft.Diagnostics.DataContractReader.Legacy)
// <auto-generated />
#pragma warning disable CS0612, CS0618, CS0649, CS1591
 
[global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)]
file struct InterfaceImplementationVtable
{
    public unsafe delegate* unmanaged[MemberFunction]<void*, global::System.Guid*, void**, int> QueryInterface_0;
    public unsafe delegate* unmanaged[MemberFunction]<void*, uint> AddRef_1;
    public unsafe delegate* unmanaged[MemberFunction]<void*, uint> Release_2;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, uint, ulong*, uint*, int> GetObjectComWrappersData_3;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL*, int> IsComWrappersCCW_4;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int*, int> GetComWrappersCCWData_5;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL*, int> IsComWrappersRCW_6;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> GetComWrappersRCWData_7;
}
 
file sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType
{
    public static global::System.Guid Iid { get; } = new([195, 252, 184, 144, 81, 114, 10, 75, 174, 61, 92, 19, 166, 126, 201, 170]);
    public static unsafe void** ManagedVirtualMethodTable
    {
        get
        {
            unsafe
            {
                return (void**)global::System.Runtime.CompilerServices.Unsafe.AsPointer(in InterfaceImplementation.Vtable);
            }
        }
    }
}
 
[global::System.Runtime.InteropServices.DynamicInterfaceCastableImplementationAttribute]
file unsafe interface InterfaceImplementation : global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10
{
    [global::System.Runtime.CompilerServices.FixedAddressValueTypeAttribute]
    public static readonly InterfaceImplementationVtable Vtable;
 
    static InterfaceImplementation()
    {
        unsafe
        {
            global::System.Runtime.InteropServices.ComWrappers.GetIUnknownImpl(
                out *(nint*)&((InterfaceImplementationVtable*)global::System.Runtime.CompilerServices.Unsafe.AsPointer(ref Vtable))->QueryInterface_0,
                out *(nint*)&((InterfaceImplementationVtable*)global::System.Runtime.CompilerServices.Unsafe.AsPointer(ref Vtable))->AddRef_1,
                out *(nint*)&((InterfaceImplementationVtable*)global::System.Runtime.CompilerServices.Unsafe.AsPointer(ref Vtable))->Release_2);
 
            Vtable.GetObjectComWrappersData_3 = &ABI_GetObjectComWrappersData;
            Vtable.IsComWrappersCCW_4 = &ABI_IsComWrappersCCW;
            Vtable.GetComWrappersCCWData_5 = &ABI_GetComWrappersCCWData;
            Vtable.IsComWrappersRCW_6 = &ABI_IsComWrappersRCW;
            Vtable.GetComWrappersRCWData_7 = &ABI_GetComWrappersRCWData;
        }
    }
 
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10.GetObjectComWrappersData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress objAddr, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* rcw, uint count, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress[] mowList, uint* pNeeded)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, uint, ulong*, uint*, int>)__vtable[3]);
            {
                bool __invokeSucceeded = default;
                ulong __objAddr_native = default;
                ulong* __mowList_native = default;
                int __retVal = default;
                // Setup - Perform required setup.
                scoped global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.ManagedToUnmanagedIn __mowList_native__marshaller = new();
                int __mowList_native__numElements;
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __mowList_native__numElements);
                int __mowList_native__lastIndexMarshalled = 0;
                try
                {
                    // Marshal - Convert managed data to native data.
                    __mowList_native__marshaller.FromManaged(mowList, stackalloc ulong[global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.ManagedToUnmanagedIn.BufferSize]);
                    {
                        global::System.ReadOnlySpan<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __mowList_native__managedSpan = __mowList_native__marshaller.GetManagedValuesSource();
                        global::System.Span<ulong> __mowList_native__nativeSpan = __mowList_native__marshaller.GetUnmanagedValuesDestination();
                        for (int __i0 = 0; __i0 < __mowList_native__managedSpan.Length; ++__i0, ++__mowList_native__lastIndexMarshalled)
                        {
                            __mowList_native__nativeSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(__mowList_native__managedSpan[__i0]);
                        }
                    }
                    __objAddr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(objAddr);
                    // Pin - Pin data in preparation for calling the P/Invoke.
                    fixed (void* __mowList_native__unused = __mowList_native__marshaller)
                    {
                        // PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
                        __mowList_native = __mowList_native__marshaller.ToUnmanaged();
                        __retVal = __target(__this, __objAddr_native, rcw, count, __mowList_native, pNeeded);
                    }
                    // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                    global::System.GC.KeepAlive(this);
                    __invokeSucceeded = true;
                    // Unmarshal - Convert native data to managed data.
                    {
                        __mowList_native__numElements = __mowList_native__marshaller.GetManagedValuesSource().Length;
                        global::System.Span<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __mowList_native__managedSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in __mowList_native__marshaller.GetManagedValuesSource().GetPinnableReference()), __mowList_native__numElements);
                        global::System.Span<ulong> __mowList_native__nativeSpan = __mowList_native__marshaller.GetUnmanagedValuesDestination();
                        for (int __i0 = 0; __i0 < __mowList_native__managedSpan.Length; ++__i0)
                        {
                            __mowList_native__managedSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__mowList_native__nativeSpan[__i0]);
                        }
                    }
                }
                finally
                {
                    if (__invokeSucceeded)
                    {
                        // CleanupCalleeAllocated - Perform cleanup of callee allocated resources.
                        _ = __mowList_native__lastIndexMarshalled;
                    }
                    // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                    _ = __mowList_native__lastIndexMarshalled;
                    __mowList_native__marshaller.Free();
                }
                return __retVal;
            }
        }
    }
 
    [global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
    internal static unsafe int ABI_GetObjectComWrappersData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __objAddr_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* rcw, uint count, ulong* __mowList_native, uint* pNeeded)
    {
        unsafe
        {
            global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10 @this = default;
            global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress objAddr = default;
            global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress[] mowList = default;
            int __retVal = default;
            // Setup - Perform required setup.
            int __mowList_native__numElements;
            __mowList_native__numElements = default;
            try
            {
                // Unmarshal - Convert native data to managed data.
                __mowList_native__numElements = checked((int)(count));
                mowList = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.AllocateContainerForManagedElements(__mowList_native, __mowList_native__numElements);
                {
                    global::System.ReadOnlySpan<ulong> __mowList_native__nativeSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetUnmanagedValuesSource(__mowList_native, __mowList_native__numElements);
                    global::System.Span<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __mowList_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetManagedValuesDestination(mowList);
                    for (int __i0 = 0; __i0 < __mowList_native__nativeSpan.Length; ++__i0)
                    {
                        __mowList_native__managedSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__mowList_native__nativeSpan[__i0]);
                    }
                }
                objAddr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__objAddr_native);
                @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10>(__this_native);
                __retVal = @this.GetObjectComWrappersData(objAddr, rcw, count, mowList, pNeeded);
                // Marshal - Convert managed data to native data.
                {
                    __mowList_native__numElements = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetManagedValuesDestination(mowList).Length;
                    global::System.Span<ulong> __mowList_native__nativeSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetUnmanagedValuesSource(__mowList_native, __mowList_native__numElements).GetPinnableReference()), __mowList_native__numElements);
                    global::System.Span<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __mowList_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetManagedValuesDestination(mowList);
                    for (int __i0 = 0; __i0 < __mowList_native__nativeSpan.Length; ++__i0)
                    {
                        ulong __mowList_native__nativeSpan____i0__original = __mowList_native__nativeSpan[__i0];
                        __mowList_native__nativeSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(__mowList_native__managedSpan[__i0]);
                    }
                }
            }
            catch (global::System.Exception __exception)
            {
                __retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
            }
            return __retVal;
        }
    }
 
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10.IsComWrappersCCW(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress ccw, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL* isComWrappersCCW)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL*, int>)__vtable[4]);
            {
                ulong __ccw_native;
                int __retVal;
                // Marshal - Convert managed data to native data.
                __ccw_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(ccw);
                {
                    __retVal = __target(__this, __ccw_native, isComWrappersCCW);
                }
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                global::System.GC.KeepAlive(this);
                return __retVal;
            }
        }
    }
 
    [global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
    internal static unsafe int ABI_IsComWrappersCCW(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __ccw_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL* isComWrappersCCW)
    {
        unsafe
        {
            global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10 @this = default;
            global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress ccw = default;
            int __retVal = default;
            try
            {
                // Unmarshal - Convert native data to managed data.
                ccw = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__ccw_native);
                @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10>(__this_native);
                __retVal = @this.IsComWrappersCCW(ccw, isComWrappersCCW);
            }
            catch (global::System.Exception __exception)
            {
                __retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
            }
            return __retVal;
        }
    }
 
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10.GetComWrappersCCWData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress ccw, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* managedObject, int* refCount)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int*, int>)__vtable[5]);
            {
                ulong __ccw_native;
                int __retVal;
                // Marshal - Convert managed data to native data.
                __ccw_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(ccw);
                {
                    __retVal = __target(__this, __ccw_native, managedObject, refCount);
                }
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                global::System.GC.KeepAlive(this);
                return __retVal;
            }
        }
    }
 
    [global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
    internal static unsafe int ABI_GetComWrappersCCWData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __ccw_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* managedObject, int* refCount)
    {
        unsafe
        {
            global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10 @this = default;
            global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress ccw = default;
            int __retVal = default;
            try
            {
                // Unmarshal - Convert native data to managed data.
                ccw = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__ccw_native);
                @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10>(__this_native);
                __retVal = @this.GetComWrappersCCWData(ccw, managedObject, refCount);
            }
            catch (global::System.Exception __exception)
            {
                __retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
            }
            return __retVal;
        }
    }
 
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10.IsComWrappersRCW(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress rcw, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL* isComWrappersRCW)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL*, int>)__vtable[6]);
            {
                ulong __rcw_native;
                int __retVal;
                // Marshal - Convert managed data to native data.
                __rcw_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(rcw);
                {
                    __retVal = __target(__this, __rcw_native, isComWrappersRCW);
                }
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                global::System.GC.KeepAlive(this);
                return __retVal;
            }
        }
    }
 
    [global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
    internal static unsafe int ABI_IsComWrappersRCW(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __rcw_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL* isComWrappersRCW)
    {
        unsafe
        {
            global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10 @this = default;
            global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress rcw = default;
            int __retVal = default;
            try
            {
                // Unmarshal - Convert native data to managed data.
                rcw = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__rcw_native);
                @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10>(__this_native);
                __retVal = @this.IsComWrappersRCW(rcw, isComWrappersRCW);
            }
            catch (global::System.Exception __exception)
            {
                __retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
            }
            return __retVal;
        }
    }
 
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10.GetComWrappersRCWData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress rcw, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* identity)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int>)__vtable[7]);
            {
                ulong __rcw_native;
                int __retVal;
                // Marshal - Convert managed data to native data.
                __rcw_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(rcw);
                {
                    __retVal = __target(__this, __rcw_native, identity);
                }
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                global::System.GC.KeepAlive(this);
                return __retVal;
            }
        }
    }
 
    [global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
    internal static unsafe int ABI_GetComWrappersRCWData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __rcw_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* identity)
    {
        unsafe
        {
            global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10 @this = default;
            global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress rcw = default;
            int __retVal = default;
            try
            {
                // Unmarshal - Convert native data to managed data.
                rcw = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__rcw_native);
                @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10>(__this_native);
                __retVal = @this.GetComWrappersRCWData(rcw, identity);
            }
            catch (global::System.Exception __exception)
            {
                __retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
            }
            return __retVal;
        }
    }
}
 
namespace Microsoft.Diagnostics.DataContractReader.Legacy
{
    [global::System.Runtime.InteropServices.Marshalling.IUnknownDerivedAttribute<InterfaceInformation, InterfaceImplementation>]
    public unsafe partial interface ISOSDacInterface10
    {
    }
}