|
// <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*, void*, int> OnCodeGenerated_3;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, int> OnCodeDiscarded_4;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, int> OnProcessExecution_5;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, uint, int> OnTaskExecution_6;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, int> OnModuleLoaded_7;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, int> OnModuleUnloaded_8;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, int> OnTypeLoaded_9;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, int> OnTypeUnloaded_10;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, int> OnAppDomainLoaded_11;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, int> OnAppDomainUnloaded_12;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, int> OnException_13;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.GcEvtArgs, int> OnGcEvent_14;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, uint, int> ExceptionCatcherEnter_15;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, ulong, int> OnCodeGenerated2_16;
}
file unsafe sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType
{
public static global::System.Guid Iid { get; } = new([234, 57, 122, 231, 72, 53, 217, 68, 177, 113, 133, 105, 237, 26, 148, 35]);
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.IXCLRDataExceptionNotification5
{
[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.IXCLRDataExceptionNotification4).TypeHandle).ManagedVirtualMethodTable,
global::System.Runtime.CompilerServices.Unsafe.AsPointer(ref Vtable),
(nuint)(sizeof(void*) * 16));
Vtable.OnCodeGenerated2_16 = &ABI_OnCodeGenerated2;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification5.OnCodeGenerated2(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance method, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress nativeCodeLocation)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification5));
var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, ulong, int> )__vtable[16]);
{
void* __method_native = default;
ulong __nativeCodeLocation_native = default;
int __retVal = default;
try
{
// Marshal - Convert managed data to native data.
__nativeCodeLocation_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(nativeCodeLocation);
__method_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance>.ConvertToUnmanaged(method);
{
__retVal = __target(__this, __method_native, __nativeCodeLocation_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.IXCLRDataMethodInstance>.Free(__method_native);
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_OnCodeGenerated2(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, void* __method_native, ulong __nativeCodeLocation_native)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification5 @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance method = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress nativeCodeLocation = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
nativeCodeLocation = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__nativeCodeLocation_native);
method = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance>.ConvertToManaged(__method_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification5>(__this_native);
__retVal = @this.OnCodeGenerated2(method, nativeCodeLocation);
}
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.IXCLRDataExceptionNotification5.OnCodeGenerated(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance method)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification5));
var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, int> )__vtable[3]);
{
void* __method_native = default;
int __retVal = default;
try
{
// Marshal - Convert managed data to native data.
__method_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance>.ConvertToUnmanaged(method);
{
__retVal = __target(__this, __method_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.IXCLRDataMethodInstance>.Free(__method_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.IXCLRDataExceptionNotification5.OnCodeDiscarded(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance method)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification5));
var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, int> )__vtable[4]);
{
void* __method_native = default;
int __retVal = default;
try
{
// Marshal - Convert managed data to native data.
__method_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance>.ConvertToUnmanaged(method);
{
__retVal = __target(__this, __method_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.IXCLRDataMethodInstance>.Free(__method_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.IXCLRDataExceptionNotification5.OnProcessExecution(uint state)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification5));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, int> )__vtable[5]);
{
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.IXCLRDataExceptionNotification5.OnTaskExecution(void* task, uint state)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification5));
var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, uint, int> )__vtable[6]);
{
int __retVal;
{
__retVal = __target(__this, task, 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.IXCLRDataExceptionNotification5.OnModuleLoaded(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule mod)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification5));
var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, int> )__vtable[7]);
{
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);
}
// 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.IXCLRDataExceptionNotification5.OnModuleUnloaded(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule mod)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification5));
var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, int> )__vtable[8]);
{
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);
}
// 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.IXCLRDataExceptionNotification5.OnTypeLoaded(void* typeInst)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification5));
var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, int> )__vtable[9]);
{
int __retVal;
{
__retVal = __target(__this, typeInst);
}
// 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.IXCLRDataExceptionNotification5.OnTypeUnloaded(void* typeInst)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification5));
var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, int> )__vtable[10]);
{
int __retVal;
{
__retVal = __target(__this, typeInst);
}
// 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.IXCLRDataExceptionNotification5.OnAppDomainLoaded(void* domain)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification5));
var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, int> )__vtable[11]);
{
int __retVal;
{
__retVal = __target(__this, domain);
}
// 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.IXCLRDataExceptionNotification5.OnAppDomainUnloaded(void* domain)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification5));
var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, int> )__vtable[12]);
{
int __retVal;
{
__retVal = __target(__this, domain);
}
// 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.IXCLRDataExceptionNotification5.OnException(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionState exception)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification5));
var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, int> )__vtable[13]);
{
void* __exception_native = default;
int __retVal = default;
try
{
// Marshal - Convert managed data to native data.
__exception_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionState>.ConvertToUnmanaged(exception);
{
__retVal = __target(__this, __exception_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.IXCLRDataExceptionState>.Free(__exception_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.IXCLRDataExceptionNotification5.OnGcEvent(global::Microsoft.Diagnostics.DataContractReader.Legacy.GcEvtArgs gcEvtArgs)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification5));
var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.GcEvtArgs, int> )__vtable[14]);
{
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.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification5.ExceptionCatcherEnter(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance catchingMethod, uint catcherNativeOffset)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification5));
var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, uint, int> )__vtable[15]);
{
void* __catchingMethod_native = default;
int __retVal = default;
try
{
// Marshal - Convert managed data to native data.
__catchingMethod_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance>.ConvertToUnmanaged(catchingMethod);
{
__retVal = __target(__this, __catchingMethod_native, catcherNativeOffset);
}
// 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.IXCLRDataMethodInstance>.Free(__catchingMethod_native);
}
return __retVal;
}
}
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification.OnCodeGenerated(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance method) => throw new global::System.Diagnostics.UnreachableException();
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification.OnCodeDiscarded(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance method) => throw new global::System.Diagnostics.UnreachableException();
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification.OnProcessExecution(uint state) => throw new global::System.Diagnostics.UnreachableException();
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification.OnTaskExecution(void* task, uint state) => throw new global::System.Diagnostics.UnreachableException();
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification.OnModuleLoaded(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule mod) => throw new global::System.Diagnostics.UnreachableException();
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification.OnModuleUnloaded(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule mod) => throw new global::System.Diagnostics.UnreachableException();
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification.OnTypeLoaded(void* typeInst) => throw new global::System.Diagnostics.UnreachableException();
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification.OnTypeUnloaded(void* typeInst) => throw new global::System.Diagnostics.UnreachableException();
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification2.OnAppDomainLoaded(void* domain) => throw new global::System.Diagnostics.UnreachableException();
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification2.OnAppDomainUnloaded(void* domain) => throw new global::System.Diagnostics.UnreachableException();
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification2.OnException(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionState exception) => throw new global::System.Diagnostics.UnreachableException();
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3.OnGcEvent(global::Microsoft.Diagnostics.DataContractReader.Legacy.GcEvtArgs gcEvtArgs) => throw new global::System.Diagnostics.UnreachableException();
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification4.ExceptionCatcherEnter(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance catchingMethod, uint catcherNativeOffset) => throw new global::System.Diagnostics.UnreachableException();
}
namespace Microsoft.Diagnostics.DataContractReader.Legacy
{
[global::System.Runtime.InteropServices.Marshalling.IUnknownDerivedAttribute<InterfaceInformation, InterfaceImplementation>]
public unsafe partial interface IXCLRDataExceptionNotification5
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
[global::System.Runtime.InteropServices.PreserveSigAttribute()]
new int OnCodeGenerated(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance method) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification)this).OnCodeGenerated(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 OnCodeDiscarded(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance method) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification)this).OnCodeDiscarded(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 OnProcessExecution(uint state) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification)this).OnProcessExecution(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 OnTaskExecution(void* task, uint state) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification)this).OnTaskExecution(task, 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 OnModuleLoaded(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule mod) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification)this).OnModuleLoaded(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 OnModuleUnloaded(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule mod) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification)this).OnModuleUnloaded(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 OnTypeLoaded(void* typeInst) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification)this).OnTypeLoaded(typeInst);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
[global::System.Runtime.InteropServices.PreserveSigAttribute()]
new int OnTypeUnloaded(void* typeInst) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification)this).OnTypeUnloaded(typeInst);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
[global::System.Runtime.InteropServices.PreserveSigAttribute()]
new int OnAppDomainLoaded(void* domain) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification2)this).OnAppDomainLoaded(domain);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
[global::System.Runtime.InteropServices.PreserveSigAttribute()]
new int OnAppDomainUnloaded(void* domain) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification2)this).OnAppDomainUnloaded(domain);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
[global::System.Runtime.InteropServices.PreserveSigAttribute()]
new int OnException(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionState exception) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification2)this).OnException(exception);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
[global::System.Runtime.InteropServices.PreserveSigAttribute()]
new int OnGcEvent(global::Microsoft.Diagnostics.DataContractReader.Legacy.GcEvtArgs gcEvtArgs) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3)this).OnGcEvent(gcEvtArgs);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
[global::System.Runtime.InteropServices.PreserveSigAttribute()]
new int ExceptionCatcherEnter(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance catchingMethod, uint catcherNativeOffset) => ((global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification4)this).ExceptionCatcherEnter(catchingMethod, catcherNativeOffset);
}
}
|