File: Generated\361d1da7f942c932\Microsoft.DiaSymReader.ISymUnmanagedScope.cs
Project: Microsoft.DiaSymReader.csproj (Microsoft.DiaSymReader)
// <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> GetMethod_3;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void**, int> GetParent_4;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int, int*, global::System.IntPtr*, int> GetChildren_5;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int*, int> GetStartOffset_6;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int*, int> GetEndOffset_7;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int*, int> GetLocalCount_8;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int, int*, global::System.IntPtr*, int> GetLocals_9;
    public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int, int*, global::System.IntPtr*, int> GetNamespaces_10;
}
 
file sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType
{
    public static global::System.Guid Iid { get; } = new([15, 93, 0, 104, 224, 184, 1, 59, 132, 213, 161, 26, 148, 21, 73, 66]);
    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.DiaSymReader.ISymUnmanagedScope
{
    [global::System.Runtime.CompilerServices.FixedAddressValueTypeAttribute]
    public static readonly InterfaceImplementationVtable Vtable;
 
    static InterfaceImplementation()
    {
        unsafe
        {
            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.GetMethod_3 = &ABI_GetMethod;
            Vtable.GetParent_4 = &ABI_GetParent;
            Vtable.GetChildren_5 = &ABI_GetChildren;
            Vtable.GetStartOffset_6 = &ABI_GetStartOffset;
            Vtable.GetEndOffset_7 = &ABI_GetEndOffset;
            Vtable.GetLocalCount_8 = &ABI_GetLocalCount;
            Vtable.GetLocals_9 = &ABI_GetLocals;
            Vtable.GetNamespaces_10 = &ABI_GetNamespaces;
        }
    }
 
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.48102")]
    [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
    int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetMethod(out global::Microsoft.DiaSymReader.ISymUnmanagedMethod @method)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, void**, int>)__vtable[3]);
            {
                bool __invokeSucceeded = default;
                @method = default;
                void* __method_native = default;
                int __retVal = default;
                try
                {
                    {
                        __retVal = __target(__this, &__method_native);
                    }
                    // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                    global::System.GC.KeepAlive(this);
                    __invokeSucceeded = true;
                    // Unmarshal - Convert native data to managed data.
                    @method = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedMethod>.ConvertToManaged(__method_native);
                }
                finally
                {
                    if (__invokeSucceeded)
                    {
                        // CleanupCalleeAllocated - Perform cleanup of callee allocated resources.
                        global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedMethod>.Free(__method_native);
                    }
                }
                return __retVal;
            }
        }
    }
 
    [global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
    internal static unsafe int ABI_GetMethod(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, void** __method_native__param)
    {
        unsafe
        {
            global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default;
            ref void* __method_native = ref *__method_native__param;
            global::Microsoft.DiaSymReader.ISymUnmanagedMethod @method = default;
            int __retVal = default;
            try
            {
                // Unmarshal - Convert native data to managed data.
                @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native);
                __retVal = @this.GetMethod(out @method);
                // Marshal - Convert managed data to native data.
                __method_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedMethod>.ConvertToUnmanaged(@method);
            }
            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.DiaSymReader.ISymUnmanagedScope.GetParent(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, void**, int>)__vtable[4]);
            {
                bool __invokeSucceeded = default;
                scope = default;
                void* __scope_native = default;
                int __retVal = default;
                try
                {
                    {
                        __retVal = __target(__this, &__scope_native);
                    }
                    // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                    global::System.GC.KeepAlive(this);
                    __invokeSucceeded = true;
                    // Unmarshal - Convert native data to managed data.
                    scope = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__scope_native);
                }
                finally
                {
                    if (__invokeSucceeded)
                    {
                        // CleanupCalleeAllocated - Perform cleanup of callee allocated resources.
                        global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__scope_native);
                    }
                }
                return __retVal;
            }
        }
    }
 
    [global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
    internal static unsafe int ABI_GetParent(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, void** __scope_native__param)
    {
        unsafe
        {
            global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default;
            ref void* __scope_native = ref *__scope_native__param;
            global::Microsoft.DiaSymReader.ISymUnmanagedScope scope = default;
            int __retVal = default;
            try
            {
                // Unmarshal - Convert native data to managed data.
                @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native);
                __retVal = @this.GetParent(out scope);
                // Marshal - Convert managed data to native data.
                __scope_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToUnmanaged(scope);
            }
            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.DiaSymReader.ISymUnmanagedScope.GetChildren(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedScope[] children)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, int, int*, global::System.IntPtr*, int>)__vtable[5]);
            {
                bool __invokeSucceeded = default;
                count = default;
                global::System.IntPtr* __children_native = default;
                int __retVal = default;
                // Setup - Perform required setup.
                scoped global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.ManagedToUnmanagedIn __children_native__marshaller = new();
                int __children_native__numElements;
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __children_native__numElements);
                int __children_native__lastIndexMarshalled = 0;
                try
                {
                    // Marshal - Convert managed data to native data.
                    __children_native__marshaller.FromManaged(children, stackalloc global::System.IntPtr[global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.ManagedToUnmanagedIn.BufferSize]);
                    {
                        global::System.ReadOnlySpan<global::Microsoft.DiaSymReader.ISymUnmanagedScope> __children_native__managedSpan = __children_native__marshaller.GetManagedValuesSource();
                        global::System.Span<global::System.IntPtr> __children_native__nativeSpan = __children_native__marshaller.GetUnmanagedValuesDestination();
                        for (int __i0 = 0; __i0 < __children_native__managedSpan.Length; ++__i0, ++__children_native__lastIndexMarshalled)
                        {
                            void* __children_native__nativeSpan____i0_exactType = (void*)__children_native__nativeSpan[__i0];
                            __children_native__nativeSpan____i0_exactType = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToUnmanaged(__children_native__managedSpan[__i0]);
                            __children_native__nativeSpan[__i0] = (global::System.IntPtr)__children_native__nativeSpan____i0_exactType;
                        }
                    }
                    // Pin - Pin data in preparation for calling the P/Invoke.
                    fixed (void* __children_native__unused = __children_native__marshaller)
                    fixed (int* __count_native = &count)
                    {
                        // PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
                        __children_native = __children_native__marshaller.ToUnmanaged();
                        __retVal = __target(__this, bufferLength, __count_native, __children_native);
                    }
                    // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                    global::System.GC.KeepAlive(this);
                    __invokeSucceeded = true;
                    // Unmarshal - Convert native data to managed data.
                    {
                        __children_native__numElements = __children_native__marshaller.GetManagedValuesSource().Length;
                        global::System.Span<global::Microsoft.DiaSymReader.ISymUnmanagedScope> __children_native__managedSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in __children_native__marshaller.GetManagedValuesSource().GetPinnableReference()), __children_native__numElements);
                        global::System.Span<global::System.IntPtr> __children_native__nativeSpan = __children_native__marshaller.GetUnmanagedValuesDestination();
                        for (int __i0 = 0; __i0 < __children_native__managedSpan.Length; ++__i0)
                        {
                            void* __children_native__nativeSpan____i0_exactType = (void*)__children_native__nativeSpan[__i0];
                            __children_native__managedSpan[__i0] = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__children_native__nativeSpan____i0_exactType);
                        }
                    }
                }
                finally
                {
                    if (__invokeSucceeded)
                    {
                        // CleanupCalleeAllocated - Perform cleanup of callee allocated resources.
                        _ = __children_native__lastIndexMarshalled;
                    }
                    // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                    {
                        global::System.ReadOnlySpan<global::System.IntPtr> __children_native__nativeSpan = __children_native__marshaller.GetUnmanagedValuesDestination();
                        for (int __i0 = 0; __i0 < __children_native__lastIndexMarshalled; ++__i0)
                        {
                            void* __children_native__nativeSpan____i0_exactType = (void*)__children_native__nativeSpan[__i0];
                            global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__children_native__nativeSpan____i0_exactType);
                        }
                    }
                    __children_native__marshaller.Free();
                }
                return __retVal;
            }
        }
    }
 
    [global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
    internal static unsafe int ABI_GetChildren(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, int bufferLength, int* __count_native__param, global::System.IntPtr* __children_native)
    {
        unsafe
        {
            global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default;
            ref int __count_native = ref *__count_native__param;
            int count = default;
            global::Microsoft.DiaSymReader.ISymUnmanagedScope[] children = default;
            int __retVal = default;
            // Setup - Perform required setup.
            int __children_native__numElements;
            __children_native__numElements = default;
            try
            {
                // Unmarshal - Convert native data to managed data.
                __children_native__numElements = bufferLength;
                children = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.AllocateContainerForManagedElements(__children_native, __children_native__numElements);
                {
                    global::System.ReadOnlySpan<global::System.IntPtr> __children_native__nativeSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.GetUnmanagedValuesSource(__children_native, __children_native__numElements);
                    global::System.Span<global::Microsoft.DiaSymReader.ISymUnmanagedScope> __children_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.GetManagedValuesDestination(children);
                    for (int __i0 = 0; __i0 < __children_native__nativeSpan.Length; ++__i0)
                    {
                        void* __children_native__nativeSpan____i0_exactType = (void*)__children_native__nativeSpan[__i0];
                        __children_native__managedSpan[__i0] = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__children_native__nativeSpan____i0_exactType);
                    }
                }
                @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native);
                __retVal = @this.GetChildren(bufferLength, out count, children);
                // Marshal - Convert managed data to native data.
                {
                    __children_native__numElements = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.GetManagedValuesDestination(children).Length;
                    global::System.Span<global::System.IntPtr> __children_native__nativeSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.GetUnmanagedValuesSource(__children_native, __children_native__numElements).GetPinnableReference()), __children_native__numElements);
                    global::System.Span<global::Microsoft.DiaSymReader.ISymUnmanagedScope> __children_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.GetManagedValuesDestination(children);
                    for (int __i0 = 0; __i0 < __children_native__nativeSpan.Length; ++__i0)
                    {
                        void* __children_native__nativeSpan____i0_exactType = (void*)__children_native__nativeSpan[__i0];
                        void* __children_native__nativeSpan____i0__original = __children_native__nativeSpan____i0_exactType;
                        __children_native__nativeSpan____i0_exactType = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToUnmanaged(__children_native__managedSpan[__i0]);
                        global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__children_native__nativeSpan____i0__original);
                        __children_native__nativeSpan[__i0] = (global::System.IntPtr)__children_native__nativeSpan____i0_exactType;
                    }
                }
                __count_native = count;
            }
            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.DiaSymReader.ISymUnmanagedScope.GetStartOffset(out int offset)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, int*, int>)__vtable[6]);
            {
                offset = default;
                int __retVal;
                // Pin - Pin data in preparation for calling the P/Invoke.
                fixed (int* __offset_native = &offset)
                {
                    __retVal = __target(__this, __offset_native);
                }
                // 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_GetStartOffset(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, int* __offset_native__param)
    {
        unsafe
        {
            global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default;
            ref int __offset_native = ref *__offset_native__param;
            int offset = default;
            int __retVal = default;
            try
            {
                // Unmarshal - Convert native data to managed data.
                @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native);
                __retVal = @this.GetStartOffset(out offset);
                // Marshal - Convert managed data to native data.
                __offset_native = offset;
            }
            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.DiaSymReader.ISymUnmanagedScope.GetEndOffset(out int offset)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, int*, int>)__vtable[7]);
            {
                offset = default;
                int __retVal;
                // Pin - Pin data in preparation for calling the P/Invoke.
                fixed (int* __offset_native = &offset)
                {
                    __retVal = __target(__this, __offset_native);
                }
                // 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_GetEndOffset(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, int* __offset_native__param)
    {
        unsafe
        {
            global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default;
            ref int __offset_native = ref *__offset_native__param;
            int offset = default;
            int __retVal = default;
            try
            {
                // Unmarshal - Convert native data to managed data.
                @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native);
                __retVal = @this.GetEndOffset(out offset);
                // Marshal - Convert managed data to native data.
                __offset_native = offset;
            }
            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.DiaSymReader.ISymUnmanagedScope.GetLocalCount(out int count)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, int*, int>)__vtable[8]);
            {
                count = default;
                int __retVal;
                // Pin - Pin data in preparation for calling the P/Invoke.
                fixed (int* __count_native = &count)
                {
                    __retVal = __target(__this, __count_native);
                }
                // 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_GetLocalCount(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, int* __count_native__param)
    {
        unsafe
        {
            global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default;
            ref int __count_native = ref *__count_native__param;
            int count = default;
            int __retVal = default;
            try
            {
                // Unmarshal - Convert native data to managed data.
                @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native);
                __retVal = @this.GetLocalCount(out count);
                // Marshal - Convert managed data to native data.
                __count_native = count;
            }
            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.DiaSymReader.ISymUnmanagedScope.GetLocals(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedVariable[] locals)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, int, int*, global::System.IntPtr*, int>)__vtable[9]);
            {
                bool __invokeSucceeded = default;
                count = default;
                global::System.IntPtr* __locals_native = default;
                int __retVal = default;
                // Setup - Perform required setup.
                scoped global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedVariable, global::System.IntPtr>.ManagedToUnmanagedIn __locals_native__marshaller = new();
                int __locals_native__numElements;
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __locals_native__numElements);
                int __locals_native__lastIndexMarshalled = 0;
                try
                {
                    // Marshal - Convert managed data to native data.
                    __locals_native__marshaller.FromManaged(locals, stackalloc global::System.IntPtr[global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedVariable, global::System.IntPtr>.ManagedToUnmanagedIn.BufferSize]);
                    {
                        global::System.ReadOnlySpan<global::Microsoft.DiaSymReader.ISymUnmanagedVariable> __locals_native__managedSpan = __locals_native__marshaller.GetManagedValuesSource();
                        global::System.Span<global::System.IntPtr> __locals_native__nativeSpan = __locals_native__marshaller.GetUnmanagedValuesDestination();
                        for (int __i0 = 0; __i0 < __locals_native__managedSpan.Length; ++__i0, ++__locals_native__lastIndexMarshalled)
                        {
                            void* __locals_native__nativeSpan____i0_exactType = (void*)__locals_native__nativeSpan[__i0];
                            __locals_native__nativeSpan____i0_exactType = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedVariable>.ConvertToUnmanaged(__locals_native__managedSpan[__i0]);
                            __locals_native__nativeSpan[__i0] = (global::System.IntPtr)__locals_native__nativeSpan____i0_exactType;
                        }
                    }
                    // Pin - Pin data in preparation for calling the P/Invoke.
                    fixed (void* __locals_native__unused = __locals_native__marshaller)
                    fixed (int* __count_native = &count)
                    {
                        // PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
                        __locals_native = __locals_native__marshaller.ToUnmanaged();
                        __retVal = __target(__this, bufferLength, __count_native, __locals_native);
                    }
                    // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                    global::System.GC.KeepAlive(this);
                    __invokeSucceeded = true;
                    // Unmarshal - Convert native data to managed data.
                    {
                        __locals_native__numElements = __locals_native__marshaller.GetManagedValuesSource().Length;
                        global::System.Span<global::Microsoft.DiaSymReader.ISymUnmanagedVariable> __locals_native__managedSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in __locals_native__marshaller.GetManagedValuesSource().GetPinnableReference()), __locals_native__numElements);
                        global::System.Span<global::System.IntPtr> __locals_native__nativeSpan = __locals_native__marshaller.GetUnmanagedValuesDestination();
                        for (int __i0 = 0; __i0 < __locals_native__managedSpan.Length; ++__i0)
                        {
                            void* __locals_native__nativeSpan____i0_exactType = (void*)__locals_native__nativeSpan[__i0];
                            __locals_native__managedSpan[__i0] = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedVariable>.ConvertToManaged(__locals_native__nativeSpan____i0_exactType);
                        }
                    }
                }
                finally
                {
                    if (__invokeSucceeded)
                    {
                        // CleanupCalleeAllocated - Perform cleanup of callee allocated resources.
                        _ = __locals_native__lastIndexMarshalled;
                    }
                    // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                    {
                        global::System.ReadOnlySpan<global::System.IntPtr> __locals_native__nativeSpan = __locals_native__marshaller.GetUnmanagedValuesDestination();
                        for (int __i0 = 0; __i0 < __locals_native__lastIndexMarshalled; ++__i0)
                        {
                            void* __locals_native__nativeSpan____i0_exactType = (void*)__locals_native__nativeSpan[__i0];
                            global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedVariable>.Free(__locals_native__nativeSpan____i0_exactType);
                        }
                    }
                    __locals_native__marshaller.Free();
                }
                return __retVal;
            }
        }
    }
 
    [global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
    internal static unsafe int ABI_GetLocals(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, int bufferLength, int* __count_native__param, global::System.IntPtr* __locals_native)
    {
        unsafe
        {
            global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default;
            ref int __count_native = ref *__count_native__param;
            int count = default;
            global::Microsoft.DiaSymReader.ISymUnmanagedVariable[] locals = default;
            int __retVal = default;
            // Setup - Perform required setup.
            int __locals_native__numElements;
            __locals_native__numElements = default;
            try
            {
                // Unmarshal - Convert native data to managed data.
                __locals_native__numElements = bufferLength;
                locals = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedVariable, global::System.IntPtr>.AllocateContainerForManagedElements(__locals_native, __locals_native__numElements);
                {
                    global::System.ReadOnlySpan<global::System.IntPtr> __locals_native__nativeSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedVariable, global::System.IntPtr>.GetUnmanagedValuesSource(__locals_native, __locals_native__numElements);
                    global::System.Span<global::Microsoft.DiaSymReader.ISymUnmanagedVariable> __locals_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedVariable, global::System.IntPtr>.GetManagedValuesDestination(locals);
                    for (int __i0 = 0; __i0 < __locals_native__nativeSpan.Length; ++__i0)
                    {
                        void* __locals_native__nativeSpan____i0_exactType = (void*)__locals_native__nativeSpan[__i0];
                        __locals_native__managedSpan[__i0] = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedVariable>.ConvertToManaged(__locals_native__nativeSpan____i0_exactType);
                    }
                }
                @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native);
                __retVal = @this.GetLocals(bufferLength, out count, locals);
                // Marshal - Convert managed data to native data.
                {
                    __locals_native__numElements = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedVariable, global::System.IntPtr>.GetManagedValuesDestination(locals).Length;
                    global::System.Span<global::System.IntPtr> __locals_native__nativeSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedVariable, global::System.IntPtr>.GetUnmanagedValuesSource(__locals_native, __locals_native__numElements).GetPinnableReference()), __locals_native__numElements);
                    global::System.Span<global::Microsoft.DiaSymReader.ISymUnmanagedVariable> __locals_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedVariable, global::System.IntPtr>.GetManagedValuesDestination(locals);
                    for (int __i0 = 0; __i0 < __locals_native__nativeSpan.Length; ++__i0)
                    {
                        void* __locals_native__nativeSpan____i0_exactType = (void*)__locals_native__nativeSpan[__i0];
                        void* __locals_native__nativeSpan____i0__original = __locals_native__nativeSpan____i0_exactType;
                        __locals_native__nativeSpan____i0_exactType = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedVariable>.ConvertToUnmanaged(__locals_native__managedSpan[__i0]);
                        global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedVariable>.Free(__locals_native__nativeSpan____i0__original);
                        __locals_native__nativeSpan[__i0] = (global::System.IntPtr)__locals_native__nativeSpan____i0_exactType;
                    }
                }
                __count_native = count;
            }
            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.DiaSymReader.ISymUnmanagedScope.GetNamespaces(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedNamespace[] namespaces)
    {
        unsafe
        {
            var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope));
            var __target = ((delegate* unmanaged[MemberFunction]<void*, int, int*, global::System.IntPtr*, int>)__vtable[10]);
            {
                bool __invokeSucceeded = default;
                count = default;
                global::System.IntPtr* __namespaces_native = default;
                int __retVal = default;
                // Setup - Perform required setup.
                scoped global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedNamespace, global::System.IntPtr>.ManagedToUnmanagedIn __namespaces_native__marshaller = new();
                int __namespaces_native__numElements;
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __namespaces_native__numElements);
                int __namespaces_native__lastIndexMarshalled = 0;
                try
                {
                    // Marshal - Convert managed data to native data.
                    __namespaces_native__marshaller.FromManaged(namespaces, stackalloc global::System.IntPtr[global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedNamespace, global::System.IntPtr>.ManagedToUnmanagedIn.BufferSize]);
                    {
                        global::System.ReadOnlySpan<global::Microsoft.DiaSymReader.ISymUnmanagedNamespace> __namespaces_native__managedSpan = __namespaces_native__marshaller.GetManagedValuesSource();
                        global::System.Span<global::System.IntPtr> __namespaces_native__nativeSpan = __namespaces_native__marshaller.GetUnmanagedValuesDestination();
                        for (int __i0 = 0; __i0 < __namespaces_native__managedSpan.Length; ++__i0, ++__namespaces_native__lastIndexMarshalled)
                        {
                            void* __namespaces_native__nativeSpan____i0_exactType = (void*)__namespaces_native__nativeSpan[__i0];
                            __namespaces_native__nativeSpan____i0_exactType = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedNamespace>.ConvertToUnmanaged(__namespaces_native__managedSpan[__i0]);
                            __namespaces_native__nativeSpan[__i0] = (global::System.IntPtr)__namespaces_native__nativeSpan____i0_exactType;
                        }
                    }
                    // Pin - Pin data in preparation for calling the P/Invoke.
                    fixed (void* __namespaces_native__unused = __namespaces_native__marshaller)
                    fixed (int* __count_native = &count)
                    {
                        // PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
                        __namespaces_native = __namespaces_native__marshaller.ToUnmanaged();
                        __retVal = __target(__this, bufferLength, __count_native, __namespaces_native);
                    }
                    // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
                    global::System.GC.KeepAlive(this);
                    __invokeSucceeded = true;
                    // Unmarshal - Convert native data to managed data.
                    {
                        __namespaces_native__numElements = __namespaces_native__marshaller.GetManagedValuesSource().Length;
                        global::System.Span<global::Microsoft.DiaSymReader.ISymUnmanagedNamespace> __namespaces_native__managedSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in __namespaces_native__marshaller.GetManagedValuesSource().GetPinnableReference()), __namespaces_native__numElements);
                        global::System.Span<global::System.IntPtr> __namespaces_native__nativeSpan = __namespaces_native__marshaller.GetUnmanagedValuesDestination();
                        for (int __i0 = 0; __i0 < __namespaces_native__managedSpan.Length; ++__i0)
                        {
                            void* __namespaces_native__nativeSpan____i0_exactType = (void*)__namespaces_native__nativeSpan[__i0];
                            __namespaces_native__managedSpan[__i0] = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedNamespace>.ConvertToManaged(__namespaces_native__nativeSpan____i0_exactType);
                        }
                    }
                }
                finally
                {
                    if (__invokeSucceeded)
                    {
                        // CleanupCalleeAllocated - Perform cleanup of callee allocated resources.
                        _ = __namespaces_native__lastIndexMarshalled;
                    }
                    // CleanupCallerAllocated - Perform cleanup of caller allocated resources.
                    {
                        global::System.ReadOnlySpan<global::System.IntPtr> __namespaces_native__nativeSpan = __namespaces_native__marshaller.GetUnmanagedValuesDestination();
                        for (int __i0 = 0; __i0 < __namespaces_native__lastIndexMarshalled; ++__i0)
                        {
                            void* __namespaces_native__nativeSpan____i0_exactType = (void*)__namespaces_native__nativeSpan[__i0];
                            global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedNamespace>.Free(__namespaces_native__nativeSpan____i0_exactType);
                        }
                    }
                    __namespaces_native__marshaller.Free();
                }
                return __retVal;
            }
        }
    }
 
    [global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
    internal static unsafe int ABI_GetNamespaces(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, int bufferLength, int* __count_native__param, global::System.IntPtr* __namespaces_native)
    {
        unsafe
        {
            global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default;
            ref int __count_native = ref *__count_native__param;
            int count = default;
            global::Microsoft.DiaSymReader.ISymUnmanagedNamespace[] namespaces = default;
            int __retVal = default;
            // Setup - Perform required setup.
            int __namespaces_native__numElements;
            __namespaces_native__numElements = default;
            try
            {
                // Unmarshal - Convert native data to managed data.
                __namespaces_native__numElements = bufferLength;
                namespaces = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedNamespace, global::System.IntPtr>.AllocateContainerForManagedElements(__namespaces_native, __namespaces_native__numElements);
                {
                    global::System.ReadOnlySpan<global::System.IntPtr> __namespaces_native__nativeSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedNamespace, global::System.IntPtr>.GetUnmanagedValuesSource(__namespaces_native, __namespaces_native__numElements);
                    global::System.Span<global::Microsoft.DiaSymReader.ISymUnmanagedNamespace> __namespaces_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedNamespace, global::System.IntPtr>.GetManagedValuesDestination(namespaces);
                    for (int __i0 = 0; __i0 < __namespaces_native__nativeSpan.Length; ++__i0)
                    {
                        void* __namespaces_native__nativeSpan____i0_exactType = (void*)__namespaces_native__nativeSpan[__i0];
                        __namespaces_native__managedSpan[__i0] = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedNamespace>.ConvertToManaged(__namespaces_native__nativeSpan____i0_exactType);
                    }
                }
                @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native);
                __retVal = @this.GetNamespaces(bufferLength, out count, namespaces);
                // Marshal - Convert managed data to native data.
                {
                    __namespaces_native__numElements = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedNamespace, global::System.IntPtr>.GetManagedValuesDestination(namespaces).Length;
                    global::System.Span<global::System.IntPtr> __namespaces_native__nativeSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedNamespace, global::System.IntPtr>.GetUnmanagedValuesSource(__namespaces_native, __namespaces_native__numElements).GetPinnableReference()), __namespaces_native__numElements);
                    global::System.Span<global::Microsoft.DiaSymReader.ISymUnmanagedNamespace> __namespaces_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedNamespace, global::System.IntPtr>.GetManagedValuesDestination(namespaces);
                    for (int __i0 = 0; __i0 < __namespaces_native__nativeSpan.Length; ++__i0)
                    {
                        void* __namespaces_native__nativeSpan____i0_exactType = (void*)__namespaces_native__nativeSpan[__i0];
                        void* __namespaces_native__nativeSpan____i0__original = __namespaces_native__nativeSpan____i0_exactType;
                        __namespaces_native__nativeSpan____i0_exactType = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedNamespace>.ConvertToUnmanaged(__namespaces_native__managedSpan[__i0]);
                        global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedNamespace>.Free(__namespaces_native__nativeSpan____i0__original);
                        __namespaces_native__nativeSpan[__i0] = (global::System.IntPtr)__namespaces_native__nativeSpan____i0_exactType;
                    }
                }
                __count_native = count;
            }
            catch (global::System.Exception __exception)
            {
                __retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
            }
            return __retVal;
        }
    }
}
 
namespace Microsoft.DiaSymReader
{
    [global::System.Runtime.InteropServices.Marshalling.IUnknownDerivedAttribute<InterfaceInformation, InterfaceImplementation>]
    public unsafe partial interface ISymUnmanagedScope
    {
    }
}