|
// <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*, ulong*, int> StartEnumAssemblies_3;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, void**, int> EnumAssembly_4;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int> EndEnumAssemblies_5;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, int> StartEnumTypeDefinitions_6;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, void**, int> EnumTypeDefinition_7;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int> EndEnumTypeDefinitions_8;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, ulong*, int> StartEnumTypeInstances_9;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, void**, int> EnumTypeInstance_10;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int> EndEnumTypeInstances_11;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, char*, uint, ulong*, int> StartEnumTypeDefinitionsByName_12;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, void**, int> EnumTypeDefinitionByName_13;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int> EndEnumTypeDefinitionsByName_14;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, char*, uint, void*, ulong*, int> StartEnumTypeInstancesByName_15;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, void**, int> EnumTypeInstanceByName_16;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int> EndEnumTypeInstancesByName_17;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, void**, int> GetTypeDefinitionByToken_18;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, char*, uint, ulong*, int> StartEnumMethodDefinitionsByName_19;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, void**, int> EnumMethodDefinitionByName_20;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int> EndEnumMethodDefinitionsByName_21;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, char*, uint, void*, ulong*, int> StartEnumMethodInstancesByName_22;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, void**, int> EnumMethodInstanceByName_23;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int> EndEnumMethodInstancesByName_24;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, void**, int> GetMethodDefinitionByToken_25;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, char*, uint, void*, void*, ulong*, int> StartEnumDataByName_26;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, void**, int> EnumDataByName_27;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int> EndEnumDataByName_28;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, uint*, char*, int> GetName_29;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, uint*, char*, int> GetFileName_30;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint*, int> GetFlags_31;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule*, int> IsSameObject_32;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, int> StartEnumExtents_33;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, void*, int> EnumExtent_34;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int> EndEnumExtents_35;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, uint, byte*, uint, byte*, int> Request_36;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, int> StartEnumAppDomains_37;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong*, void**, int> EnumAppDomain_38;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int> EndEnumAppDomains_39;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::System.Guid*, int> GetVersionId_40;
}
file unsafe sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType
{
public static global::System.Guid Iid { get; } = new([73, 40, 227, 136, 10, 10, 176, 76, 144, 34, 124, 210, 233, 225, 57, 226]);
public static void** ManagedVirtualMethodTable => (void**)global::System.Runtime.CompilerServices.Unsafe.AsPointer(in InterfaceImplementation.Vtable);
}
[global::System.Runtime.InteropServices.DynamicInterfaceCastableImplementationAttribute]
file unsafe interface InterfaceImplementation : global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule
{
[global::System.Runtime.CompilerServices.FixedAddressValueTypeAttribute]
public static readonly InterfaceImplementationVtable Vtable;
static InterfaceImplementation()
{
global::System.Runtime.InteropServices.ComWrappers.GetIUnknownImpl(
out *(nint*)&((InterfaceImplementationVtable*)global::System.Runtime.CompilerServices.Unsafe.AsPointer(ref Vtable))->QueryInterface_0,
out *(nint*)&((InterfaceImplementationVtable*)global::System.Runtime.CompilerServices.Unsafe.AsPointer(ref Vtable))->AddRef_1,
out *(nint*)&((InterfaceImplementationVtable*)global::System.Runtime.CompilerServices.Unsafe.AsPointer(ref Vtable))->Release_2);
Vtable.StartEnumAssemblies_3 = &ABI_StartEnumAssemblies;
Vtable.EnumAssembly_4 = &ABI_EnumAssembly;
Vtable.EndEnumAssemblies_5 = &ABI_EndEnumAssemblies;
Vtable.StartEnumTypeDefinitions_6 = &ABI_StartEnumTypeDefinitions;
Vtable.EnumTypeDefinition_7 = &ABI_EnumTypeDefinition;
Vtable.EndEnumTypeDefinitions_8 = &ABI_EndEnumTypeDefinitions;
Vtable.StartEnumTypeInstances_9 = &ABI_StartEnumTypeInstances;
Vtable.EnumTypeInstance_10 = &ABI_EnumTypeInstance;
Vtable.EndEnumTypeInstances_11 = &ABI_EndEnumTypeInstances;
Vtable.StartEnumTypeDefinitionsByName_12 = &ABI_StartEnumTypeDefinitionsByName;
Vtable.EnumTypeDefinitionByName_13 = &ABI_EnumTypeDefinitionByName;
Vtable.EndEnumTypeDefinitionsByName_14 = &ABI_EndEnumTypeDefinitionsByName;
Vtable.StartEnumTypeInstancesByName_15 = &ABI_StartEnumTypeInstancesByName;
Vtable.EnumTypeInstanceByName_16 = &ABI_EnumTypeInstanceByName;
Vtable.EndEnumTypeInstancesByName_17 = &ABI_EndEnumTypeInstancesByName;
Vtable.GetTypeDefinitionByToken_18 = &ABI_GetTypeDefinitionByToken;
Vtable.StartEnumMethodDefinitionsByName_19 = &ABI_StartEnumMethodDefinitionsByName;
Vtable.EnumMethodDefinitionByName_20 = &ABI_EnumMethodDefinitionByName;
Vtable.EndEnumMethodDefinitionsByName_21 = &ABI_EndEnumMethodDefinitionsByName;
Vtable.StartEnumMethodInstancesByName_22 = &ABI_StartEnumMethodInstancesByName;
Vtable.EnumMethodInstanceByName_23 = &ABI_EnumMethodInstanceByName;
Vtable.EndEnumMethodInstancesByName_24 = &ABI_EndEnumMethodInstancesByName;
Vtable.GetMethodDefinitionByToken_25 = &ABI_GetMethodDefinitionByToken;
Vtable.StartEnumDataByName_26 = &ABI_StartEnumDataByName;
Vtable.EnumDataByName_27 = &ABI_EnumDataByName;
Vtable.EndEnumDataByName_28 = &ABI_EndEnumDataByName;
Vtable.GetName_29 = &ABI_GetName;
Vtable.GetFileName_30 = &ABI_GetFileName;
Vtable.GetFlags_31 = &ABI_GetFlags;
Vtable.IsSameObject_32 = &ABI_IsSameObject;
Vtable.StartEnumExtents_33 = &ABI_StartEnumExtents;
Vtable.EnumExtent_34 = &ABI_EnumExtent;
Vtable.EndEnumExtents_35 = &ABI_EndEnumExtents;
Vtable.Request_36 = &ABI_Request;
Vtable.StartEnumAppDomains_37 = &ABI_StartEnumAppDomains;
Vtable.EnumAppDomain_38 = &ABI_EnumAppDomain;
Vtable.EndEnumAppDomains_39 = &ABI_EndEnumAppDomains;
Vtable.GetVersionId_40 = &ABI_GetVersionId;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.StartEnumAssemblies(ulong* handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, int> )__vtable[3]);
{
int __retVal;
{
__retVal = __target(__this, handle);
}
// 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_StartEnumAssemblies(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong* handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.StartEnumAssemblies(handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EnumAssembly(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAssembly> assembly)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, void**, int> )__vtable[4]);
{
void** __assembly_native = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAssembly>.ManagedToUnmanaged __assembly_native__marshaller = new();
try
{
// Marshal - Convert managed data to native data.
__assembly_native__marshaller.FromManaged(assembly);
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__assembly_native = __assembly_native__marshaller.ToUnmanaged();
__retVal = __target(__this, handle, __assembly_native);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
__assembly_native__marshaller.OnInvoked();
global::System.GC.KeepAlive(this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__assembly_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_EnumAssembly(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong* handle, void** __assembly_native)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAssembly> assembly = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAssembly>.UnmanagedToManaged __assembly_native__marshaller = new();
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__assembly_native__marshaller.FromUnmanaged(__assembly_native);
// Unmarshal - Convert native data to managed data.
assembly = __assembly_native__marshaller.ToManaged();
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EnumAssembly(handle, assembly);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__assembly_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.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EndEnumAssemblies(ulong handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int> )__vtable[5]);
{
int __retVal;
{
__retVal = __target(__this, handle);
}
// 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_EndEnumAssemblies(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EndEnumAssemblies(handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.StartEnumTypeDefinitions(ulong* handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, int> )__vtable[6]);
{
int __retVal;
{
__retVal = __target(__this, handle);
}
// 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_StartEnumTypeDefinitions(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong* handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.StartEnumTypeDefinitions(handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EnumTypeDefinition(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeDefinition> typeDefinition)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, void**, int> )__vtable[7]);
{
void** __typeDefinition_native = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeDefinition>.ManagedToUnmanaged __typeDefinition_native__marshaller = new();
try
{
// Marshal - Convert managed data to native data.
__typeDefinition_native__marshaller.FromManaged(typeDefinition);
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__typeDefinition_native = __typeDefinition_native__marshaller.ToUnmanaged();
__retVal = __target(__this, handle, __typeDefinition_native);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
__typeDefinition_native__marshaller.OnInvoked();
global::System.GC.KeepAlive(this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__typeDefinition_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_EnumTypeDefinition(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong* handle, void** __typeDefinition_native)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeDefinition> typeDefinition = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeDefinition>.UnmanagedToManaged __typeDefinition_native__marshaller = new();
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__typeDefinition_native__marshaller.FromUnmanaged(__typeDefinition_native);
// Unmarshal - Convert native data to managed data.
typeDefinition = __typeDefinition_native__marshaller.ToManaged();
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EnumTypeDefinition(handle, typeDefinition);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__typeDefinition_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.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EndEnumTypeDefinitions(ulong handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int> )__vtable[8]);
{
int __retVal;
{
__retVal = __target(__this, handle);
}
// 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_EndEnumTypeDefinitions(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EndEnumTypeDefinitions(handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.StartEnumTypeInstances(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain appDomain, ulong* handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, ulong*, int> )__vtable[9]);
{
void* __appDomain_native = default;
int __retVal = default;
try
{
// Marshal - Convert managed data to native data.
__appDomain_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain>.ConvertToUnmanaged(appDomain);
{
__retVal = __target(__this, __appDomain_native, handle);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
global::System.GC.KeepAlive(this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain>.Free(__appDomain_native);
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_StartEnumTypeInstances(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, void* __appDomain_native, ulong* handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain appDomain = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
appDomain = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain>.ConvertToManaged(__appDomain_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.StartEnumTypeInstances(appDomain, handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EnumTypeInstance(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeInstance> typeInstance)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, void**, int> )__vtable[10]);
{
void** __typeInstance_native = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeInstance>.ManagedToUnmanaged __typeInstance_native__marshaller = new();
try
{
// Marshal - Convert managed data to native data.
__typeInstance_native__marshaller.FromManaged(typeInstance);
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__typeInstance_native = __typeInstance_native__marshaller.ToUnmanaged();
__retVal = __target(__this, handle, __typeInstance_native);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
__typeInstance_native__marshaller.OnInvoked();
global::System.GC.KeepAlive(this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__typeInstance_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_EnumTypeInstance(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong* handle, void** __typeInstance_native)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeInstance> typeInstance = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeInstance>.UnmanagedToManaged __typeInstance_native__marshaller = new();
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__typeInstance_native__marshaller.FromUnmanaged(__typeInstance_native);
// Unmarshal - Convert native data to managed data.
typeInstance = __typeInstance_native__marshaller.ToManaged();
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EnumTypeInstance(handle, typeInstance);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__typeInstance_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.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EndEnumTypeInstances(ulong handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int> )__vtable[11]);
{
int __retVal;
{
__retVal = __target(__this, handle);
}
// 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_EndEnumTypeInstances(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EndEnumTypeInstances(handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.StartEnumTypeDefinitionsByName(char* name, uint flags, ulong* handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, char*, uint, ulong*, int> )__vtable[12]);
{
int __retVal;
{
__retVal = __target(__this, name, flags, handle);
}
// 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_StartEnumTypeDefinitionsByName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, char* name, uint flags, ulong* handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.StartEnumTypeDefinitionsByName(name, flags, handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EnumTypeDefinitionByName(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeDefinition> type)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, void**, int> )__vtable[13]);
{
void** __type_native = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeDefinition>.ManagedToUnmanaged __type_native__marshaller = new();
try
{
// Marshal - Convert managed data to native data.
__type_native__marshaller.FromManaged(type);
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__type_native = __type_native__marshaller.ToUnmanaged();
__retVal = __target(__this, handle, __type_native);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
__type_native__marshaller.OnInvoked();
global::System.GC.KeepAlive(this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__type_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_EnumTypeDefinitionByName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong* handle, void** __type_native)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeDefinition> type = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeDefinition>.UnmanagedToManaged __type_native__marshaller = new();
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__type_native__marshaller.FromUnmanaged(__type_native);
// Unmarshal - Convert native data to managed data.
type = __type_native__marshaller.ToManaged();
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EnumTypeDefinitionByName(handle, type);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__type_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.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EndEnumTypeDefinitionsByName(ulong handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int> )__vtable[14]);
{
int __retVal;
{
__retVal = __target(__this, handle);
}
// 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_EndEnumTypeDefinitionsByName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EndEnumTypeDefinitionsByName(handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.StartEnumTypeInstancesByName(char* name, uint flags, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain appDomain, ulong* handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, char*, uint, void*, ulong*, int> )__vtable[15]);
{
void* __appDomain_native = default;
int __retVal = default;
try
{
// Marshal - Convert managed data to native data.
__appDomain_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain>.ConvertToUnmanaged(appDomain);
{
__retVal = __target(__this, name, flags, __appDomain_native, handle);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
global::System.GC.KeepAlive(this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain>.Free(__appDomain_native);
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_StartEnumTypeInstancesByName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, char* name, uint flags, void* __appDomain_native, ulong* handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain appDomain = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
appDomain = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain>.ConvertToManaged(__appDomain_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.StartEnumTypeInstancesByName(name, flags, appDomain, handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EnumTypeInstanceByName(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeInstance> type)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, void**, int> )__vtable[16]);
{
void** __type_native = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeInstance>.ManagedToUnmanaged __type_native__marshaller = new();
try
{
// Marshal - Convert managed data to native data.
__type_native__marshaller.FromManaged(type);
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__type_native = __type_native__marshaller.ToUnmanaged();
__retVal = __target(__this, handle, __type_native);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
__type_native__marshaller.OnInvoked();
global::System.GC.KeepAlive(this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__type_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_EnumTypeInstanceByName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong* handle, void** __type_native)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeInstance> type = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeInstance>.UnmanagedToManaged __type_native__marshaller = new();
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__type_native__marshaller.FromUnmanaged(__type_native);
// Unmarshal - Convert native data to managed data.
type = __type_native__marshaller.ToManaged();
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EnumTypeInstanceByName(handle, type);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__type_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.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EndEnumTypeInstancesByName(ulong handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int> )__vtable[17]);
{
int __retVal;
{
__retVal = __target(__this, handle);
}
// 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_EndEnumTypeInstancesByName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EndEnumTypeInstancesByName(handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.GetTypeDefinitionByToken(uint token, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeDefinition> typeDefinition)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, void**, int> )__vtable[18]);
{
void** __typeDefinition_native = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeDefinition>.ManagedToUnmanaged __typeDefinition_native__marshaller = new();
try
{
// Marshal - Convert managed data to native data.
__typeDefinition_native__marshaller.FromManaged(typeDefinition);
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__typeDefinition_native = __typeDefinition_native__marshaller.ToUnmanaged();
__retVal = __target(__this, token, __typeDefinition_native);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
__typeDefinition_native__marshaller.OnInvoked();
global::System.GC.KeepAlive(this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__typeDefinition_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_GetTypeDefinitionByToken(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint token, void** __typeDefinition_native)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeDefinition> typeDefinition = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeDefinition>.UnmanagedToManaged __typeDefinition_native__marshaller = new();
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__typeDefinition_native__marshaller.FromUnmanaged(__typeDefinition_native);
// Unmarshal - Convert native data to managed data.
typeDefinition = __typeDefinition_native__marshaller.ToManaged();
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.GetTypeDefinitionByToken(token, typeDefinition);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__typeDefinition_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.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.StartEnumMethodDefinitionsByName(char* name, uint flags, ulong* handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, char*, uint, ulong*, int> )__vtable[19]);
{
int __retVal;
{
__retVal = __target(__this, name, flags, handle);
}
// 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_StartEnumMethodDefinitionsByName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, char* name, uint flags, ulong* handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.StartEnumMethodDefinitionsByName(name, flags, handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EnumMethodDefinitionByName(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodDefinition> method)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, void**, int> )__vtable[20]);
{
void** __method_native = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodDefinition>.ManagedToUnmanaged __method_native__marshaller = new();
try
{
// Marshal - Convert managed data to native data.
__method_native__marshaller.FromManaged(method);
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__method_native = __method_native__marshaller.ToUnmanaged();
__retVal = __target(__this, handle, __method_native);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
__method_native__marshaller.OnInvoked();
global::System.GC.KeepAlive(this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__method_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_EnumMethodDefinitionByName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong* handle, void** __method_native)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodDefinition> method = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodDefinition>.UnmanagedToManaged __method_native__marshaller = new();
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__method_native__marshaller.FromUnmanaged(__method_native);
// Unmarshal - Convert native data to managed data.
method = __method_native__marshaller.ToManaged();
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EnumMethodDefinitionByName(handle, method);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__method_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.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EndEnumMethodDefinitionsByName(ulong handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int> )__vtable[21]);
{
int __retVal;
{
__retVal = __target(__this, handle);
}
// 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_EndEnumMethodDefinitionsByName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EndEnumMethodDefinitionsByName(handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.StartEnumMethodInstancesByName(char* name, uint flags, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain appDomain, ulong* handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, char*, uint, void*, ulong*, int> )__vtable[22]);
{
void* __appDomain_native = default;
int __retVal = default;
try
{
// Marshal - Convert managed data to native data.
__appDomain_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain>.ConvertToUnmanaged(appDomain);
{
__retVal = __target(__this, name, flags, __appDomain_native, handle);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
global::System.GC.KeepAlive(this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain>.Free(__appDomain_native);
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_StartEnumMethodInstancesByName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, char* name, uint flags, void* __appDomain_native, ulong* handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain appDomain = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
appDomain = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain>.ConvertToManaged(__appDomain_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.StartEnumMethodInstancesByName(name, flags, appDomain, handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EnumMethodInstanceByName(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance> method)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, void**, int> )__vtable[23]);
{
void** __method_native = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance>.ManagedToUnmanaged __method_native__marshaller = new();
try
{
// Marshal - Convert managed data to native data.
__method_native__marshaller.FromManaged(method);
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__method_native = __method_native__marshaller.ToUnmanaged();
__retVal = __target(__this, handle, __method_native);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
__method_native__marshaller.OnInvoked();
global::System.GC.KeepAlive(this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__method_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_EnumMethodInstanceByName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong* handle, void** __method_native)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance> method = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance>.UnmanagedToManaged __method_native__marshaller = new();
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__method_native__marshaller.FromUnmanaged(__method_native);
// Unmarshal - Convert native data to managed data.
method = __method_native__marshaller.ToManaged();
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EnumMethodInstanceByName(handle, method);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__method_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.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EndEnumMethodInstancesByName(ulong handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int> )__vtable[24]);
{
int __retVal;
{
__retVal = __target(__this, handle);
}
// 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_EndEnumMethodInstancesByName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EndEnumMethodInstancesByName(handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.GetMethodDefinitionByToken(uint token, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodDefinition> methodDefinition)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, void**, int> )__vtable[25]);
{
void** __methodDefinition_native = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodDefinition>.ManagedToUnmanaged __methodDefinition_native__marshaller = new();
try
{
// Marshal - Convert managed data to native data.
__methodDefinition_native__marshaller.FromManaged(methodDefinition);
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__methodDefinition_native = __methodDefinition_native__marshaller.ToUnmanaged();
__retVal = __target(__this, token, __methodDefinition_native);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
__methodDefinition_native__marshaller.OnInvoked();
global::System.GC.KeepAlive(this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__methodDefinition_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_GetMethodDefinitionByToken(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint token, void** __methodDefinition_native)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodDefinition> methodDefinition = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodDefinition>.UnmanagedToManaged __methodDefinition_native__marshaller = new();
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__methodDefinition_native__marshaller.FromUnmanaged(__methodDefinition_native);
// Unmarshal - Convert native data to managed data.
methodDefinition = __methodDefinition_native__marshaller.ToManaged();
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.GetMethodDefinitionByToken(token, methodDefinition);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__methodDefinition_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.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.StartEnumDataByName(char* name, uint flags, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain appDomain, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask tlsTask, ulong* handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, char*, uint, void*, void*, ulong*, int> )__vtable[26]);
{
void* __appDomain_native = default;
void* __tlsTask_native = default;
int __retVal = default;
try
{
// Marshal - Convert managed data to native data.
__tlsTask_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask>.ConvertToUnmanaged(tlsTask);
__appDomain_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain>.ConvertToUnmanaged(appDomain);
{
__retVal = __target(__this, name, flags, __appDomain_native, __tlsTask_native, handle);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
global::System.GC.KeepAlive(this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask>.Free(__tlsTask_native);
global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain>.Free(__appDomain_native);
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_StartEnumDataByName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, char* name, uint flags, void* __appDomain_native, void* __tlsTask_native, ulong* handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain appDomain = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask tlsTask = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
tlsTask = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask>.ConvertToManaged(__tlsTask_native);
appDomain = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain>.ConvertToManaged(__appDomain_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.StartEnumDataByName(name, flags, appDomain, tlsTask, handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EnumDataByName(ulong* handle, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataValue> value)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, void**, int> )__vtable[27]);
{
void** __value_native = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataValue>.ManagedToUnmanaged __value_native__marshaller = new();
try
{
// Marshal - Convert managed data to native data.
__value_native__marshaller.FromManaged(value);
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__value_native = __value_native__marshaller.ToUnmanaged();
__retVal = __target(__this, handle, __value_native);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
__value_native__marshaller.OnInvoked();
global::System.GC.KeepAlive(this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__value_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_EnumDataByName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong* handle, void** __value_native)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataValue> value = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataValue>.UnmanagedToManaged __value_native__marshaller = new();
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__value_native__marshaller.FromUnmanaged(__value_native);
// Unmarshal - Convert native data to managed data.
value = __value_native__marshaller.ToManaged();
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EnumDataByName(handle, value);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__value_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.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EndEnumDataByName(ulong handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int> )__vtable[28]);
{
int __retVal;
{
__retVal = __target(__this, handle);
}
// 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_EndEnumDataByName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EndEnumDataByName(handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.GetName(uint bufLen, uint* nameLen, char* name)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, uint*, char*, int> )__vtable[29]);
{
int __retVal;
{
__retVal = __target(__this, bufLen, nameLen, name);
}
// 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_GetName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint bufLen, uint* nameLen, char* name)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.GetName(bufLen, nameLen, name);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.GetFileName(uint bufLen, uint* nameLen, char* name)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, uint*, char*, int> )__vtable[30]);
{
int __retVal;
{
__retVal = __target(__this, bufLen, nameLen, name);
}
// 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_GetFileName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint bufLen, uint* nameLen, char* name)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.GetFileName(bufLen, nameLen, name);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.GetFlags(uint* flags)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint*, int> )__vtable[31]);
{
int __retVal;
{
__retVal = __target(__this, flags);
}
// 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_GetFlags(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint* flags)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.GetFlags(flags);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.IsSameObject(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule* mod)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule*, int> )__vtable[32]);
{
int __retVal;
{
__retVal = __target(__this, mod);
}
// 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_IsSameObject(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule* mod)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.IsSameObject(mod);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.StartEnumExtents(ulong* handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, int> )__vtable[33]);
{
int __retVal;
{
__retVal = __target(__this, handle);
}
// 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_StartEnumExtents(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong* handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.StartEnumExtents(handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EnumExtent(ulong* handle, void* extent)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, void*, int> )__vtable[34]);
{
int __retVal;
{
__retVal = __target(__this, handle, extent);
}
// 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_EnumExtent(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong* handle, void* extent)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EnumExtent(handle, extent);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EndEnumExtents(ulong handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int> )__vtable[35]);
{
int __retVal;
{
__retVal = __target(__this, handle);
}
// 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_EndEnumExtents(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EndEnumExtents(handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.Request(uint reqCode, uint inBufferSize, byte* inBuffer, uint outBufferSize, byte* outBuffer)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, uint, byte*, uint, byte*, int> )__vtable[36]);
{
int __retVal;
{
__retVal = __target(__this, reqCode, inBufferSize, inBuffer, outBufferSize, outBuffer);
}
// 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_Request(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint reqCode, uint inBufferSize, byte* inBuffer, uint outBufferSize, byte* outBuffer)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.Request(reqCode, inBufferSize, inBuffer, outBufferSize, outBuffer);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.StartEnumAppDomains(ulong* handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, int> )__vtable[37]);
{
int __retVal;
{
__retVal = __target(__this, handle);
}
// 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_StartEnumAppDomains(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong* handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.StartEnumAppDomains(handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EnumAppDomain(ulong* handle, void** appDomain)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong*, void**, int> )__vtable[38]);
{
int __retVal;
{
__retVal = __target(__this, handle, appDomain);
}
// 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_EnumAppDomain(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong* handle, void** appDomain)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EnumAppDomain(handle, appDomain);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.EndEnumAppDomains(ulong handle)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int> )__vtable[39]);
{
int __retVal;
{
__retVal = __target(__this, handle);
}
// 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_EndEnumAppDomains(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong handle)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.EndEnumAppDomains(handle);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule.GetVersionId(global::System.Guid* vid)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule));
var __target = ((delegate* unmanaged[MemberFunction]<void*, global::System.Guid*, int> )__vtable[40]);
{
int __retVal;
{
__retVal = __target(__this, vid);
}
// 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_GetVersionId(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::System.Guid* vid)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>(__this_native);
__retVal = @this.GetVersionId(vid);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
}
namespace Microsoft.Diagnostics.DataContractReader.Legacy
{
[global::System.Runtime.InteropServices.Marshalling.IUnknownDerivedAttribute<InterfaceInformation, InterfaceImplementation>]
public unsafe partial interface IXCLRDataModule
{
}
}
|