// <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*, int> GetPlatform_3;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, byte*, uint, uint*, int> ReadVirtual_4;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, uint, uint, byte*, int> GetThreadContext_5;
}
file unsafe sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType
{
public static global::System.Guid Iid { get; } = new([40, 220, 6, 254, 251, 73, 54, 70, 164, 163, 232, 13, 180, 174, 17, 108]);
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.ICorDebugDataTarget
{
[global::System.Runtime.CompilerServices.FixedAddressValueTypeAttribute]
public static readonly InterfaceImplementationVtable Vtable;
static InterfaceImplementation()
{
global::System.Runtime.InteropServices.ComWrappers.GetIUnknownImpl(
out *(nint*)&((InterfaceImplementationVtable*)global::System.Runtime.CompilerServices.Unsafe.AsPointer(ref Vtable))->QueryInterface_0,
out *(nint*)&((InterfaceImplementationVtable*)global::System.Runtime.CompilerServices.Unsafe.AsPointer(ref Vtable))->AddRef_1,
out *(nint*)&((InterfaceImplementationVtable*)global::System.Runtime.CompilerServices.Unsafe.AsPointer(ref Vtable))->Release_2);
Vtable.GetPlatform_3 = &ABI_GetPlatform;
Vtable.ReadVirtual_4 = &ABI_ReadVirtual;
Vtable.GetThreadContext_5 = &ABI_GetThreadContext;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.36018")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.ICorDebugDataTarget.GetPlatform(int* pTargetPlatform)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ICorDebugDataTarget));
var __target = ((delegate* unmanaged[MemberFunction]<void*, int*, int> )__vtable[3]);
{
int __retVal;
{
__retVal = __target(__this, pTargetPlatform);
}
// 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_GetPlatform(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, int* pTargetPlatform)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ICorDebugDataTarget @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.ICorDebugDataTarget>(__this_native);
__retVal = @this.GetPlatform(pTargetPlatform);
}
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.36018")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.ICorDebugDataTarget.ReadVirtual(ulong address, byte* pBuffer, uint bytesRequested, uint* pBytesRead)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ICorDebugDataTarget));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, byte*, uint, uint*, int> )__vtable[4]);
{
int __retVal;
{
__retVal = __target(__this, address, pBuffer, bytesRequested, pBytesRead);
}
// 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_ReadVirtual(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong address, byte* pBuffer, uint bytesRequested, uint* pBytesRead)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ICorDebugDataTarget @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.ICorDebugDataTarget>(__this_native);
__retVal = @this.ReadVirtual(address, pBuffer, bytesRequested, pBytesRead);
}
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.36018")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.ICorDebugDataTarget.GetThreadContext(uint threadId, uint contextFlags, uint contextSize, byte* pContext)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ICorDebugDataTarget));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, uint, uint, byte*, int> )__vtable[5]);
{
int __retVal;
{
__retVal = __target(__this, threadId, contextFlags, contextSize, pContext);
}
// 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_GetThreadContext(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint threadId, uint contextFlags, uint contextSize, byte* pContext)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ICorDebugDataTarget @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.ICorDebugDataTarget>(__this_native);
__retVal = @this.GetThreadContext(threadId, contextFlags, contextSize, pContext);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
}
namespace Microsoft.Diagnostics.DataContractReader.Legacy
{
[global::System.Runtime.InteropServices.Marshalling.IUnknownDerivedAttribute<InterfaceInformation, InterfaceImplementation>]
public unsafe partial interface ICorDebugDataTarget
{
}
}