File: Generated\361d1da7f942c932\Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3.cs
Project: Microsoft.Diagnostics.DataContractReader.Legacy.csproj (Microsoft.Diagnostics.DataContractReader.Legacy)
// <auto-generated />
#pragma warning disable CS0612, CS0618, CS0649, CS1591
 
[global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)]
file struct InterfaceImplementationVtable
{
    public unsafe delegate* unmanaged[MemberFunction]<void*, global::System.Guid*, void**, int> QueryInterface_0;
    public unsafe delegate* unmanaged[MemberFunction]<void*, uint> AddRef_1;
    public unsafe delegate* unmanaged[MemberFunction]<void*, uint> Release_2;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint*, int> GetMachineType_3;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint*, int> GetPointerSize_4;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ushort*, ulong*, int> GetImageBase_5;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, byte*, uint, uint*, int> ReadVirtual_6;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, byte*, uint, uint*, int> WriteVirtual_7;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, uint, ulong*, int> GetTLSValue_8;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, uint, ulong, int> SetTLSValue_9;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint*, int> GetCurrentThreadID_10;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, uint, uint, byte*, int> GetThreadContext_11;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, uint, byte*, int> SetThreadContext_12;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, uint, byte*, uint, byte*, int> Request_13;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, uint, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> AllocVirtual_14;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, uint, int> FreeVirtual_15;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, char*, uint, uint, global::System.Guid*, uint, uint, uint, byte*, uint*, int> GetMetaData_16;
}
 
file sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType
{
    public static global::System.Guid Iid { get; } = new([225, 181, 217, 89, 111, 74, 49, 69, 132, 195, 81, 209, 45, 162, 47, 212]);
    public static unsafe void** ManagedVirtualMethodTable
    {
        get
        {
            unsafe
            {
                return (void**)global::System.Runtime.CompilerServices.Unsafe.AsPointer(in InterfaceImplementation.Vtable);
            }
        }
    }
}
 
