File: Generated\361d1da7f942c932\Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3.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*, void*, int> OnCodeGenerated_3;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, int> OnCodeDiscarded_4;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, int> OnProcessExecution_5;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, uint, int> OnTaskExecution_6;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, int> OnModuleLoaded_7;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, int> OnModuleUnloaded_8;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, int> OnTypeLoaded_9;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, int> OnTypeUnloaded_10;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, int> OnAppDomainLoaded_11;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, int> OnAppDomainUnloaded_12;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, int> OnException_13;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.GcEvtArgs, int> OnGcEvent_14;
}
 
file sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType
{
    public static global::System.Guid Iid { get; } = new([148, 26, 32, 49, 55, 67, 183, 73, 174, 247, 12, 117, 80, 84, 9, 32]);
    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.IXCLRDataExceptionNotification3
{
    [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.IXCLRDataExceptionNotification2).TypeHandle).ManagedVirtualMethodTable,
                global::System.Runtime.CompilerServices.Unsafe.AsPointer(ref Vtable),
                (nuint)(sizeof(void*) * 14));
 
            Vtable.OnGcEvent_14 = &ABI_OnGcEvent;
        }
    }
 
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3.OnGcEvent(global::Microsoft.Diagnostics.DataContractReader.Legacy.GcEvtArgs gcEvtArgs)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3));
            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.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
    internal static unsafe int ABI_OnGcEvent(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.GcEvtArgs gcEvtArgs)
    {
        unsafe
        {
            global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3 @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.IXCLRDataExceptionNotification3>(__this_native);
                __retVal = @this.OnGcEvent(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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3.OnCodeGenerated(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance @method)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3));
            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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3.OnCodeDiscarded(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance @method)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3));
            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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3.OnProcessExecution(uint state)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3));
            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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3.OnTaskExecution(void* task, uint state)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3));
            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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3.OnModuleLoaded(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule mod)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3));
            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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3.OnModuleUnloaded(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule mod)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3));
            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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3.OnTypeLoaded(void* typeInst)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3));
            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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3.OnTypeUnloaded(void* typeInst)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3));
            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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3.OnAppDomainLoaded(void* domain)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3));
            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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3.OnAppDomainUnloaded(void* domain)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3));
            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", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3.OnException(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionState exception)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3));
            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;
            }
        }
    }
 
    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();
}
 
namespace Microsoft.Diagnostics.DataContractReader.Legacy
{
    [global::System.Runtime.InteropServices.Marshalling.IUnknownDerivedAttribute<InterfaceInformation, InterfaceImplementation>]
    public unsafe partial interface IXCLRDataExceptionNotification3
    {
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
        [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", "12.0.14.48102")]
        [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", "12.0.14.48102")]
        [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", "12.0.14.48102")]
        [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", "12.0.14.48102")]
        [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", "12.0.14.48102")]
        [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", "12.0.14.48102")]
        [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", "12.0.14.48102")]
        [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", "12.0.14.48102")]
        [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", "12.0.14.48102")]
        [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", "12.0.14.48102")]
        [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);
    }
}