File: _generated\50\Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.cs
Web Access
Project: src\src\runtime\src\native\managed\cdac\Microsoft.Diagnostics.DataContractReader.Legacy\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 unsafe struct InterfaceImplementationVtable
{
    public delegate* unmanaged[MemberFunction]<void*, global::System.Guid*, void**, int> QueryInterface_0;
    public delegate* unmanaged[MemberFunction]<void*, uint> AddRef_1;
    public delegate* unmanaged[MemberFunction]<void*, uint> Release_2;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int> Flush_3;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, int> StartEnumTasks_4;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, void**, int> EnumTask_5;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int> EndEnumTasks_6;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, void**, int> GetTaskByOSThreadID_7;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, void**, int> GetTaskByUniqueID_8;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint*, int> GetFlags_9;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess*, int> IsSameObject_10;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void**, int> GetManagedObject_11;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint*, int> GetDesiredExecutionState_12;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, int> SetDesiredExecutionState_13;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint*, int> GetAddressType_14;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, uint, uint*, char*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> GetRuntimeNameByAddress_15;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, int> StartEnumAppDomains_16;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, void**, int> EnumAppDomain_17;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int> EndEnumAppDomains_18;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, void**, int> GetAppDomainByUniqueID_19;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, int> StartEnumAssemblies_20;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, void**, int> EnumAssembly_21;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int> EndEnumAssemblies_22;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, int> StartEnumModules_23;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, void**, int> EnumModule_24;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int> EndEnumModules_25;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, void**, int> GetModuleByAddress_26;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, void*, ulong*, int> StartEnumMethodInstancesByAddress_27;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, void**, int> EnumMethodInstanceByAddress_28;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int> EndEnumMethodInstancesByAddress_29;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, void*, void*, uint, uint*, char*, void**, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> GetDataByAddress_30;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.EXCEPTION_RECORD64*, void**, int> GetExceptionStateByExceptionRecord_31;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.EXCEPTION_RECORD64*, void*, int> TranslateExceptionRecordToNotification_32;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, uint, byte*, uint, byte*, int> Request_33;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, void*, void*, ulong, void**, int> CreateMemoryValue_34;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, uint, int> SetAllTypeNotifications_35;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, uint, int> SetAllCodeNotifications_36;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, void**, void*, uint*, uint*, int> GetTypeNotifications_37;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, void**, void*, uint*, uint*, uint, int> SetTypeNotifications_38;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, void**, void*, uint*, uint*, int> GetCodeNotifications_39;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, void**, void*, uint*, uint*, uint, int> SetCodeNotifications_40;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint*, int> GetOtherNotificationFlags_41;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, int> SetOtherNotificationFlags_42;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, ulong*, int> StartEnumMethodDefinitionsByAddress_43;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, void**, int> EnumMethodDefinitionByAddress_44;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int> EndEnumMethodDefinitionsByAddress_45;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, ulong, void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, void*, uint*, int> FollowStub_46;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, uint, ulong, void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, void*, uint*, int> FollowStub2_47;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, char*, void*, void*, void*, int> DumpNativeImage_48;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.GcEvtArgs*, int> GetGcNotification_49;
    public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.GcEvtArgs, int> SetGcNotification_50;
}

file unsafe sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType
{
    public static global::System.Guid Iid { get; } = new([182, 42, 85, 92, 9, 252, 179, 76, 142, 54, 34, 250, 3, 199, 152, 184]);
    public static void** ManagedVirtualMethodTable => (void**)global::System.Runtime.CompilerServices.Unsafe.AsPointer(in InterfaceImplementation.Vtable);
}