[global::System.Runtime.InteropServices.DynamicInterfaceCastableImplementationAttribute]
file unsafe interface InterfaceImplementation : global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3
{
    [global::System.Runtime.CompilerServices.FixedAddressValueTypeAttribute]
    public static readonly InterfaceImplementationVtable Vtable;
 
    static InterfaceImplementation()
    {
        unsafe
        {
            global::System.Runtime.InteropServices.NativeMemory.Copy(
                global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget2).TypeHandle).ManagedVirtualMethodTable,
                global::System.Runtime.CompilerServices.Unsafe.AsPointer(ref Vtable),
                (nuint)(sizeof(void*) * 16));
 
            Vtable.GetMetaData_16 = &ABI_GetMetaData;
        }
    }
 
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3.GetMetaData(char* imagePath, uint imageTimestamp, uint imageSize, global::System.Guid* mvid, uint mdRva, uint flags, uint bufferSize, byte* buffer, uint* dataSize)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, char*, uint, uint, global::System.Guid*, uint, uint, uint, byte*, uint*, int>)__vtable[16]);
            {
                int __retVal;
                {
                    __retVal = __target(__this, imagePath, imageTimestamp, imageSize, mvid, mdRva, flags, bufferSize, buffer, dataSize);
                }
                // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                global::System.GC.KeepAlive(this);
                return __retVal;
            }
        }
    }
 
    [global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
    internal static unsafe int ABI_GetMetaData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, char* imagePath, uint imageTimestamp, uint imageSize, global::System.Guid* mvid, uint mdRva, uint flags, uint bufferSize, byte* buffer, uint* dataSize)
    {
        unsafe
        {
            global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3 @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.IXCLRDataTarget3>(__this_native);
                __retVal = @this.GetMetaData(imagePath, imageTimestamp, imageSize, mvid, mdRva, flags, bufferSize, buffer, dataSize);
            }
            catch (global::System.Exception __exception)
            {
                __retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
            }
            return __retVal;
        }
    }
 
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3.GetMachineType(uint* machineType)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, uint*, int>)__vtable[3]);
            {
                int __retVal;
                {
                    __retVal = __target(__this, machineType);
                }
                // 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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3.GetPointerSize(uint* pointerSize)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, uint*, int>)__vtable[4]);
            {
                int __retVal;
                {
                    __retVal = __target(__this, pointerSize);
                }
                // 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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3.GetImageBase(string imagePath, ulong* baseAddress)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, ushort*, ulong*, int>)__vtable[5]);
            {
                int __retVal;
                // Pin - Pin data in preparation for calling the P/Invoke.
                fixed (void* __imagePath_native = &global::System.Runtime.InteropServices.Marshalling.Utf16StringMarshaller.GetPinnableReference(imagePath))
                {
                    __retVal = __target(__this, (ushort*)__imagePath_native, baseAddress);
                }
                // 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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3.ReadVirtual(ulong address, byte* buffer, uint bytesRequested, uint* bytesRead)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, byte*, uint, uint*, int>)__vtable[6]);
            {
                int __retVal;
                {
                    __retVal = __target(__this, address, buffer, bytesRequested, bytesRead);
                }
                // 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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3.WriteVirtual(ulong address, byte* buffer, uint bytesRequested, uint* bytesWritten)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, byte*, uint, uint*, int>)__vtable[7]);
            {
                int __retVal;
                {
                    __retVal = __target(__this, address, buffer, bytesRequested, bytesWritten);
                }
                // 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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3.GetTLSValue(uint threadID, uint index, ulong* value)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, uint, ulong*, int>)__vtable[8]);
            {
                int __retVal;
                {
                    __retVal = __target(__this, threadID, index, value);
                }
                // 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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3.SetTLSValue(uint threadID, uint index, ulong value)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, uint, ulong, int>)__vtable[9]);
            {
                int __retVal;
                {
                    __retVal = __target(__this, threadID, index, value);
                }
                // 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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3.GetCurrentThreadID(uint* threadID)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, uint*, int>)__vtable[10]);
            {
                int __retVal;
                {
                    __retVal = __target(__this, threadID);
                }
                // 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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3.GetThreadContext(uint threadID, uint contextFlags, uint contextSize, byte* context)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, uint, uint, byte*, int>)__vtable[11]);
            {
                int __retVal;
                {
                    __retVal = __target(__this, threadID, contextFlags, contextSize, context);
                }
                // 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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3.SetThreadContext(uint threadID, uint contextSize, byte* context)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, uint, byte*, int>)__vtable[12]);
            {
                int __retVal;
                {
                    __retVal = __target(__this, threadID, contextSize, context);
                }
                // 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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3.Request(uint reqCode, uint inBufferSize, byte* inBuffer, uint outBufferSize, byte* outBuffer)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, uint, byte*, uint, byte*, int>)__vtable[13]);
            {
                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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3.AllocVirtual(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr, uint size, uint typeFlags, uint protectFlags, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* virt)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, uint, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int>)__vtable[14]);
            {
                ulong __addr_native;
                int __retVal;
                // Marshal - Convert managed data to native data.
                __addr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(addr);
                {
                    __retVal = __target(__this, __addr_native, size, typeFlags, protectFlags, virt);
                }
                // 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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3.FreeVirtual(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr, uint size, uint typeFlags)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, uint, int>)__vtable[15]);
            {
                ulong __addr_native;
                int __retVal;
                // Marshal - Convert managed data to native data.
                __addr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(addr);
                {
                    __retVal = __target(__this, __addr_native, size, typeFlags);
                }
                // 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.ICLRDataTarget.GetMachineType(uint* machineType) => throw new global::System.Diagnostics.UnreachableException();
 
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget.GetPointerSize(uint* pointerSize) => throw new global::System.Diagnostics.UnreachableException();
 
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget.GetImageBase(string imagePath, ulong* baseAddress) => throw new global::System.Diagnostics.UnreachableException();
 
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget.ReadVirtual(ulong address, byte* buffer, uint bytesRequested, uint* bytesRead) => throw new global::System.Diagnostics.UnreachableException();
 
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget.WriteVirtual(ulong address, byte* buffer, uint bytesRequested, uint* bytesWritten) => throw new global::System.Diagnostics.UnreachableException();
 
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget.GetTLSValue(uint threadID, uint index, ulong* value) => throw new global::System.Diagnostics.UnreachableException();
 
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget.SetTLSValue(uint threadID, uint index, ulong value) => throw new global::System.Diagnostics.UnreachableException();
 
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget.GetCurrentThreadID(uint* threadID) => throw new global::System.Diagnostics.UnreachableException();
 
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget.GetThreadContext(uint threadID, uint contextFlags, uint contextSize, byte* context) => throw new global::System.Diagnostics.UnreachableException();
 
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget.SetThreadContext(uint threadID, uint contextSize, byte* context) => throw new global::System.Diagnostics.UnreachableException();
 
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget.Request(uint reqCode, uint inBufferSize, byte* inBuffer, uint outBufferSize, byte* outBuffer) => throw new global::System.Diagnostics.UnreachableException();
 
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget2.AllocVirtual(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr, uint size, uint typeFlags, uint protectFlags, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* virt) => throw new global::System.Diagnostics.UnreachableException();
 
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget2.FreeVirtual(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr, uint size, uint typeFlags) => throw new global::System.Diagnostics.UnreachableException();
}
 
namespace Microsoft.Diagnostics.DataContractReader.Legacy
{
    [global::System.Runtime.InteropServices.Marshalling.IUnknownDerivedAttribute<InterfaceInformation, InterfaceImplementation>]
    public unsafe partial interface IXCLRDataTarget3
    {
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetMachineType(uint* machineType) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget)this).GetMachineType(machineType);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetPointerSize(uint* pointerSize) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget)this).GetPointerSize(pointerSize);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetImageBase(string imagePath, ulong* baseAddress) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget)this).GetImageBase(imagePath, baseAddress);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int ReadVirtual(ulong address, byte* buffer, uint bytesRequested, uint* bytesRead) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget)this).ReadVirtual(address, buffer, bytesRequested, bytesRead);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int WriteVirtual(ulong address, byte* buffer, uint bytesRequested, uint* bytesWritten) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget)this).WriteVirtual(address, buffer, bytesRequested, bytesWritten);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetTLSValue(uint threadID, uint index, ulong* value) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget)this).GetTLSValue(threadID, index, value);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int SetTLSValue(uint threadID, uint index, ulong value) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget)this).SetTLSValue(threadID, index, value);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetCurrentThreadID(uint* threadID) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget)this).GetCurrentThreadID(threadID);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int GetThreadContext(uint threadID, uint contextFlags, uint contextSize, byte* context) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget)this).GetThreadContext(threadID, contextFlags, contextSize, context);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int SetThreadContext(uint threadID, uint contextSize, byte* context) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget)this).SetThreadContext(threadID, contextSize, context);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
        [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.ICLRDataTarget)this).Request(reqCode, inBufferSize, inBuffer, outBufferSize, outBuffer);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int AllocVirtual(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr, uint size, uint typeFlags, uint protectFlags, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* virt) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget2)this).AllocVirtual(addr, size, typeFlags, protectFlags, virt);
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        [global::System.Runtime.InteropServices.PreserveSigAttribute()]
        new int FreeVirtual(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr, uint size, uint typeFlags) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget2)this).FreeVirtual(addr, size, typeFlags);
    }
}