|
// <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> GetMethod_3;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void**, int> GetParent_4;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int, int*, global::System.IntPtr*, int> GetChildren_5;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int*, int> GetStartOffset_6;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int*, int> GetEndOffset_7;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int*, int> GetLocalCount_8;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int, int*, global::System.IntPtr*, int> GetLocals_9;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int, int*, global::System.IntPtr*, int> GetNamespaces_10;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int*, int> GetConstantCount_11;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int, int*, global::System.IntPtr*, int> GetConstants_12;
}
file unsafe sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType
{
public static global::System.Guid Iid { get; } = new([186, 47, 147, 174, 216, 63, 186, 77, 130, 50, 48, 162, 48, 155, 2, 219]);
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.DiaSymReader.ISymUnmanagedScope2
{
[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.DiaSymReader.ISymUnmanagedScope).TypeHandle).ManagedVirtualMethodTable,
global::System.Runtime.CompilerServices.Unsafe.AsPointer(ref Vtable),
(nuint)(sizeof(void*) * 11));
Vtable.GetConstantCount_11 = &ABI_GetConstantCount;
Vtable.GetConstants_12 = &ABI_GetConstants;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.DiaSymReader.ISymUnmanagedScope2.GetConstantCount(out int count)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope2));
var __target = ((delegate* unmanaged[MemberFunction]<void*, int*, int> )__vtable[11]);
{
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 int ABI_GetConstantCount(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, int* __count_native__param)
{
global::Microsoft.DiaSymReader.ISymUnmanagedScope2 @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.ISymUnmanagedScope2>(__this_native);
__retVal = @this.GetConstantCount(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", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.DiaSymReader.ISymUnmanagedScope2.GetConstants(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedConstant[] constants)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope2));
var __target = ((delegate* unmanaged[MemberFunction]<void*, int, int*, global::System.IntPtr*, int> )__vtable[12]);
{
bool __invokeSucceeded = default;
count = default;
global::System.IntPtr* __constants_native = default;
int __retVal = default;
// Setup - Perform required setup.
scoped global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedConstant, global::System.IntPtr>.ManagedToUnmanagedIn __constants_native__marshaller = new();
int __constants_native__numElements;
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __constants_native__numElements);
int __constants_native__lastIndexMarshalled = 0;
try
{
// Marshal - Convert managed data to native data.
__constants_native__marshaller.FromManaged(constants, stackalloc global::System.IntPtr[global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedConstant, global::System.IntPtr>.ManagedToUnmanagedIn.BufferSize]);
{
global::System.ReadOnlySpan<global::Microsoft.DiaSymReader.ISymUnmanagedConstant> __constants_native__managedSpan = __constants_native__marshaller.GetManagedValuesSource();
global::System.Span<global::System.IntPtr> __constants_native__nativeSpan = __constants_native__marshaller.GetUnmanagedValuesDestination();
for (int __i0 = 0; __i0 < __constants_native__managedSpan.Length; ++__i0, ++__constants_native__lastIndexMarshalled)
{
void* __constants_native__nativeSpan____i0_exactType = (void*)__constants_native__nativeSpan[__i0];
__constants_native__nativeSpan____i0_exactType = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedConstant>.ConvertToUnmanaged(__constants_native__managedSpan[__i0]);
__constants_native__nativeSpan[__i0] = (global::System.IntPtr)__constants_native__nativeSpan____i0_exactType;
}
}
// Pin - Pin data in preparation for calling the P/Invoke.
fixed (void* __constants_native__unused = __constants_native__marshaller)
fixed (int* __count_native = &count)
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__constants_native = __constants_native__marshaller.ToUnmanaged();
__retVal = __target(__this, bufferLength, __count_native, __constants_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.
{
__constants_native__numElements = __constants_native__marshaller.GetManagedValuesSource().Length;
global::System.Span<global::Microsoft.DiaSymReader.ISymUnmanagedConstant> __constants_native__managedSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in __constants_native__marshaller.GetManagedValuesSource().GetPinnableReference()), __constants_native__numElements);
global::System.Span<global::System.IntPtr> __constants_native__nativeSpan = __constants_native__marshaller.GetUnmanagedValuesDestination();
for (int __i0 = 0; __i0 < __constants_native__managedSpan.Length; ++__i0)
{
void* __constants_native__nativeSpan____i0_exactType = (void*)__constants_native__nativeSpan[__i0];
__constants_native__managedSpan[__i0] = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedConstant>.ConvertToManaged(__constants_native__nativeSpan____i0_exactType);
}
}
}
finally
{
if (__invokeSucceeded)
{
// CleanupCalleeAllocated - Perform cleanup of callee allocated resources.
_ = __constants_native__lastIndexMarshalled;
}
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
{
global::System.ReadOnlySpan<global::System.IntPtr> __constants_native__nativeSpan = __constants_native__marshaller.GetUnmanagedValuesDestination();
for (int __i0 = 0; __i0 < __constants_native__lastIndexMarshalled; ++__i0)
{
void* __constants_native__nativeSpan____i0_exactType = (void*)__constants_native__nativeSpan[__i0];
global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedConstant>.Free(__constants_native__nativeSpan____i0_exactType);
}
}
__constants_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_GetConstants(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, int bufferLength, int* __count_native__param, global::System.IntPtr* __constants_native)
{
global::Microsoft.DiaSymReader.ISymUnmanagedScope2 @this = default;
ref int __count_native = ref *__count_native__param;
int count = default;
global::Microsoft.DiaSymReader.ISymUnmanagedConstant[] constants = default;
int __retVal = default;
// Setup - Perform required setup.
int __constants_native__numElements;
__constants_native__numElements = default;
try
{
// Unmarshal - Convert native data to managed data.
__constants_native__numElements = bufferLength;
constants = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedConstant, global::System.IntPtr>.AllocateContainerForManagedElements(__constants_native, __constants_native__numElements);
{
global::System.ReadOnlySpan<global::System.IntPtr> __constants_native__nativeSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedConstant, global::System.IntPtr>.GetUnmanagedValuesSource(__constants_native, __constants_native__numElements);
global::System.Span<global::Microsoft.DiaSymReader.ISymUnmanagedConstant> __constants_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedConstant, global::System.IntPtr>.GetManagedValuesDestination(constants);
for (int __i0 = 0; __i0 < __constants_native__nativeSpan.Length; ++__i0)
{
void* __constants_native__nativeSpan____i0_exactType = (void*)__constants_native__nativeSpan[__i0];
__constants_native__managedSpan[__i0] = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedConstant>.ConvertToManaged(__constants_native__nativeSpan____i0_exactType);
}
}
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope2>(__this_native);
__retVal = @this.GetConstants(bufferLength, out count, constants);
// Marshal - Convert managed data to native data.
{
__constants_native__numElements = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedConstant, global::System.IntPtr>.GetManagedValuesDestination(constants).Length;
global::System.Span<global::System.IntPtr> __constants_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.ISymUnmanagedConstant, global::System.IntPtr>.GetUnmanagedValuesSource(__constants_native, __constants_native__numElements).GetPinnableReference()), __constants_native__numElements);
global::System.Span<global::Microsoft.DiaSymReader.ISymUnmanagedConstant> __constants_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedConstant, global::System.IntPtr>.GetManagedValuesDestination(constants);
for (int __i0 = 0; __i0 < __constants_native__nativeSpan.Length; ++__i0)
{
void* __constants_native__nativeSpan____i0_exactType = (void*)__constants_native__nativeSpan[__i0];
void* __constants_native__nativeSpan____i0__original = __constants_native__nativeSpan____i0_exactType;
__constants_native__nativeSpan____i0_exactType = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedConstant>.ConvertToUnmanaged(__constants_native__managedSpan[__i0]);
global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedConstant>.Free(__constants_native__nativeSpan____i0__original);
__constants_native__nativeSpan[__i0] = (global::System.IntPtr)__constants_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", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.DiaSymReader.ISymUnmanagedScope2.GetMethod(out global::Microsoft.DiaSymReader.ISymUnmanagedMethod method)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope2));
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.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.DiaSymReader.ISymUnmanagedScope2.GetParent(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope2));
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.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.DiaSymReader.ISymUnmanagedScope2.GetChildren(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedScope[] children)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope2));
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.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.DiaSymReader.ISymUnmanagedScope2.GetStartOffset(out int offset)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope2));
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.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.DiaSymReader.ISymUnmanagedScope2.GetEndOffset(out int offset)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope2));
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.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.DiaSymReader.ISymUnmanagedScope2.GetLocalCount(out int count)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope2));
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.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.DiaSymReader.ISymUnmanagedScope2.GetLocals(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedVariable[] locals)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope2));
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.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.DiaSymReader.ISymUnmanagedScope2.GetNamespaces(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedNamespace[] namespaces)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope2));
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;
}
}
int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetMethod(out global::Microsoft.DiaSymReader.ISymUnmanagedMethod method) => throw new global::System.Diagnostics.UnreachableException();
int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetParent(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) => throw new global::System.Diagnostics.UnreachableException();
int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetChildren(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedScope[] children) => throw new global::System.Diagnostics.UnreachableException();
int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetStartOffset(out int offset) => throw new global::System.Diagnostics.UnreachableException();
int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetEndOffset(out int offset) => throw new global::System.Diagnostics.UnreachableException();
int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetLocalCount(out int count) => throw new global::System.Diagnostics.UnreachableException();
int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetLocals(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedVariable[] locals) => throw new global::System.Diagnostics.UnreachableException();
int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetNamespaces(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedNamespace[] namespaces) => throw new global::System.Diagnostics.UnreachableException();
}
namespace Microsoft.DiaSymReader
{
[global::System.Runtime.InteropServices.Marshalling.IUnknownDerivedAttribute<InterfaceInformation, InterfaceImplementation>]
public unsafe partial interface ISymUnmanagedScope2
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
[global::System.Runtime.InteropServices.PreserveSigAttribute()]
new int GetMethod(out global::Microsoft.DiaSymReader.ISymUnmanagedMethod method) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetMethod(out 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 GetParent(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetParent(out scope);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
[global::System.Runtime.InteropServices.PreserveSigAttribute()]
new int GetChildren(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedScope[] children) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetChildren(bufferLength, out count, children);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
[global::System.Runtime.InteropServices.PreserveSigAttribute()]
new int GetStartOffset(out int offset) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetStartOffset(out offset);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
[global::System.Runtime.InteropServices.PreserveSigAttribute()]
new int GetEndOffset(out int offset) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetEndOffset(out offset);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
[global::System.Runtime.InteropServices.PreserveSigAttribute()]
new int GetLocalCount(out int count) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetLocalCount(out count);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
[global::System.Runtime.InteropServices.PreserveSigAttribute()]
new int GetLocals(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedVariable[] locals) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetLocals(bufferLength, out count, locals);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
[global::System.Runtime.InteropServices.PreserveSigAttribute()]
new int GetNamespaces(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedNamespace[] namespaces) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetNamespaces(bufferLength, out count, namespaces);
}
}
|