[global::System.Runtime.InteropServices.DynamicInterfaceCastableImplementationAttribute]
file unsafe interface InterfaceImplementation : global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2
{
    [global::System.Runtime.CompilerServices.FixedAddressValueTypeAttribute]
    public static readonly InterfaceImplementationVtable Vtable;

    static InterfaceImplementation()
    {
        global::System.Runtime.InteropServices.NativeMemory.Copy(
            global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess).TypeHandle).ManagedVirtualMethodTable,
            global::System.Runtime.CompilerServices.Unsafe.AsPointer(ref Vtable),
            (nuint)(sizeof(void*) * 49));

        Vtable.GetGcNotification_49 = &ABI_GetGcNotification;
        Vtable.SetGcNotification_50 = &ABI_SetGcNotification;
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.GetGcNotification(global::Microsoft.Diagnostics.DataContractReader.Legacy.GcEvtArgs* gcEvtArgs)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.GcEvtArgs*, int> )__vtable[49]);
        {
            int __retVal;
            {
                __retVal = __target(__this, gcEvtArgs);
            }
    
            // 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 int ABI_GetGcNotification(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.GcEvtArgs* gcEvtArgs)
    {
        global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2 @this = default;
        int __retVal = default;
        try
        {
            // Unmarshal - Convert native data to managed data.
            @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2>(__this_native);
            __retVal = @this.GetGcNotification(gcEvtArgs);
        }
        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", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.SetGcNotification(global::Microsoft.Diagnostics.DataContractReader.Legacy.GcEvtArgs gcEvtArgs)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.GcEvtArgs, int> )__vtable[50]);
        {
            int __retVal;
            {
                __retVal = __target(__this, gcEvtArgs);
            }
    
            // 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 int ABI_SetGcNotification(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.GcEvtArgs gcEvtArgs)
    {
        global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2 @this = default;
        int __retVal = default;
        try
        {
            // Unmarshal - Convert native data to managed data.
            @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2>(__this_native);
            __retVal = @this.SetGcNotification(gcEvtArgs);
        }
        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", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.Flush()
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, int> )__vtable[3]);
        {
            int __retVal;
            {
                __retVal = __target(__this);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.StartEnumTasks(ulong* handle)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, int> )__vtable[4]);
        {
            int __retVal;
            {
                __retVal = __target(__this, handle);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.EnumTask(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask> task)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, void**, int> )__vtable[5]);
        {
            void** __task_native = default;
            int __retVal = default;
            // Setup - Perform required setup.
            global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask>.ManagedToUnmanaged __task_native__marshaller = new();
            try
            {
                // Marshal - Convert managed data to native data.
                __task_native__marshaller.FromManaged(task);
                {
                    // PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
                    __task_native = __task_native__marshaller.ToUnmanaged();
                    __retVal = __target(__this, handle, __task_native);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                __task_native__marshaller.OnInvoked();
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                __task_native__marshaller.Free();
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.EndEnumTasks(ulong handle)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int> )__vtable[6]);
        {
            int __retVal;
            {
                __retVal = __target(__this, handle);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.GetTaskByOSThreadID(uint osThreadID, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask> task)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, void**, int> )__vtable[7]);
        {
            void** __task_native = default;
            int __retVal = default;
            // Setup - Perform required setup.
            global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask>.ManagedToUnmanaged __task_native__marshaller = new();
            try
            {
                // Marshal - Convert managed data to native data.
                __task_native__marshaller.FromManaged(task);
                {
                    // PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
                    __task_native = __task_native__marshaller.ToUnmanaged();
                    __retVal = __target(__this, osThreadID, __task_native);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                __task_native__marshaller.OnInvoked();
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                __task_native__marshaller.Free();
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.GetTaskByUniqueID(ulong taskID, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask> task)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, void**, int> )__vtable[8]);
        {
            void** __task_native = default;
            int __retVal = default;
            // Setup - Perform required setup.
            global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask>.ManagedToUnmanaged __task_native__marshaller = new();
            try
            {
                // Marshal - Convert managed data to native data.
                __task_native__marshaller.FromManaged(task);
                {
                    // PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
                    __task_native = __task_native__marshaller.ToUnmanaged();
                    __retVal = __target(__this, taskID, __task_native);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                __task_native__marshaller.OnInvoked();
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                __task_native__marshaller.Free();
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.GetFlags(uint* flags)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, uint*, int> )__vtable[9]);
        {
            int __retVal;
            {
                __retVal = __target(__this, flags);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.IsSameObject(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess* process)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess*, int> )__vtable[10]);
        {
            int __retVal;
            {
                __retVal = __target(__this, process);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.GetManagedObject(global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataValue> value)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, void**, int> )__vtable[11]);
        {
            void** __value_native = default;
            int __retVal = default;
            // Setup - Perform required setup.
            global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataValue>.ManagedToUnmanaged __value_native__marshaller = new();
            try
            {
                // Marshal - Convert managed data to native data.
                __value_native__marshaller.FromManaged(value);
                {
                    // PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
                    __value_native = __value_native__marshaller.ToUnmanaged();
                    __retVal = __target(__this, __value_native);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                __value_native__marshaller.OnInvoked();
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                __value_native__marshaller.Free();
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.GetDesiredExecutionState(uint* state)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, uint*, int> )__vtable[12]);
        {
            int __retVal;
            {
                __retVal = __target(__this, state);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.SetDesiredExecutionState(uint state)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, int> )__vtable[13]);
        {
            int __retVal;
            {
                __retVal = __target(__this, state);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.GetAddressType(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress address, uint* type)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint*, int> )__vtable[14]);
        {
            ulong __address_native;
            int __retVal;
            // Marshal - Convert managed data to native data.
            __address_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(address);
            {
                __retVal = __target(__this, __address_native, type);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.GetRuntimeNameByAddress(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress address, uint flags, uint bufLen, uint* nameLen, char* nameBuf, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* displacement)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, uint, uint*, char*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> )__vtable[15]);
        {
            ulong __address_native;
            int __retVal;
            // Marshal - Convert managed data to native data.
            __address_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(address);
            {
                __retVal = __target(__this, __address_native, flags, bufLen, nameLen, nameBuf, displacement);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.StartEnumAppDomains(ulong* handle)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, int> )__vtable[16]);
        {
            int __retVal;
            {
                __retVal = __target(__this, handle);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.EnumAppDomain(ulong* handle, void** appDomain)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, void**, int> )__vtable[17]);
        {
            int __retVal;
            {
                __retVal = __target(__this, handle, appDomain);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.EndEnumAppDomains(ulong handle)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int> )__vtable[18]);
        {
            int __retVal;
            {
                __retVal = __target(__this, handle);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.GetAppDomainByUniqueID(ulong id, void** appDomain)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, void**, int> )__vtable[19]);
        {
            int __retVal;
            {
                __retVal = __target(__this, id, appDomain);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.StartEnumAssemblies(ulong* handle)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, int> )__vtable[20]);
        {
            int __retVal;
            {
                __retVal = __target(__this, handle);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.EnumAssembly(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAssembly> assembly)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, void**, int> )__vtable[21]);
        {
            void** __assembly_native = default;
            int __retVal = default;
            // Setup - Perform required setup.
            global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAssembly>.ManagedToUnmanaged __assembly_native__marshaller = new();
            try
            {
                // Marshal - Convert managed data to native data.
                __assembly_native__marshaller.FromManaged(assembly);
                {
                    // PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
                    __assembly_native = __assembly_native__marshaller.ToUnmanaged();
                    __retVal = __target(__this, handle, __assembly_native);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                __assembly_native__marshaller.OnInvoked();
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                __assembly_native__marshaller.Free();
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.EndEnumAssemblies(ulong handle)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int> )__vtable[22]);
        {
            int __retVal;
            {
                __retVal = __target(__this, handle);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.StartEnumModules(ulong* handle)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, int> )__vtable[23]);
        {
            int __retVal;
            {
                __retVal = __target(__this, handle);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.EnumModule(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule> mod)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, void**, int> )__vtable[24]);
        {
            void** __mod_native = default;
            int __retVal = default;
            // Setup - Perform required setup.
            global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>.ManagedToUnmanaged __mod_native__marshaller = new();
            try
            {
                // Marshal - Convert managed data to native data.
                __mod_native__marshaller.FromManaged(mod);
                {
                    // PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
                    __mod_native = __mod_native__marshaller.ToUnmanaged();
                    __retVal = __target(__this, handle, __mod_native);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                __mod_native__marshaller.OnInvoked();
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                __mod_native__marshaller.Free();
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.EndEnumModules(ulong handle)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int> )__vtable[25]);
        {
            int __retVal;
            {
                __retVal = __target(__this, handle);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.GetModuleByAddress(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress address, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule> mod)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, void**, int> )__vtable[26]);
        {
            ulong __address_native = default;
            void** __mod_native = default;
            int __retVal = default;
            // Setup - Perform required setup.
            global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>.ManagedToUnmanaged __mod_native__marshaller = new();
            try
            {
                // Marshal - Convert managed data to native data.
                __mod_native__marshaller.FromManaged(mod);
                __address_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(address);
                {
                    // PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
                    __mod_native = __mod_native__marshaller.ToUnmanaged();
                    __retVal = __target(__this, __address_native, __mod_native);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                __mod_native__marshaller.OnInvoked();
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                __mod_native__marshaller.Free();
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.StartEnumMethodInstancesByAddress(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress address, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain appDomain, ulong* handle)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, void*, ulong*, int> )__vtable[27]);
        {
            ulong __address_native = default;
            void* __appDomain_native = default;
            int __retVal = default;
            try
            {
                // Marshal - Convert managed data to native data.
                __appDomain_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain>.ConvertToUnmanaged(appDomain);
                __address_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(address);
                {
                    __retVal = __target(__this, __address_native, __appDomain_native, handle);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain>.Free(__appDomain_native);
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.EnumMethodInstanceByAddress(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance> method)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, void**, int> )__vtable[28]);
        {
            void** __method_native = default;
            int __retVal = default;
            // Setup - Perform required setup.
            global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance>.ManagedToUnmanaged __method_native__marshaller = new();
            try
            {
                // Marshal - Convert managed data to native data.
                __method_native__marshaller.FromManaged(method);
                {
                    // PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
                    __method_native = __method_native__marshaller.ToUnmanaged();
                    __retVal = __target(__this, handle, __method_native);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                __method_native__marshaller.OnInvoked();
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                __method_native__marshaller.Free();
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.EndEnumMethodInstancesByAddress(ulong handle)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int> )__vtable[29]);
        {
            int __retVal;
            {
                __retVal = __target(__this, handle);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.GetDataByAddress(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress address, uint flags, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain appDomain, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask tlsTask, uint bufLen, uint* nameLen, char* nameBuf, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataValue> value, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* displacement)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, void*, void*, uint, uint*, char*, void**, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> )__vtable[30]);
        {
            ulong __address_native = default;
            void* __appDomain_native = default;
            void* __tlsTask_native = default;
            void** __value_native = default;
            int __retVal = default;
            // Setup - Perform required setup.
            global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataValue>.ManagedToUnmanaged __value_native__marshaller = new();
            try
            {
                // Marshal - Convert managed data to native data.
                __value_native__marshaller.FromManaged(value);
                __tlsTask_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask>.ConvertToUnmanaged(tlsTask);
                __appDomain_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain>.ConvertToUnmanaged(appDomain);
                __address_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(address);
                {
                    // PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
                    __value_native = __value_native__marshaller.ToUnmanaged();
                    __retVal = __target(__this, __address_native, flags, __appDomain_native, __tlsTask_native, bufLen, nameLen, nameBuf, __value_native, displacement);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                __value_native__marshaller.OnInvoked();
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                __value_native__marshaller.Free();
                global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask>.Free(__tlsTask_native);
                global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain>.Free(__appDomain_native);
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.GetExceptionStateByExceptionRecord(global::Microsoft.Diagnostics.DataContractReader.Legacy.EXCEPTION_RECORD64* record, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionState> exState)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.EXCEPTION_RECORD64*, void**, int> )__vtable[31]);
        {
            void** __exState_native = default;
            int __retVal = default;
            // Setup - Perform required setup.
            global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionState>.ManagedToUnmanaged __exState_native__marshaller = new();
            try
            {
                // Marshal - Convert managed data to native data.
                __exState_native__marshaller.FromManaged(exState);
                {
                    // PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
                    __exState_native = __exState_native__marshaller.ToUnmanaged();
                    __retVal = __target(__this, record, __exState_native);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                __exState_native__marshaller.OnInvoked();
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                __exState_native__marshaller.Free();
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.TranslateExceptionRecordToNotification(global::Microsoft.Diagnostics.DataContractReader.Legacy.EXCEPTION_RECORD64* record, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification notify)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.EXCEPTION_RECORD64*, void*, int> )__vtable[32]);
        {
            void* __notify_native = default;
            int __retVal = default;
            try
            {
                // Marshal - Convert managed data to native data.
                __notify_native = (void*)global::System.Runtime.InteropServices.Marshalling.UniqueComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification>.ConvertToUnmanaged(notify);
                {
                    __retVal = __target(__this, record, __notify_native);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                global::System.Runtime.InteropServices.Marshalling.UniqueComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification>.Free(__notify_native);
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.Request(uint reqCode, uint inBufferSize, byte* inBuffer, uint outBufferSize, byte* outBuffer)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, uint, byte*, uint, byte*, int> )__vtable[33]);
        {
            int __retVal;
            {
                __retVal = __target(__this, reqCode, inBufferSize, inBuffer, outBufferSize, outBuffer);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.CreateMemoryValue(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain appDomain, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask tlsTask, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeInstance type, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataValue> value)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, void*, void*, ulong, void**, int> )__vtable[34]);
        {
            void* __appDomain_native = default;
            void* __tlsTask_native = default;
            void* __type_native = default;
            ulong __addr_native = default;
            void** __value_native = default;
            int __retVal = default;
            // Setup - Perform required setup.
            global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataValue>.ManagedToUnmanaged __value_native__marshaller = new();
            try
            {
                // Marshal - Convert managed data to native data.
                __value_native__marshaller.FromManaged(value);
                __addr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(addr);
                __type_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeInstance>.ConvertToUnmanaged(type);
                __tlsTask_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask>.ConvertToUnmanaged(tlsTask);
                __appDomain_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain>.ConvertToUnmanaged(appDomain);
                {
                    // PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
                    __value_native = __value_native__marshaller.ToUnmanaged();
                    __retVal = __target(__this, __appDomain_native, __tlsTask_native, __type_native, __addr_native, __value_native);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                __value_native__marshaller.OnInvoked();
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                __value_native__marshaller.Free();
                global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeInstance>.Free(__type_native);
                global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask>.Free(__tlsTask_native);
                global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain>.Free(__appDomain_native);
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.SetAllTypeNotifications(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule mod, uint flags)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, uint, int> )__vtable[35]);
        {
            void* __mod_native = default;
            int __retVal = default;
            try
            {
                // Marshal - Convert managed data to native data.
                __mod_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>.ConvertToUnmanaged(mod);
                {
                    __retVal = __target(__this, __mod_native, flags);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>.Free(__mod_native);
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.SetAllCodeNotifications(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule mod, uint flags)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, uint, int> )__vtable[36]);
        {
            void* __mod_native = default;
            int __retVal = default;
            try
            {
                // Marshal - Convert managed data to native data.
                __mod_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>.ConvertToUnmanaged(mod);
                {
                    __retVal = __target(__this, __mod_native, flags);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>.Free(__mod_native);
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.GetTypeNotifications(uint numTokens, void** mods, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule singleMod, uint[] tokens, uint[] flags)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, void**, void*, uint*, uint*, int> )__vtable[37]);
        {
            void* __singleMod_native = default;
            int __retVal = default;
            try
            {
                // Marshal - Convert managed data to native data.
                __singleMod_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>.ConvertToUnmanaged(singleMod);
                // Pin - Pin data in preparation for calling the P/Invoke.
                fixed (void* __flags_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<uint, uint>.ManagedToUnmanagedIn.GetPinnableReference(flags))
                fixed (void* __tokens_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<uint, uint>.ManagedToUnmanagedIn.GetPinnableReference(tokens))
                {
                    __retVal = __target(__this, numTokens, mods, __singleMod_native, (uint*)__tokens_native, (uint*)__flags_native);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>.Free(__singleMod_native);
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.SetTypeNotifications(uint numTokens, void** mods, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule singleMod, uint[] tokens, uint[] flags, uint singleFlags)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, void**, void*, uint*, uint*, uint, int> )__vtable[38]);
        {
            void* __singleMod_native = default;
            int __retVal = default;
            try
            {
                // Marshal - Convert managed data to native data.
                __singleMod_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>.ConvertToUnmanaged(singleMod);
                // Pin - Pin data in preparation for calling the P/Invoke.
                fixed (void* __flags_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<uint, uint>.ManagedToUnmanagedIn.GetPinnableReference(flags))
                fixed (void* __tokens_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<uint, uint>.ManagedToUnmanagedIn.GetPinnableReference(tokens))
                {
                    __retVal = __target(__this, numTokens, mods, __singleMod_native, (uint*)__tokens_native, (uint*)__flags_native, singleFlags);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>.Free(__singleMod_native);
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.GetCodeNotifications(uint numTokens, void** mods, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule singleMod, uint[] tokens, uint[] flags)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, void**, void*, uint*, uint*, int> )__vtable[39]);
        {
            void* __singleMod_native = default;
            int __retVal = default;
            try
            {
                // Marshal - Convert managed data to native data.
                __singleMod_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>.ConvertToUnmanaged(singleMod);
                // Pin - Pin data in preparation for calling the P/Invoke.
                fixed (void* __flags_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<uint, uint>.ManagedToUnmanagedIn.GetPinnableReference(flags))
                fixed (void* __tokens_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<uint, uint>.ManagedToUnmanagedIn.GetPinnableReference(tokens))
                {
                    __retVal = __target(__this, numTokens, mods, __singleMod_native, (uint*)__tokens_native, (uint*)__flags_native);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>.Free(__singleMod_native);
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.SetCodeNotifications(uint numTokens, void** mods, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule singleMod, uint[] tokens, uint[] flags, uint singleFlags)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, void**, void*, uint*, uint*, uint, int> )__vtable[40]);
        {
            void* __singleMod_native = default;
            int __retVal = default;
            try
            {
                // Marshal - Convert managed data to native data.
                __singleMod_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>.ConvertToUnmanaged(singleMod);
                // Pin - Pin data in preparation for calling the P/Invoke.
                fixed (void* __flags_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<uint, uint>.ManagedToUnmanagedIn.GetPinnableReference(flags))
                fixed (void* __tokens_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<uint, uint>.ManagedToUnmanagedIn.GetPinnableReference(tokens))
                {
                    __retVal = __target(__this, numTokens, mods, __singleMod_native, (uint*)__tokens_native, (uint*)__flags_native, singleFlags);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>.Free(__singleMod_native);
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.GetOtherNotificationFlags(uint* flags)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, uint*, int> )__vtable[41]);
        {
            int __retVal;
            {
                __retVal = __target(__this, flags);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.SetOtherNotificationFlags(uint flags)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, int> )__vtable[42]);
        {
            int __retVal;
            {
                __retVal = __target(__this, flags);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.StartEnumMethodDefinitionsByAddress(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress address, ulong* handle)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, ulong*, int> )__vtable[43]);
        {
            ulong __address_native;
            int __retVal;
            // Marshal - Convert managed data to native data.
            __address_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(address);
            {
                __retVal = __target(__this, __address_native, handle);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.EnumMethodDefinitionByAddress(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodDefinition> method)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, void**, int> )__vtable[44]);
        {
            void** __method_native = default;
            int __retVal = default;
            // Setup - Perform required setup.
            global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodDefinition>.ManagedToUnmanaged __method_native__marshaller = new();
            try
            {
                // Marshal - Convert managed data to native data.
                __method_native__marshaller.FromManaged(method);
                {
                    // PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
                    __method_native = __method_native__marshaller.ToUnmanaged();
                    __retVal = __target(__this, handle, __method_native);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                __method_native__marshaller.OnInvoked();
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                __method_native__marshaller.Free();
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.EndEnumMethodDefinitionsByAddress(ulong handle)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int> )__vtable[45]);
        {
            int __retVal;
            {
                __retVal = __target(__this, handle);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.FollowStub(uint inFlags, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress inAddr, void* inBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* outAddr, void* outBuffer, uint* outFlags)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, ulong, void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, void*, uint*, int> )__vtable[46]);
        {
            ulong __inAddr_native;
            int __retVal;
            // Marshal - Convert managed data to native data.
            __inAddr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(inAddr);
            {
                __retVal = __target(__this, inFlags, __inAddr_native, inBuffer, outAddr, outBuffer, outFlags);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.FollowStub2(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask task, uint inFlags, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress inAddr, void* inBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* outAddr, void* outBuffer, uint* outFlags)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, uint, ulong, void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, void*, uint*, int> )__vtable[47]);
        {
            void* __task_native = default;
            ulong __inAddr_native = default;
            int __retVal = default;
            try
            {
                // Marshal - Convert managed data to native data.
                __inAddr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(inAddr);
                __task_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask>.ConvertToUnmanaged(task);
                {
                    __retVal = __target(__this, __task_native, inFlags, __inAddr_native, inBuffer, outAddr, outBuffer, outFlags);
                }
    
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                global::System.GC.KeepAlive(this);
            }
            finally
            {
                // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask>.Free(__task_native);
            }
    
            return __retVal;
        }
    }

    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.DumpNativeImage(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress loadedBase, char* name, void* display, void* libSupport, void* dis)
    {
        var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2));
        var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, char*, void*, void*, void*, int> )__vtable[48]);
        {
            ulong __loadedBase_native;
            int __retVal;
            // Marshal - Convert managed data to native data.
            __loadedBase_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(loadedBase);
            {
                __retVal = __target(__this, __loadedBase_native, name, display, libSupport, dis);
            }
    
            // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
            global::System.GC.KeepAlive(this);
            return __retVal;
        }
    }

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.Flush() => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.StartEnumTasks(ulong* handle) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.EnumTask(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask> task) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.EndEnumTasks(ulong handle) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.GetTaskByOSThreadID(uint osThreadID, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask> task) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.GetTaskByUniqueID(ulong taskID, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask> task) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.GetFlags(uint* flags) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.IsSameObject(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess* process) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.GetManagedObject(global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataValue> value) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.GetDesiredExecutionState(uint* state) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.SetDesiredExecutionState(uint state) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.GetAddressType(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress address, uint* type) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.GetRuntimeNameByAddress(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress address, uint flags, uint bufLen, uint* nameLen, char* nameBuf, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* displacement) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.StartEnumAppDomains(ulong* handle) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.EnumAppDomain(ulong* handle, void** appDomain) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.EndEnumAppDomains(ulong handle) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.GetAppDomainByUniqueID(ulong id, void** appDomain) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.StartEnumAssemblies(ulong* handle) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.EnumAssembly(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAssembly> assembly) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.EndEnumAssemblies(ulong handle) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.StartEnumModules(ulong* handle) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.EnumModule(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule> mod) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.EndEnumModules(ulong handle) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.GetModuleByAddress(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress address, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule> mod) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.StartEnumMethodInstancesByAddress(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress address, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain appDomain, ulong* handle) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.EnumMethodInstanceByAddress(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance> method) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.EndEnumMethodInstancesByAddress(ulong handle) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.GetDataByAddress(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress address, uint flags, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain appDomain, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask tlsTask, uint bufLen, uint* nameLen, char* nameBuf, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataValue> value, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* displacement) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.GetExceptionStateByExceptionRecord(global::Microsoft.Diagnostics.DataContractReader.Legacy.EXCEPTION_RECORD64* record, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionState> exState) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.TranslateExceptionRecordToNotification(global::Microsoft.Diagnostics.DataContractReader.Legacy.EXCEPTION_RECORD64* record, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification notify) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.Request(uint reqCode, uint inBufferSize, byte* inBuffer, uint outBufferSize, byte* outBuffer) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.CreateMemoryValue(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain appDomain, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask tlsTask, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeInstance type, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataValue> value) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.SetAllTypeNotifications(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule mod, uint flags) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.SetAllCodeNotifications(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule mod, uint flags) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.GetTypeNotifications(uint numTokens, void** mods, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule singleMod, uint[] tokens, uint[] flags) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.SetTypeNotifications(uint numTokens, void** mods, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule singleMod, uint[] tokens, uint[] flags, uint singleFlags) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.GetCodeNotifications(uint numTokens, void** mods, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule singleMod, uint[] tokens, uint[] flags) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.SetCodeNotifications(uint numTokens, void** mods, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule singleMod, uint[] tokens, uint[] flags, uint singleFlags) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.GetOtherNotificationFlags(uint* flags) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.SetOtherNotificationFlags(uint flags) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.StartEnumMethodDefinitionsByAddress(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress address, ulong* handle) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.EnumMethodDefinitionByAddress(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodDefinition> method) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.EndEnumMethodDefinitionsByAddress(ulong handle) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.FollowStub(uint inFlags, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress inAddr, void* inBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* outAddr, void* outBuffer, uint* outFlags) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.FollowStub2(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask task, uint inFlags, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress inAddr, void* inBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* outAddr, void* outBuffer, uint* outFlags) => throw new global::System.Diagnostics.UnreachableException();

    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess.DumpNativeImage(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress loadedBase, char* name, void* display, void* libSupport, void* dis) => throw new global::System.Diagnostics.UnreachableException();
}

namespace Microsoft.Diagnostics.DataContractReader.Legacy
{
    [global::System.Runtime.InteropServices.Marshalling.IUnknownDerivedAttribute<InterfaceInformation, InterfaceImplementation>]
    public unsafe partial interface IXCLRDataProcess2
    {
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int Flush() => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).Flush();
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int StartEnumTasks(ulong* handle) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).StartEnumTasks(handle);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int EnumTask(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask> task) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).EnumTask(handle, task);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int EndEnumTasks(ulong handle) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).EndEnumTasks(handle);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetTaskByOSThreadID(uint osThreadID, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask> task) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).GetTaskByOSThreadID(osThreadID, task);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetTaskByUniqueID(ulong taskID, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask> task) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).GetTaskByUniqueID(taskID, task);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetFlags(uint* flags) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).GetFlags(flags);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int IsSameObject(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess* process) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).IsSameObject(process);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetManagedObject(global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataValue> value) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).GetManagedObject(value);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetDesiredExecutionState(uint* state) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).GetDesiredExecutionState(state);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int SetDesiredExecutionState(uint state) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).SetDesiredExecutionState(state);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetAddressType(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress address, uint* type) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).GetAddressType(address, type);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetRuntimeNameByAddress(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress address, uint flags, uint bufLen, uint* nameLen, char* nameBuf, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* displacement) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).GetRuntimeNameByAddress(address, flags, bufLen, nameLen, nameBuf, displacement);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int StartEnumAppDomains(ulong* handle) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).StartEnumAppDomains(handle);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int EnumAppDomain(ulong* handle, void** appDomain) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).EnumAppDomain(handle, appDomain);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int EndEnumAppDomains(ulong handle) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).EndEnumAppDomains(handle);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetAppDomainByUniqueID(ulong id, void** appDomain) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).GetAppDomainByUniqueID(id, appDomain);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int StartEnumAssemblies(ulong* handle) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).StartEnumAssemblies(handle);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int EnumAssembly(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAssembly> assembly) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).EnumAssembly(handle, assembly);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int EndEnumAssemblies(ulong handle) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).EndEnumAssemblies(handle);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int StartEnumModules(ulong* handle) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).StartEnumModules(handle);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int EnumModule(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule> mod) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).EnumModule(handle, mod);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int EndEnumModules(ulong handle) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).EndEnumModules(handle);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetModuleByAddress(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress address, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule> mod) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).GetModuleByAddress(address, mod);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int StartEnumMethodInstancesByAddress(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress address, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain appDomain, ulong* handle) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).StartEnumMethodInstancesByAddress(address, appDomain, handle);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int EnumMethodInstanceByAddress(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance> method) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).EnumMethodInstanceByAddress(handle, method);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int EndEnumMethodInstancesByAddress(ulong handle) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).EndEnumMethodInstancesByAddress(handle);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetDataByAddress(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress address, uint flags, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain appDomain, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask tlsTask, uint bufLen, uint* nameLen, char* nameBuf, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataValue> value, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* displacement) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).GetDataByAddress(address, flags, appDomain, tlsTask, bufLen, nameLen, nameBuf, value, displacement);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetExceptionStateByExceptionRecord(global::Microsoft.Diagnostics.DataContractReader.Legacy.EXCEPTION_RECORD64* record, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionState> exState) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).GetExceptionStateByExceptionRecord(record, exState);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int TranslateExceptionRecordToNotification(global::Microsoft.Diagnostics.DataContractReader.Legacy.EXCEPTION_RECORD64* record, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification notify) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).TranslateExceptionRecordToNotification(record, notify);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int Request(uint reqCode, uint inBufferSize, byte* inBuffer, uint outBufferSize, byte* outBuffer) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).Request(reqCode, inBufferSize, inBuffer, outBufferSize, outBuffer);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int CreateMemoryValue(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain appDomain, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask tlsTask, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeInstance type, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataValue> value) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).CreateMemoryValue(appDomain, tlsTask, type, addr, value);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int SetAllTypeNotifications(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule mod, uint flags) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).SetAllTypeNotifications(mod, flags);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int SetAllCodeNotifications(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule mod, uint flags) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).SetAllCodeNotifications(mod, flags);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetTypeNotifications(uint numTokens, void** mods, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule singleMod, uint[] tokens, uint[] flags) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).GetTypeNotifications(numTokens, mods, singleMod, tokens, flags);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int SetTypeNotifications(uint numTokens, void** mods, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule singleMod, uint[] tokens, uint[] flags, uint singleFlags) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).SetTypeNotifications(numTokens, mods, singleMod, tokens, flags, singleFlags);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetCodeNotifications(uint numTokens, void** mods, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule singleMod, uint[] tokens, uint[] flags) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).GetCodeNotifications(numTokens, mods, singleMod, tokens, flags);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int SetCodeNotifications(uint numTokens, void** mods, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule singleMod, uint[] tokens, uint[] flags, uint singleFlags) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).SetCodeNotifications(numTokens, mods, singleMod, tokens, flags, singleFlags);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetOtherNotificationFlags(uint* flags) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).GetOtherNotificationFlags(flags);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int SetOtherNotificationFlags(uint flags) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).SetOtherNotificationFlags(flags);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int StartEnumMethodDefinitionsByAddress(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress address, ulong* handle) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).StartEnumMethodDefinitionsByAddress(address, handle);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int EnumMethodDefinitionByAddress(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodDefinition> method) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).EnumMethodDefinitionByAddress(handle, method);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int EndEnumMethodDefinitionsByAddress(ulong handle) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).EndEnumMethodDefinitionsByAddress(handle);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int FollowStub(uint inFlags, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress inAddr, void* inBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* outAddr, void* outBuffer, uint* outFlags) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).FollowStub(inFlags, inAddr, inBuffer, outAddr, outBuffer, outFlags);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int FollowStub2(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask task, uint inFlags, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress inAddr, void* inBuffer, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* outAddr, void* outBuffer, uint* outFlags) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).FollowStub2(task, inFlags, inAddr, inBuffer, outAddr, outBuffer, outFlags);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int DumpNativeImage(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress loadedBase, char* name, void* display, void* libSupport, void* dis) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess)this).DumpNativeImage(loadedBase, name, display, libSupport, dis);
    }
}