|
// <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*, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpThreadStoreData*, int> GetThreadStoreData_3;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, int> GetAppDomainStoreData_4;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, ulong*, uint*, int> GetAppDomainList_5;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpAppDomainData*, int> GetAppDomainData_6;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, char*, uint*, int> GetAppDomainName_7;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> GetDomainFromContext_8;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int, ulong*, int*, int> GetAssemblyList_9;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpAssemblyData*, int> GetAssemblyData_10;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, char*, uint*, int> GetAssemblyName_11;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, void**, int> GetModule_12;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpModuleData*, int> GetModuleData_13;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ModuleMapType, ulong, delegate* unmanaged<uint, ulong, void*, void> , void*, int> TraverseModuleMap_14;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, ulong*, uint*, int> GetAssemblyModuleList_15;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> GetILForModule_16;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpThreadData*, int> GetThreadData_17;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> GetThreadFromThinlockID_18;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> GetStackLimits_19;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodDescData*, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpReJitData*, uint*, int> GetMethodDescData_20;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> GetMethodDescPtrFromIP_21;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, char*, uint*, int> GetMethodDescName_22;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> GetMethodDescPtrFromFrame_23;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> GetMethodDescFromToken_24;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodDescTransparencyData*, int> GetMethodDescTransparencyData_25;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCodeHeaderData*, int> GetCodeHeaderData_26;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitManagerInfo*, uint*, int> GetJitManagerList_27;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, byte*, uint*, int> GetJitHelperFunctionName_28;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> GetJumpThunkTarget_29;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, int> GetThreadpoolData_30;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, void*, int> GetWorkRequestData_31;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, void*, int> GetHillClimbingLogEntry_32;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpObjectData*, int> GetObjectData_33;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, char*, uint*, int> GetObjectStringData_34;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, char*, uint*, int> GetObjectClassName_35;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, char*, uint*, int> GetMethodTableName_36;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodTableData*, int> GetMethodTableData_37;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> GetMethodTableSlot_38;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodTableFieldData*, int> GetMethodTableFieldData_39;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodTableTransparencyData*, int> GetMethodTableTransparencyData_40;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> GetMethodTableForEEClass_41;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpFieldDescData*, int> GetFieldDescData_42;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, char*, uint*, int> GetFrameName_43;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> GetPEFileBase_44;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, char*, uint*, int> GetPEFileName_45;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapData*, int> GetGCHeapData_46;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, ulong*, uint*, int> GetGCHeapList_47;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapDetails*, int> GetGCHeapDetails_48;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapDetails*, int> GetGCHeapStaticData_49;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpHeapSegmentData*, int> GetHeapSegmentData_50;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpOomData*, int> GetOOMData_51;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpOomData*, int> GetOOMStaticData_52;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapAnalyzeData*, int> GetHeapAnalyzeData_53;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapAnalyzeData*, int> GetHeapAnalyzeStaticData_54;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, void*, int> GetDomainLocalModuleData_55;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int, void*, int> GetDomainLocalModuleDataFromAppDomain_56;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, void*, int> GetDomainLocalModuleDataFromModule_57;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, void*, int> GetThreadLocalModuleData_58;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpSyncBlockData*, int> GetSyncBlockData_59;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpSyncBlockCleanupData*, int> GetSyncBlockCleanupData_60;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void**, int> GetHandleEnum_61;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint*, uint, void**, int> GetHandleEnumForTypes_62;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, void**, int> GetHandleEnumForGC_63;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, delegate* unmanaged<uint, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DACEHInfo*, void*, int> , void*, int> TraverseEHInfo_64;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> GetNestedExceptionData_65;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> GetStressLogAddress_66;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, delegate* unmanaged<ulong, nuint, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL, void> , int> TraverseLoaderHeap_67;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo*, uint*, int> GetCodeHeapList_68;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.VCSHeapType, delegate* unmanaged<ulong, nuint, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL, void> , int> TraverseVirtCallStubHeap_69;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpUsefulGlobalsData*, int> GetUsefulGlobals_70;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, void*, int> GetClrWatsonBuckets_71;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint*, int> GetTLSIndex_72;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, void*, int> GetDacModuleHandle_73;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpRCWData*, int> GetRCWData_74;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData*, uint*, int> GetRCWInterfaces_75;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCCWData*, int> GetCCWData_76;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData*, uint*, int> GetCCWInterfaces_77;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, delegate* unmanaged<ulong, ulong, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL, void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL> , void*, int> TraverseRCWCleanupList_78;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int, void**, int> GetStackReferences_79;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int, uint, char*, uint*, int> GetRegisterName_80;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpAllocData*, int> GetThreadAllocData_81;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, void*, uint*, int> GetHeapAllocData_82;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int, ulong*, uint*, int> GetFailedAssemblyList_83;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int, char*, uint*, int> GetPrivateBinPaths_84;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int, char*, uint*, int> GetAssemblyLocation_85;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int, char*, uint*, int> GetAppDomainConfigFile_86;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, int, char*, uint*, int> GetApplicationBase_87;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint*, int*, int> GetFailedAssemblyData_88;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, char*, uint*, int> GetFailedAssemblyLocation_89;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, ulong, uint, char*, uint*, int> GetFailedAssemblyDisplayName_90;
}
file unsafe sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType
{
public static global::System.Guid Iid { get; } = new([242, 0, 111, 67, 42, 180, 159, 75, 135, 12, 231, 61, 182, 106, 233, 48]);
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.ISOSDacInterface
{
[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.GetThreadStoreData_3 = &ABI_GetThreadStoreData;
Vtable.GetAppDomainStoreData_4 = &ABI_GetAppDomainStoreData;
Vtable.GetAppDomainList_5 = &ABI_GetAppDomainList;
Vtable.GetAppDomainData_6 = &ABI_GetAppDomainData;
Vtable.GetAppDomainName_7 = &ABI_GetAppDomainName;
Vtable.GetDomainFromContext_8 = &ABI_GetDomainFromContext;
Vtable.GetAssemblyList_9 = &ABI_GetAssemblyList;
Vtable.GetAssemblyData_10 = &ABI_GetAssemblyData;
Vtable.GetAssemblyName_11 = &ABI_GetAssemblyName;
Vtable.GetModule_12 = &ABI_GetModule;
Vtable.GetModuleData_13 = &ABI_GetModuleData;
Vtable.TraverseModuleMap_14 = &ABI_TraverseModuleMap;
Vtable.GetAssemblyModuleList_15 = &ABI_GetAssemblyModuleList;
Vtable.GetILForModule_16 = &ABI_GetILForModule;
Vtable.GetThreadData_17 = &ABI_GetThreadData;
Vtable.GetThreadFromThinlockID_18 = &ABI_GetThreadFromThinlockID;
Vtable.GetStackLimits_19 = &ABI_GetStackLimits;
Vtable.GetMethodDescData_20 = &ABI_GetMethodDescData;
Vtable.GetMethodDescPtrFromIP_21 = &ABI_GetMethodDescPtrFromIP;
Vtable.GetMethodDescName_22 = &ABI_GetMethodDescName;
Vtable.GetMethodDescPtrFromFrame_23 = &ABI_GetMethodDescPtrFromFrame;
Vtable.GetMethodDescFromToken_24 = &ABI_GetMethodDescFromToken;
Vtable.GetMethodDescTransparencyData_25 = &ABI_GetMethodDescTransparencyData;
Vtable.GetCodeHeaderData_26 = &ABI_GetCodeHeaderData;
Vtable.GetJitManagerList_27 = &ABI_GetJitManagerList;
Vtable.GetJitHelperFunctionName_28 = &ABI_GetJitHelperFunctionName;
Vtable.GetJumpThunkTarget_29 = &ABI_GetJumpThunkTarget;
Vtable.GetThreadpoolData_30 = &ABI_GetThreadpoolData;
Vtable.GetWorkRequestData_31 = &ABI_GetWorkRequestData;
Vtable.GetHillClimbingLogEntry_32 = &ABI_GetHillClimbingLogEntry;
Vtable.GetObjectData_33 = &ABI_GetObjectData;
Vtable.GetObjectStringData_34 = &ABI_GetObjectStringData;
Vtable.GetObjectClassName_35 = &ABI_GetObjectClassName;
Vtable.GetMethodTableName_36 = &ABI_GetMethodTableName;
Vtable.GetMethodTableData_37 = &ABI_GetMethodTableData;
Vtable.GetMethodTableSlot_38 = &ABI_GetMethodTableSlot;
Vtable.GetMethodTableFieldData_39 = &ABI_GetMethodTableFieldData;
Vtable.GetMethodTableTransparencyData_40 = &ABI_GetMethodTableTransparencyData;
Vtable.GetMethodTableForEEClass_41 = &ABI_GetMethodTableForEEClass;
Vtable.GetFieldDescData_42 = &ABI_GetFieldDescData;
Vtable.GetFrameName_43 = &ABI_GetFrameName;
Vtable.GetPEFileBase_44 = &ABI_GetPEFileBase;
Vtable.GetPEFileName_45 = &ABI_GetPEFileName;
Vtable.GetGCHeapData_46 = &ABI_GetGCHeapData;
Vtable.GetGCHeapList_47 = &ABI_GetGCHeapList;
Vtable.GetGCHeapDetails_48 = &ABI_GetGCHeapDetails;
Vtable.GetGCHeapStaticData_49 = &ABI_GetGCHeapStaticData;
Vtable.GetHeapSegmentData_50 = &ABI_GetHeapSegmentData;
Vtable.GetOOMData_51 = &ABI_GetOOMData;
Vtable.GetOOMStaticData_52 = &ABI_GetOOMStaticData;
Vtable.GetHeapAnalyzeData_53 = &ABI_GetHeapAnalyzeData;
Vtable.GetHeapAnalyzeStaticData_54 = &ABI_GetHeapAnalyzeStaticData;
Vtable.GetDomainLocalModuleData_55 = &ABI_GetDomainLocalModuleData;
Vtable.GetDomainLocalModuleDataFromAppDomain_56 = &ABI_GetDomainLocalModuleDataFromAppDomain;
Vtable.GetDomainLocalModuleDataFromModule_57 = &ABI_GetDomainLocalModuleDataFromModule;
Vtable.GetThreadLocalModuleData_58 = &ABI_GetThreadLocalModuleData;
Vtable.GetSyncBlockData_59 = &ABI_GetSyncBlockData;
Vtable.GetSyncBlockCleanupData_60 = &ABI_GetSyncBlockCleanupData;
Vtable.GetHandleEnum_61 = &ABI_GetHandleEnum;
Vtable.GetHandleEnumForTypes_62 = &ABI_GetHandleEnumForTypes;
Vtable.GetHandleEnumForGC_63 = &ABI_GetHandleEnumForGC;
Vtable.TraverseEHInfo_64 = &ABI_TraverseEHInfo;
Vtable.GetNestedExceptionData_65 = &ABI_GetNestedExceptionData;
Vtable.GetStressLogAddress_66 = &ABI_GetStressLogAddress;
Vtable.TraverseLoaderHeap_67 = &ABI_TraverseLoaderHeap;
Vtable.GetCodeHeapList_68 = &ABI_GetCodeHeapList;
Vtable.TraverseVirtCallStubHeap_69 = &ABI_TraverseVirtCallStubHeap;
Vtable.GetUsefulGlobals_70 = &ABI_GetUsefulGlobals;
Vtable.GetClrWatsonBuckets_71 = &ABI_GetClrWatsonBuckets;
Vtable.GetTLSIndex_72 = &ABI_GetTLSIndex;
Vtable.GetDacModuleHandle_73 = &ABI_GetDacModuleHandle;
Vtable.GetRCWData_74 = &ABI_GetRCWData;
Vtable.GetRCWInterfaces_75 = &ABI_GetRCWInterfaces;
Vtable.GetCCWData_76 = &ABI_GetCCWData;
Vtable.GetCCWInterfaces_77 = &ABI_GetCCWInterfaces;
Vtable.TraverseRCWCleanupList_78 = &ABI_TraverseRCWCleanupList;
Vtable.GetStackReferences_79 = &ABI_GetStackReferences;
Vtable.GetRegisterName_80 = &ABI_GetRegisterName;
Vtable.GetThreadAllocData_81 = &ABI_GetThreadAllocData;
Vtable.GetHeapAllocData_82 = &ABI_GetHeapAllocData;
Vtable.GetFailedAssemblyList_83 = &ABI_GetFailedAssemblyList;
Vtable.GetPrivateBinPaths_84 = &ABI_GetPrivateBinPaths;
Vtable.GetAssemblyLocation_85 = &ABI_GetAssemblyLocation;
Vtable.GetAppDomainConfigFile_86 = &ABI_GetAppDomainConfigFile;
Vtable.GetApplicationBase_87 = &ABI_GetApplicationBase;
Vtable.GetFailedAssemblyData_88 = &ABI_GetFailedAssemblyData;
Vtable.GetFailedAssemblyLocation_89 = &ABI_GetFailedAssemblyLocation;
Vtable.GetFailedAssemblyDisplayName_90 = &ABI_GetFailedAssemblyDisplayName;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface.GetThreadStoreData(global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpThreadStoreData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpThreadStoreData*, int> )__vtable[3]);
{
int __retVal;
{
__retVal = __target(__this, data);
}
// 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_GetThreadStoreData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpThreadStoreData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @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.ISOSDacInterface>(__this_native);
__retVal = @this.GetThreadStoreData(data);
}
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.ISOSDacInterface.GetAppDomainStoreData(void* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, int> )__vtable[4]);
{
int __retVal;
{
__retVal = __target(__this, data);
}
// 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_GetAppDomainStoreData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, void* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @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.ISOSDacInterface>(__this_native);
__retVal = @this.GetAppDomainStoreData(data);
}
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.ISOSDacInterface.GetAppDomainList(uint count, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress[] values, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, ulong*, uint*, int> )__vtable[5]);
{
bool __invokeSucceeded = default;
ulong* __values_native = default;
int __retVal = default;
// Setup - Perform required setup.
scoped global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.ManagedToUnmanagedIn __values_native__marshaller = new();
int __values_native__numElements;
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __values_native__numElements);
int __values_native__lastIndexMarshalled = 0;
try
{
// Marshal - Convert managed data to native data.
__values_native__marshaller.FromManaged(values, stackalloc ulong[global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.ManagedToUnmanagedIn.BufferSize]);
{
global::System.ReadOnlySpan<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __values_native__managedSpan = __values_native__marshaller.GetManagedValuesSource();
global::System.Span<ulong> __values_native__nativeSpan = __values_native__marshaller.GetUnmanagedValuesDestination();
for (int __i0 = 0; __i0 < __values_native__managedSpan.Length; ++__i0, ++__values_native__lastIndexMarshalled)
{
__values_native__nativeSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(__values_native__managedSpan[__i0]);
}
}
// Pin - Pin data in preparation for calling the P/Invoke.
fixed (void* __values_native__unused = __values_native__marshaller)
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__values_native = __values_native__marshaller.ToUnmanaged();
__retVal = __target(__this, count, __values_native, pNeeded);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
global::System.GC.KeepAlive(this);
__invokeSucceeded = true;
// Unmarshal - Convert native data to managed data.
{
__values_native__numElements = __values_native__marshaller.GetManagedValuesSource().Length;
global::System.Span<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __values_native__managedSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in __values_native__marshaller.GetManagedValuesSource().GetPinnableReference()), __values_native__numElements);
global::System.Span<ulong> __values_native__nativeSpan = __values_native__marshaller.GetUnmanagedValuesDestination();
for (int __i0 = 0; __i0 < __values_native__managedSpan.Length; ++__i0)
{
__values_native__managedSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__values_native__nativeSpan[__i0]);
}
}
}
finally
{
if (__invokeSucceeded)
{
// CleanupCalleeAllocated - Perform cleanup of callee allocated resources.
_ = __values_native__lastIndexMarshalled;
}
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
_ = __values_native__lastIndexMarshalled;
__values_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_GetAppDomainList(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint count, ulong* __values_native, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress[] values = default;
int __retVal = default;
// Setup - Perform required setup.
int __values_native__numElements;
__values_native__numElements = default;
try
{
// Unmarshal - Convert native data to managed data.
__values_native__numElements = checked((int)(count));
values = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.AllocateContainerForManagedElements(__values_native, __values_native__numElements);
{
global::System.ReadOnlySpan<ulong> __values_native__nativeSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetUnmanagedValuesSource(__values_native, __values_native__numElements);
global::System.Span<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __values_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetManagedValuesDestination(values);
for (int __i0 = 0; __i0 < __values_native__nativeSpan.Length; ++__i0)
{
__values_native__managedSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__values_native__nativeSpan[__i0]);
}
}
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetAppDomainList(count, values, pNeeded);
// Marshal - Convert managed data to native data.
{
__values_native__numElements = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetManagedValuesDestination(values).Length;
global::System.Span<ulong> __values_native__nativeSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetUnmanagedValuesSource(__values_native, __values_native__numElements).GetPinnableReference()), __values_native__numElements);
global::System.Span<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __values_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetManagedValuesDestination(values);
for (int __i0 = 0; __i0 < __values_native__nativeSpan.Length; ++__i0)
{
ulong __values_native__nativeSpan____i0__original = __values_native__nativeSpan[__i0];
__values_native__nativeSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(__values_native__managedSpan[__i0]);
}
}
}
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.ISOSDacInterface.GetAppDomainData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpAppDomainData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpAppDomainData*, int> )__vtable[6]);
{
ulong __addr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__addr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(addr);
{
__retVal = __target(__this, __addr_native, data);
}
// 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_GetAppDomainData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __addr_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpAppDomainData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
addr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__addr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetAppDomainData(addr, data);
}
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.ISOSDacInterface.GetAppDomainName(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr, uint count, char* name, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, char*, uint*, int> )__vtable[7]);
{
ulong __addr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__addr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(addr);
{
__retVal = __target(__this, __addr_native, count, name, pNeeded);
}
// 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_GetAppDomainName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __addr_native, uint count, char* name, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
addr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__addr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetAppDomainName(addr, count, name, pNeeded);
}
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.ISOSDacInterface.GetDomainFromContext(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress context, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* domain)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> )__vtable[8]);
{
ulong __context_native;
int __retVal;
// Marshal - Convert managed data to native data.
__context_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(context);
{
__retVal = __target(__this, __context_native, domain);
}
// 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_GetDomainFromContext(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __context_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* domain)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress context = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
context = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__context_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetDomainFromContext(context, domain);
}
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.ISOSDacInterface.GetAssemblyList(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress appDomain, int count, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress[] values, int* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int, ulong*, int*, int> )__vtable[9]);
{
bool __invokeSucceeded = default;
ulong __appDomain_native = default;
ulong* __values_native = default;
int __retVal = default;
// Setup - Perform required setup.
scoped global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.ManagedToUnmanagedIn __values_native__marshaller = new();
int __values_native__numElements;
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __values_native__numElements);
int __values_native__lastIndexMarshalled = 0;
try
{
// Marshal - Convert managed data to native data.
__values_native__marshaller.FromManaged(values, stackalloc ulong[global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.ManagedToUnmanagedIn.BufferSize]);
{
global::System.ReadOnlySpan<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __values_native__managedSpan = __values_native__marshaller.GetManagedValuesSource();
global::System.Span<ulong> __values_native__nativeSpan = __values_native__marshaller.GetUnmanagedValuesDestination();
for (int __i0 = 0; __i0 < __values_native__managedSpan.Length; ++__i0, ++__values_native__lastIndexMarshalled)
{
__values_native__nativeSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(__values_native__managedSpan[__i0]);
}
}
__appDomain_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(appDomain);
// Pin - Pin data in preparation for calling the P/Invoke.
fixed (void* __values_native__unused = __values_native__marshaller)
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__values_native = __values_native__marshaller.ToUnmanaged();
__retVal = __target(__this, __appDomain_native, count, __values_native, pNeeded);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
global::System.GC.KeepAlive(this);
__invokeSucceeded = true;
// Unmarshal - Convert native data to managed data.
{
__values_native__numElements = __values_native__marshaller.GetManagedValuesSource().Length;
global::System.Span<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __values_native__managedSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in __values_native__marshaller.GetManagedValuesSource().GetPinnableReference()), __values_native__numElements);
global::System.Span<ulong> __values_native__nativeSpan = __values_native__marshaller.GetUnmanagedValuesDestination();
for (int __i0 = 0; __i0 < __values_native__managedSpan.Length; ++__i0)
{
__values_native__managedSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__values_native__nativeSpan[__i0]);
}
}
}
finally
{
if (__invokeSucceeded)
{
// CleanupCalleeAllocated - Perform cleanup of callee allocated resources.
_ = __values_native__lastIndexMarshalled;
}
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
_ = __values_native__lastIndexMarshalled;
__values_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_GetAssemblyList(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __appDomain_native, int count, ulong* __values_native, int* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress appDomain = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress[] values = default;
int __retVal = default;
// Setup - Perform required setup.
int __values_native__numElements;
__values_native__numElements = default;
try
{
// Unmarshal - Convert native data to managed data.
__values_native__numElements = count;
values = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.AllocateContainerForManagedElements(__values_native, __values_native__numElements);
{
global::System.ReadOnlySpan<ulong> __values_native__nativeSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetUnmanagedValuesSource(__values_native, __values_native__numElements);
global::System.Span<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __values_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetManagedValuesDestination(values);
for (int __i0 = 0; __i0 < __values_native__nativeSpan.Length; ++__i0)
{
__values_native__managedSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__values_native__nativeSpan[__i0]);
}
}
appDomain = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__appDomain_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetAssemblyList(appDomain, count, values, pNeeded);
// Marshal - Convert managed data to native data.
{
__values_native__numElements = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetManagedValuesDestination(values).Length;
global::System.Span<ulong> __values_native__nativeSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetUnmanagedValuesSource(__values_native, __values_native__numElements).GetPinnableReference()), __values_native__numElements);
global::System.Span<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __values_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetManagedValuesDestination(values);
for (int __i0 = 0; __i0 < __values_native__nativeSpan.Length; ++__i0)
{
ulong __values_native__nativeSpan____i0__original = __values_native__nativeSpan[__i0];
__values_native__nativeSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(__values_native__managedSpan[__i0]);
}
}
}
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.ISOSDacInterface.GetAssemblyData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress domain, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress assembly, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpAssemblyData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpAssemblyData*, int> )__vtable[10]);
{
ulong __domain_native;
ulong __assembly_native;
int __retVal;
// Marshal - Convert managed data to native data.
__assembly_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(assembly);
__domain_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(domain);
{
__retVal = __target(__this, __domain_native, __assembly_native, data);
}
// 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_GetAssemblyData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __domain_native, ulong __assembly_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpAssemblyData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress domain = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress assembly = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
assembly = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__assembly_native);
domain = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__domain_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetAssemblyData(domain, assembly, data);
}
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.ISOSDacInterface.GetAssemblyName(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress assembly, uint count, char* name, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, char*, uint*, int> )__vtable[11]);
{
ulong __assembly_native;
int __retVal;
// Marshal - Convert managed data to native data.
__assembly_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(assembly);
{
__retVal = __target(__this, __assembly_native, count, name, pNeeded);
}
// 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_GetAssemblyName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __assembly_native, uint count, char* name, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress assembly = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
assembly = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__assembly_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetAssemblyName(assembly, count, name, pNeeded);
}
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.ISOSDacInterface.GetModule(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule> mod)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, void**, int> )__vtable[12]);
{
ulong __addr_native = default;
void** __mod_native = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>.ManagedToUnmanaged __mod_native__marshaller = new();
try
{
// Marshal - Convert managed data to native data.
__mod_native__marshaller.FromManaged(mod);
__addr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(addr);
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__mod_native = __mod_native__marshaller.ToUnmanaged();
__retVal = __target(__this, __addr_native, __mod_native);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
__mod_native__marshaller.OnInvoked();
global::System.GC.KeepAlive(this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__mod_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_GetModule(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __addr_native, void** __mod_native)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule> mod = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule>.UnmanagedToManaged __mod_native__marshaller = new();
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__mod_native__marshaller.FromUnmanaged(__mod_native);
// Unmarshal - Convert native data to managed data.
mod = __mod_native__marshaller.ToManaged();
addr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__addr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetModule(addr, mod);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__mod_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.ISOSDacInterface.GetModuleData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress moduleAddr, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpModuleData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpModuleData*, int> )__vtable[13]);
{
ulong __moduleAddr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__moduleAddr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(moduleAddr);
{
__retVal = __target(__this, __moduleAddr_native, data);
}
// 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_GetModuleData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __moduleAddr_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpModuleData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress moduleAddr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
moduleAddr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__moduleAddr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetModuleData(moduleAddr, data);
}
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.ISOSDacInterface.TraverseModuleMap(global::Microsoft.Diagnostics.DataContractReader.Legacy.ModuleMapType mmt, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress moduleAddr, delegate* unmanaged<uint, ulong, void*, void> pCallback, void* token)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ModuleMapType, ulong, delegate* unmanaged<uint, ulong, void*, void> , void*, int> )__vtable[14]);
{
ulong __moduleAddr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__moduleAddr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(moduleAddr);
{
__retVal = __target(__this, mmt, __moduleAddr_native, pCallback, token);
}
// 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_TraverseModuleMap(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.ModuleMapType mmt, ulong __moduleAddr_native, delegate* unmanaged<uint, ulong, void*, void> pCallback, void* token)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress moduleAddr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
moduleAddr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__moduleAddr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.TraverseModuleMap(mmt, moduleAddr, pCallback, token);
}
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.ISOSDacInterface.GetAssemblyModuleList(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress assembly, uint count, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress[] modules, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, ulong*, uint*, int> )__vtable[15]);
{
bool __invokeSucceeded = default;
ulong __assembly_native = default;
ulong* __modules_native = default;
int __retVal = default;
// Setup - Perform required setup.
scoped global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.ManagedToUnmanagedIn __modules_native__marshaller = new();
int __modules_native__numElements;
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __modules_native__numElements);
int __modules_native__lastIndexMarshalled = 0;
try
{
// Marshal - Convert managed data to native data.
__modules_native__marshaller.FromManaged(modules, stackalloc ulong[global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.ManagedToUnmanagedIn.BufferSize]);
{
global::System.ReadOnlySpan<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __modules_native__managedSpan = __modules_native__marshaller.GetManagedValuesSource();
global::System.Span<ulong> __modules_native__nativeSpan = __modules_native__marshaller.GetUnmanagedValuesDestination();
for (int __i0 = 0; __i0 < __modules_native__managedSpan.Length; ++__i0, ++__modules_native__lastIndexMarshalled)
{
__modules_native__nativeSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(__modules_native__managedSpan[__i0]);
}
}
__assembly_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(assembly);
// Pin - Pin data in preparation for calling the P/Invoke.
fixed (void* __modules_native__unused = __modules_native__marshaller)
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__modules_native = __modules_native__marshaller.ToUnmanaged();
__retVal = __target(__this, __assembly_native, count, __modules_native, pNeeded);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
global::System.GC.KeepAlive(this);
__invokeSucceeded = true;
// Unmarshal - Convert native data to managed data.
{
__modules_native__numElements = __modules_native__marshaller.GetManagedValuesSource().Length;
global::System.Span<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __modules_native__managedSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in __modules_native__marshaller.GetManagedValuesSource().GetPinnableReference()), __modules_native__numElements);
global::System.Span<ulong> __modules_native__nativeSpan = __modules_native__marshaller.GetUnmanagedValuesDestination();
for (int __i0 = 0; __i0 < __modules_native__managedSpan.Length; ++__i0)
{
__modules_native__managedSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__modules_native__nativeSpan[__i0]);
}
}
}
finally
{
if (__invokeSucceeded)
{
// CleanupCalleeAllocated - Perform cleanup of callee allocated resources.
_ = __modules_native__lastIndexMarshalled;
}
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
_ = __modules_native__lastIndexMarshalled;
__modules_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_GetAssemblyModuleList(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __assembly_native, uint count, ulong* __modules_native, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress assembly = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress[] modules = default;
int __retVal = default;
// Setup - Perform required setup.
int __modules_native__numElements;
__modules_native__numElements = default;
try
{
// Unmarshal - Convert native data to managed data.
__modules_native__numElements = checked((int)(count));
modules = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.AllocateContainerForManagedElements(__modules_native, __modules_native__numElements);
{
global::System.ReadOnlySpan<ulong> __modules_native__nativeSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetUnmanagedValuesSource(__modules_native, __modules_native__numElements);
global::System.Span<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __modules_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetManagedValuesDestination(modules);
for (int __i0 = 0; __i0 < __modules_native__nativeSpan.Length; ++__i0)
{
__modules_native__managedSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__modules_native__nativeSpan[__i0]);
}
}
assembly = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__assembly_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetAssemblyModuleList(assembly, count, modules, pNeeded);
// Marshal - Convert managed data to native data.
{
__modules_native__numElements = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetManagedValuesDestination(modules).Length;
global::System.Span<ulong> __modules_native__nativeSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetUnmanagedValuesSource(__modules_native, __modules_native__numElements).GetPinnableReference()), __modules_native__numElements);
global::System.Span<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __modules_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetManagedValuesDestination(modules);
for (int __i0 = 0; __i0 < __modules_native__nativeSpan.Length; ++__i0)
{
ulong __modules_native__nativeSpan____i0__original = __modules_native__nativeSpan[__i0];
__modules_native__nativeSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(__modules_native__managedSpan[__i0]);
}
}
}
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.ISOSDacInterface.GetILForModule(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress moduleAddr, int rva, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* il)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> )__vtable[16]);
{
ulong __moduleAddr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__moduleAddr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(moduleAddr);
{
__retVal = __target(__this, __moduleAddr_native, rva, il);
}
// 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_GetILForModule(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __moduleAddr_native, int rva, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* il)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress moduleAddr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
moduleAddr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__moduleAddr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetILForModule(moduleAddr, rva, il);
}
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.ISOSDacInterface.GetThreadData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress thread, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpThreadData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpThreadData*, int> )__vtable[17]);
{
ulong __thread_native;
int __retVal;
// Marshal - Convert managed data to native data.
__thread_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(thread);
{
__retVal = __target(__this, __thread_native, data);
}
// 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_GetThreadData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __thread_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpThreadData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress thread = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
thread = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__thread_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetThreadData(thread, data);
}
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.ISOSDacInterface.GetThreadFromThinlockID(uint thinLockId, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* pThread)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> )__vtable[18]);
{
int __retVal;
{
__retVal = __target(__this, thinLockId, pThread);
}
// 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_GetThreadFromThinlockID(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint thinLockId, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* pThread)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @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.ISOSDacInterface>(__this_native);
__retVal = @this.GetThreadFromThinlockID(thinLockId, pThread);
}
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.ISOSDacInterface.GetStackLimits(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress threadPtr, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* lower, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* upper, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* fp)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> )__vtable[19]);
{
ulong __threadPtr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__threadPtr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(threadPtr);
{
__retVal = __target(__this, __threadPtr_native, lower, upper, fp);
}
// 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_GetStackLimits(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __threadPtr_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* lower, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* upper, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* fp)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress threadPtr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
threadPtr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__threadPtr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetStackLimits(threadPtr, lower, upper, fp);
}
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.ISOSDacInterface.GetMethodDescData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress methodDesc, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress ip, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodDescData* data, uint cRevertedRejitVersions, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpReJitData* rgRevertedRejitData, uint* pcNeededRevertedRejitData)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodDescData*, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpReJitData*, uint*, int> )__vtable[20]);
{
ulong __methodDesc_native;
ulong __ip_native;
int __retVal;
// Marshal - Convert managed data to native data.
__ip_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(ip);
__methodDesc_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(methodDesc);
{
__retVal = __target(__this, __methodDesc_native, __ip_native, data, cRevertedRejitVersions, rgRevertedRejitData, pcNeededRevertedRejitData);
}
// 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_GetMethodDescData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __methodDesc_native, ulong __ip_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodDescData* data, uint cRevertedRejitVersions, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpReJitData* rgRevertedRejitData, uint* pcNeededRevertedRejitData)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress methodDesc = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress ip = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
ip = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__ip_native);
methodDesc = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__methodDesc_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetMethodDescData(methodDesc, ip, data, cRevertedRejitVersions, rgRevertedRejitData, pcNeededRevertedRejitData);
}
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.ISOSDacInterface.GetMethodDescPtrFromIP(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress ip, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* ppMD)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> )__vtable[21]);
{
ulong __ip_native;
int __retVal;
// Marshal - Convert managed data to native data.
__ip_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(ip);
{
__retVal = __target(__this, __ip_native, ppMD);
}
// 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_GetMethodDescPtrFromIP(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __ip_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* ppMD)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress ip = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
ip = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__ip_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetMethodDescPtrFromIP(ip, ppMD);
}
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.ISOSDacInterface.GetMethodDescName(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress methodDesc, uint count, char* name, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, char*, uint*, int> )__vtable[22]);
{
ulong __methodDesc_native;
int __retVal;
// Marshal - Convert managed data to native data.
__methodDesc_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(methodDesc);
{
__retVal = __target(__this, __methodDesc_native, count, name, pNeeded);
}
// 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_GetMethodDescName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __methodDesc_native, uint count, char* name, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress methodDesc = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
methodDesc = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__methodDesc_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetMethodDescName(methodDesc, count, name, pNeeded);
}
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.ISOSDacInterface.GetMethodDescPtrFromFrame(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress frameAddr, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* ppMD)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> )__vtable[23]);
{
ulong __frameAddr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__frameAddr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(frameAddr);
{
__retVal = __target(__this, __frameAddr_native, ppMD);
}
// 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_GetMethodDescPtrFromFrame(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __frameAddr_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* ppMD)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress frameAddr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
frameAddr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__frameAddr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetMethodDescPtrFromFrame(frameAddr, ppMD);
}
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.ISOSDacInterface.GetMethodDescFromToken(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress moduleAddr, uint token, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* methodDesc)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> )__vtable[24]);
{
ulong __moduleAddr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__moduleAddr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(moduleAddr);
{
__retVal = __target(__this, __moduleAddr_native, token, methodDesc);
}
// 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_GetMethodDescFromToken(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __moduleAddr_native, uint token, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* methodDesc)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress moduleAddr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
moduleAddr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__moduleAddr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetMethodDescFromToken(moduleAddr, token, methodDesc);
}
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.ISOSDacInterface.GetMethodDescTransparencyData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress methodDesc, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodDescTransparencyData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodDescTransparencyData*, int> )__vtable[25]);
{
ulong __methodDesc_native;
int __retVal;
// Marshal - Convert managed data to native data.
__methodDesc_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(methodDesc);
{
__retVal = __target(__this, __methodDesc_native, data);
}
// 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_GetMethodDescTransparencyData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __methodDesc_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodDescTransparencyData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress methodDesc = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
methodDesc = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__methodDesc_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetMethodDescTransparencyData(methodDesc, data);
}
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.ISOSDacInterface.GetCodeHeaderData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress ip, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCodeHeaderData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCodeHeaderData*, int> )__vtable[26]);
{
ulong __ip_native;
int __retVal;
// Marshal - Convert managed data to native data.
__ip_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(ip);
{
__retVal = __target(__this, __ip_native, data);
}
// 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_GetCodeHeaderData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __ip_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCodeHeaderData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress ip = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
ip = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__ip_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetCodeHeaderData(ip, data);
}
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.ISOSDacInterface.GetJitManagerList(uint count, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitManagerInfo* managers, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitManagerInfo*, uint*, int> )__vtable[27]);
{
int __retVal;
{
__retVal = __target(__this, count, managers, pNeeded);
}
// 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_GetJitManagerList(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint count, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitManagerInfo* managers, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @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.ISOSDacInterface>(__this_native);
__retVal = @this.GetJitManagerList(count, managers, pNeeded);
}
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.ISOSDacInterface.GetJitHelperFunctionName(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress ip, uint count, byte* name, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, byte*, uint*, int> )__vtable[28]);
{
ulong __ip_native;
int __retVal;
// Marshal - Convert managed data to native data.
__ip_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(ip);
{
__retVal = __target(__this, __ip_native, count, name, pNeeded);
}
// 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_GetJitHelperFunctionName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __ip_native, uint count, byte* name, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress ip = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
ip = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__ip_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetJitHelperFunctionName(ip, count, name, pNeeded);
}
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.ISOSDacInterface.GetJumpThunkTarget(void* ctx, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* targetIP, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* targetMD)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> )__vtable[29]);
{
int __retVal;
{
__retVal = __target(__this, ctx, targetIP, targetMD);
}
// 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_GetJumpThunkTarget(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, void* ctx, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* targetIP, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* targetMD)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @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.ISOSDacInterface>(__this_native);
__retVal = @this.GetJumpThunkTarget(ctx, targetIP, targetMD);
}
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.ISOSDacInterface.GetThreadpoolData(void* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, int> )__vtable[30]);
{
int __retVal;
{
__retVal = __target(__this, data);
}
// 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_GetThreadpoolData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, void* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @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.ISOSDacInterface>(__this_native);
__retVal = @this.GetThreadpoolData(data);
}
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.ISOSDacInterface.GetWorkRequestData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addrWorkRequest, void* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, void*, int> )__vtable[31]);
{
ulong __addrWorkRequest_native;
int __retVal;
// Marshal - Convert managed data to native data.
__addrWorkRequest_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(addrWorkRequest);
{
__retVal = __target(__this, __addrWorkRequest_native, data);
}
// 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_GetWorkRequestData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __addrWorkRequest_native, void* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addrWorkRequest = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
addrWorkRequest = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__addrWorkRequest_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetWorkRequestData(addrWorkRequest, data);
}
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.ISOSDacInterface.GetHillClimbingLogEntry(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr, void* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, void*, int> )__vtable[32]);
{
ulong __addr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__addr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(addr);
{
__retVal = __target(__this, __addr_native, data);
}
// 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_GetHillClimbingLogEntry(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __addr_native, void* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
addr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__addr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetHillClimbingLogEntry(addr, data);
}
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.ISOSDacInterface.GetObjectData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress objAddr, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpObjectData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpObjectData*, int> )__vtable[33]);
{
ulong __objAddr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__objAddr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(objAddr);
{
__retVal = __target(__this, __objAddr_native, data);
}
// 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_GetObjectData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __objAddr_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpObjectData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress objAddr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
objAddr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__objAddr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetObjectData(objAddr, data);
}
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.ISOSDacInterface.GetObjectStringData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress obj, uint count, char* stringData, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, char*, uint*, int> )__vtable[34]);
{
ulong __obj_native;
int __retVal;
// Marshal - Convert managed data to native data.
__obj_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(obj);
{
__retVal = __target(__this, __obj_native, count, stringData, pNeeded);
}
// 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_GetObjectStringData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __obj_native, uint count, char* stringData, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress obj = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
obj = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__obj_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetObjectStringData(obj, count, stringData, pNeeded);
}
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.ISOSDacInterface.GetObjectClassName(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress obj, uint count, char* className, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, char*, uint*, int> )__vtable[35]);
{
ulong __obj_native;
int __retVal;
// Marshal - Convert managed data to native data.
__obj_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(obj);
{
__retVal = __target(__this, __obj_native, count, className, pNeeded);
}
// 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_GetObjectClassName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __obj_native, uint count, char* className, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress obj = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
obj = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__obj_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetObjectClassName(obj, count, className, pNeeded);
}
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.ISOSDacInterface.GetMethodTableName(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress mt, uint count, char* mtName, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, char*, uint*, int> )__vtable[36]);
{
ulong __mt_native;
int __retVal;
// Marshal - Convert managed data to native data.
__mt_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(mt);
{
__retVal = __target(__this, __mt_native, count, mtName, pNeeded);
}
// 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_GetMethodTableName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __mt_native, uint count, char* mtName, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress mt = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
mt = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__mt_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetMethodTableName(mt, count, mtName, pNeeded);
}
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.ISOSDacInterface.GetMethodTableData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress mt, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodTableData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodTableData*, int> )__vtable[37]);
{
ulong __mt_native;
int __retVal;
// Marshal - Convert managed data to native data.
__mt_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(mt);
{
__retVal = __target(__this, __mt_native, data);
}
// 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_GetMethodTableData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __mt_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodTableData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress mt = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
mt = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__mt_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetMethodTableData(mt, data);
}
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.ISOSDacInterface.GetMethodTableSlot(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress mt, uint slot, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* value)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> )__vtable[38]);
{
ulong __mt_native;
int __retVal;
// Marshal - Convert managed data to native data.
__mt_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(mt);
{
__retVal = __target(__this, __mt_native, slot, value);
}
// 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_GetMethodTableSlot(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __mt_native, uint slot, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* value)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress mt = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
mt = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__mt_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetMethodTableSlot(mt, slot, value);
}
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.ISOSDacInterface.GetMethodTableFieldData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress mt, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodTableFieldData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodTableFieldData*, int> )__vtable[39]);
{
ulong __mt_native;
int __retVal;
// Marshal - Convert managed data to native data.
__mt_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(mt);
{
__retVal = __target(__this, __mt_native, data);
}
// 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_GetMethodTableFieldData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __mt_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodTableFieldData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress mt = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
mt = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__mt_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetMethodTableFieldData(mt, data);
}
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.ISOSDacInterface.GetMethodTableTransparencyData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress mt, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodTableTransparencyData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodTableTransparencyData*, int> )__vtable[40]);
{
ulong __mt_native;
int __retVal;
// Marshal - Convert managed data to native data.
__mt_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(mt);
{
__retVal = __target(__this, __mt_native, data);
}
// 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_GetMethodTableTransparencyData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __mt_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpMethodTableTransparencyData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress mt = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
mt = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__mt_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetMethodTableTransparencyData(mt, data);
}
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.ISOSDacInterface.GetMethodTableForEEClass(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress eeClass, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* value)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> )__vtable[41]);
{
ulong __eeClass_native;
int __retVal;
// Marshal - Convert managed data to native data.
__eeClass_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(eeClass);
{
__retVal = __target(__this, __eeClass_native, value);
}
// 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_GetMethodTableForEEClass(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __eeClass_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* value)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress eeClass = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
eeClass = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__eeClass_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetMethodTableForEEClass(eeClass, value);
}
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.ISOSDacInterface.GetFieldDescData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress fieldDesc, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpFieldDescData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpFieldDescData*, int> )__vtable[42]);
{
ulong __fieldDesc_native;
int __retVal;
// Marshal - Convert managed data to native data.
__fieldDesc_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(fieldDesc);
{
__retVal = __target(__this, __fieldDesc_native, data);
}
// 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_GetFieldDescData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __fieldDesc_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpFieldDescData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress fieldDesc = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
fieldDesc = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__fieldDesc_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetFieldDescData(fieldDesc, data);
}
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.ISOSDacInterface.GetFrameName(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress vtable, uint count, char* frameName, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, char*, uint*, int> )__vtable[43]);
{
ulong __vtable_native;
int __retVal;
// Marshal - Convert managed data to native data.
__vtable_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(vtable);
{
__retVal = __target(__this, __vtable_native, count, frameName, pNeeded);
}
// 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_GetFrameName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __vtable_native, uint count, char* frameName, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress vtable = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
vtable = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__vtable_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetFrameName(vtable, count, frameName, pNeeded);
}
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.ISOSDacInterface.GetPEFileBase(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* peBase)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> )__vtable[44]);
{
ulong __addr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__addr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(addr);
{
__retVal = __target(__this, __addr_native, peBase);
}
// 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_GetPEFileBase(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __addr_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* peBase)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
addr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__addr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetPEFileBase(addr, peBase);
}
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.ISOSDacInterface.GetPEFileName(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr, uint count, char* fileName, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, char*, uint*, int> )__vtable[45]);
{
ulong __addr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__addr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(addr);
{
__retVal = __target(__this, __addr_native, count, fileName, pNeeded);
}
// 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_GetPEFileName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __addr_native, uint count, char* fileName, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
addr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__addr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetPEFileName(addr, count, fileName, pNeeded);
}
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.ISOSDacInterface.GetGCHeapData(global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapData*, int> )__vtable[46]);
{
int __retVal;
{
__retVal = __target(__this, data);
}
// 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_GetGCHeapData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @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.ISOSDacInterface>(__this_native);
__retVal = @this.GetGCHeapData(data);
}
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.ISOSDacInterface.GetGCHeapList(uint count, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress[] heaps, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, ulong*, uint*, int> )__vtable[47]);
{
bool __invokeSucceeded = default;
ulong* __heaps_native = default;
int __retVal = default;
// Setup - Perform required setup.
scoped global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.ManagedToUnmanagedIn __heaps_native__marshaller = new();
int __heaps_native__numElements;
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __heaps_native__numElements);
int __heaps_native__lastIndexMarshalled = 0;
try
{
// Marshal - Convert managed data to native data.
__heaps_native__marshaller.FromManaged(heaps, stackalloc ulong[global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.ManagedToUnmanagedIn.BufferSize]);
{
global::System.ReadOnlySpan<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __heaps_native__managedSpan = __heaps_native__marshaller.GetManagedValuesSource();
global::System.Span<ulong> __heaps_native__nativeSpan = __heaps_native__marshaller.GetUnmanagedValuesDestination();
for (int __i0 = 0; __i0 < __heaps_native__managedSpan.Length; ++__i0, ++__heaps_native__lastIndexMarshalled)
{
__heaps_native__nativeSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(__heaps_native__managedSpan[__i0]);
}
}
// Pin - Pin data in preparation for calling the P/Invoke.
fixed (void* __heaps_native__unused = __heaps_native__marshaller)
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__heaps_native = __heaps_native__marshaller.ToUnmanaged();
__retVal = __target(__this, count, __heaps_native, pNeeded);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
global::System.GC.KeepAlive(this);
__invokeSucceeded = true;
// Unmarshal - Convert native data to managed data.
{
__heaps_native__numElements = __heaps_native__marshaller.GetManagedValuesSource().Length;
global::System.Span<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __heaps_native__managedSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in __heaps_native__marshaller.GetManagedValuesSource().GetPinnableReference()), __heaps_native__numElements);
global::System.Span<ulong> __heaps_native__nativeSpan = __heaps_native__marshaller.GetUnmanagedValuesDestination();
for (int __i0 = 0; __i0 < __heaps_native__managedSpan.Length; ++__i0)
{
__heaps_native__managedSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__heaps_native__nativeSpan[__i0]);
}
}
}
finally
{
if (__invokeSucceeded)
{
// CleanupCalleeAllocated - Perform cleanup of callee allocated resources.
_ = __heaps_native__lastIndexMarshalled;
}
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
_ = __heaps_native__lastIndexMarshalled;
__heaps_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_GetGCHeapList(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint count, ulong* __heaps_native, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress[] heaps = default;
int __retVal = default;
// Setup - Perform required setup.
int __heaps_native__numElements;
__heaps_native__numElements = default;
try
{
// Unmarshal - Convert native data to managed data.
__heaps_native__numElements = checked((int)(count));
heaps = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.AllocateContainerForManagedElements(__heaps_native, __heaps_native__numElements);
{
global::System.ReadOnlySpan<ulong> __heaps_native__nativeSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetUnmanagedValuesSource(__heaps_native, __heaps_native__numElements);
global::System.Span<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __heaps_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetManagedValuesDestination(heaps);
for (int __i0 = 0; __i0 < __heaps_native__nativeSpan.Length; ++__i0)
{
__heaps_native__managedSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__heaps_native__nativeSpan[__i0]);
}
}
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetGCHeapList(count, heaps, pNeeded);
// Marshal - Convert managed data to native data.
{
__heaps_native__numElements = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetManagedValuesDestination(heaps).Length;
global::System.Span<ulong> __heaps_native__nativeSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetUnmanagedValuesSource(__heaps_native, __heaps_native__numElements).GetPinnableReference()), __heaps_native__numElements);
global::System.Span<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __heaps_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetManagedValuesDestination(heaps);
for (int __i0 = 0; __i0 < __heaps_native__nativeSpan.Length; ++__i0)
{
ulong __heaps_native__nativeSpan____i0__original = __heaps_native__nativeSpan[__i0];
__heaps_native__nativeSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(__heaps_native__managedSpan[__i0]);
}
}
}
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.ISOSDacInterface.GetGCHeapDetails(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress heap, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapDetails* details)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapDetails*, int> )__vtable[48]);
{
ulong __heap_native;
int __retVal;
// Marshal - Convert managed data to native data.
__heap_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(heap);
{
__retVal = __target(__this, __heap_native, details);
}
// 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_GetGCHeapDetails(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __heap_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapDetails* details)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress heap = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
heap = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__heap_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetGCHeapDetails(heap, details);
}
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.ISOSDacInterface.GetGCHeapStaticData(global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapDetails* details)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapDetails*, int> )__vtable[49]);
{
int __retVal;
{
__retVal = __target(__this, details);
}
// 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_GetGCHeapStaticData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapDetails* details)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @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.ISOSDacInterface>(__this_native);
__retVal = @this.GetGCHeapStaticData(details);
}
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.ISOSDacInterface.GetHeapSegmentData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress seg, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpHeapSegmentData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpHeapSegmentData*, int> )__vtable[50]);
{
ulong __seg_native;
int __retVal;
// Marshal - Convert managed data to native data.
__seg_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(seg);
{
__retVal = __target(__this, __seg_native, data);
}
// 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_GetHeapSegmentData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __seg_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpHeapSegmentData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress seg = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
seg = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__seg_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetHeapSegmentData(seg, data);
}
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.ISOSDacInterface.GetOOMData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress oomAddr, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpOomData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpOomData*, int> )__vtable[51]);
{
ulong __oomAddr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__oomAddr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(oomAddr);
{
__retVal = __target(__this, __oomAddr_native, data);
}
// 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_GetOOMData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __oomAddr_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpOomData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress oomAddr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
oomAddr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__oomAddr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetOOMData(oomAddr, data);
}
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.ISOSDacInterface.GetOOMStaticData(global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpOomData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpOomData*, int> )__vtable[52]);
{
int __retVal;
{
__retVal = __target(__this, data);
}
// 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_GetOOMStaticData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpOomData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @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.ISOSDacInterface>(__this_native);
__retVal = @this.GetOOMStaticData(data);
}
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.ISOSDacInterface.GetHeapAnalyzeData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapAnalyzeData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapAnalyzeData*, int> )__vtable[53]);
{
ulong __addr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__addr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(addr);
{
__retVal = __target(__this, __addr_native, data);
}
// 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_GetHeapAnalyzeData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __addr_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapAnalyzeData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
addr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__addr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetHeapAnalyzeData(addr, data);
}
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.ISOSDacInterface.GetHeapAnalyzeStaticData(global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapAnalyzeData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapAnalyzeData*, int> )__vtable[54]);
{
int __retVal;
{
__retVal = __target(__this, data);
}
// 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_GetHeapAnalyzeStaticData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpGcHeapAnalyzeData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @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.ISOSDacInterface>(__this_native);
__retVal = @this.GetHeapAnalyzeStaticData(data);
}
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.ISOSDacInterface.GetDomainLocalModuleData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr, void* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, void*, int> )__vtable[55]);
{
ulong __addr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__addr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(addr);
{
__retVal = __target(__this, __addr_native, data);
}
// 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_GetDomainLocalModuleData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __addr_native, void* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
addr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__addr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetDomainLocalModuleData(addr, data);
}
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.ISOSDacInterface.GetDomainLocalModuleDataFromAppDomain(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress appDomainAddr, int moduleID, void* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int, void*, int> )__vtable[56]);
{
ulong __appDomainAddr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__appDomainAddr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(appDomainAddr);
{
__retVal = __target(__this, __appDomainAddr_native, moduleID, data);
}
// 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_GetDomainLocalModuleDataFromAppDomain(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __appDomainAddr_native, int moduleID, void* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress appDomainAddr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
appDomainAddr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__appDomainAddr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetDomainLocalModuleDataFromAppDomain(appDomainAddr, moduleID, data);
}
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.ISOSDacInterface.GetDomainLocalModuleDataFromModule(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress moduleAddr, void* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, void*, int> )__vtable[57]);
{
ulong __moduleAddr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__moduleAddr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(moduleAddr);
{
__retVal = __target(__this, __moduleAddr_native, data);
}
// 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_GetDomainLocalModuleDataFromModule(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __moduleAddr_native, void* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress moduleAddr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
moduleAddr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__moduleAddr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetDomainLocalModuleDataFromModule(moduleAddr, data);
}
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.ISOSDacInterface.GetThreadLocalModuleData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress thread, uint index, void* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, void*, int> )__vtable[58]);
{
ulong __thread_native;
int __retVal;
// Marshal - Convert managed data to native data.
__thread_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(thread);
{
__retVal = __target(__this, __thread_native, index, data);
}
// 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_GetThreadLocalModuleData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __thread_native, uint index, void* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress thread = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
thread = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__thread_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetThreadLocalModuleData(thread, index, data);
}
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.ISOSDacInterface.GetSyncBlockData(uint number, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpSyncBlockData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpSyncBlockData*, int> )__vtable[59]);
{
int __retVal;
{
__retVal = __target(__this, number, data);
}
// 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_GetSyncBlockData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint number, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpSyncBlockData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @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.ISOSDacInterface>(__this_native);
__retVal = @this.GetSyncBlockData(number, data);
}
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.ISOSDacInterface.GetSyncBlockCleanupData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpSyncBlockCleanupData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpSyncBlockCleanupData*, int> )__vtable[60]);
{
ulong __addr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__addr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(addr);
{
__retVal = __target(__this, __addr_native, data);
}
// 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_GetSyncBlockCleanupData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __addr_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpSyncBlockCleanupData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
addr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__addr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetSyncBlockCleanupData(addr, data);
}
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.ISOSDacInterface.GetHandleEnum(global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSHandleEnum> ppHandleEnum)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, void**, int> )__vtable[61]);
{
void** __ppHandleEnum_native = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSHandleEnum>.ManagedToUnmanaged __ppHandleEnum_native__marshaller = new();
try
{
// Marshal - Convert managed data to native data.
__ppHandleEnum_native__marshaller.FromManaged(ppHandleEnum);
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__ppHandleEnum_native = __ppHandleEnum_native__marshaller.ToUnmanaged();
__retVal = __target(__this, __ppHandleEnum_native);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
__ppHandleEnum_native__marshaller.OnInvoked();
global::System.GC.KeepAlive(this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__ppHandleEnum_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_GetHandleEnum(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, void** __ppHandleEnum_native)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSHandleEnum> ppHandleEnum = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSHandleEnum>.UnmanagedToManaged __ppHandleEnum_native__marshaller = new();
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__ppHandleEnum_native__marshaller.FromUnmanaged(__ppHandleEnum_native);
// Unmarshal - Convert native data to managed data.
ppHandleEnum = __ppHandleEnum_native__marshaller.ToManaged();
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetHandleEnum(ppHandleEnum);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__ppHandleEnum_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.ISOSDacInterface.GetHandleEnumForTypes(uint[] types, uint count, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSHandleEnum> ppHandleEnum)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint*, uint, void**, int> )__vtable[62]);
{
void** __ppHandleEnum_native = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSHandleEnum>.ManagedToUnmanaged __ppHandleEnum_native__marshaller = new();
try
{
// Marshal - Convert managed data to native data.
__ppHandleEnum_native__marshaller.FromManaged(ppHandleEnum);
// Pin - Pin data in preparation for calling the P/Invoke.
fixed (void* __types_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<uint, uint>.ManagedToUnmanagedIn.GetPinnableReference(types))
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__ppHandleEnum_native = __ppHandleEnum_native__marshaller.ToUnmanaged();
__retVal = __target(__this, (uint*)__types_native, count, __ppHandleEnum_native);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
__ppHandleEnum_native__marshaller.OnInvoked();
global::System.GC.KeepAlive(this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__ppHandleEnum_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_GetHandleEnumForTypes(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint* __types_native, uint count, void** __ppHandleEnum_native)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
uint[] types = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSHandleEnum> ppHandleEnum = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSHandleEnum>.UnmanagedToManaged __ppHandleEnum_native__marshaller = new();
int __types_native__numElements;
__types_native__numElements = default;
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__ppHandleEnum_native__marshaller.FromUnmanaged(__ppHandleEnum_native);
// Unmarshal - Convert native data to managed data.
ppHandleEnum = __ppHandleEnum_native__marshaller.ToManaged();
__types_native__numElements = checked((int)(count));
types = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<uint, uint>.AllocateContainerForManagedElements(__types_native, __types_native__numElements);
global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<uint, uint>.GetUnmanagedValuesSource(__types_native, __types_native__numElements).CopyTo(global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<uint, uint>.GetManagedValuesDestination(types));
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetHandleEnumForTypes(types, count, ppHandleEnum);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__ppHandleEnum_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.ISOSDacInterface.GetHandleEnumForGC(uint gen, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSHandleEnum> ppHandleEnum)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, void**, int> )__vtable[63]);
{
void** __ppHandleEnum_native = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSHandleEnum>.ManagedToUnmanaged __ppHandleEnum_native__marshaller = new();
try
{
// Marshal - Convert managed data to native data.
__ppHandleEnum_native__marshaller.FromManaged(ppHandleEnum);
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__ppHandleEnum_native = __ppHandleEnum_native__marshaller.ToUnmanaged();
__retVal = __target(__this, gen, __ppHandleEnum_native);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
__ppHandleEnum_native__marshaller.OnInvoked();
global::System.GC.KeepAlive(this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__ppHandleEnum_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_GetHandleEnumForGC(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint gen, void** __ppHandleEnum_native)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSHandleEnum> ppHandleEnum = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSHandleEnum>.UnmanagedToManaged __ppHandleEnum_native__marshaller = new();
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__ppHandleEnum_native__marshaller.FromUnmanaged(__ppHandleEnum_native);
// Unmarshal - Convert native data to managed data.
ppHandleEnum = __ppHandleEnum_native__marshaller.ToManaged();
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetHandleEnumForGC(gen, ppHandleEnum);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__ppHandleEnum_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.ISOSDacInterface.TraverseEHInfo(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress ip, delegate* unmanaged<uint, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DACEHInfo*, void*, int> pCallback, void* token)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, delegate* unmanaged<uint, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DACEHInfo*, void*, int> , void*, int> )__vtable[64]);
{
ulong __ip_native;
int __retVal;
// Marshal - Convert managed data to native data.
__ip_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(ip);
{
__retVal = __target(__this, __ip_native, pCallback, token);
}
// 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_TraverseEHInfo(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __ip_native, delegate* unmanaged<uint, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DACEHInfo*, void*, int> pCallback, void* token)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress ip = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
ip = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__ip_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.TraverseEHInfo(ip, pCallback, token);
}
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.ISOSDacInterface.GetNestedExceptionData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress exception, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* exceptionObject, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* nextNestedException)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> )__vtable[65]);
{
ulong __exception_native;
int __retVal;
// Marshal - Convert managed data to native data.
__exception_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(exception);
{
__retVal = __target(__this, __exception_native, exceptionObject, nextNestedException);
}
// 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_GetNestedExceptionData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __exception_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* exceptionObject, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* nextNestedException)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress exception = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
exception = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__exception_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetNestedExceptionData(exception, exceptionObject, nextNestedException);
}
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.ISOSDacInterface.GetStressLogAddress(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* stressLog)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress*, int> )__vtable[66]);
{
int __retVal;
{
__retVal = __target(__this, stressLog);
}
// 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_GetStressLogAddress(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress* stressLog)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @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.ISOSDacInterface>(__this_native);
__retVal = @this.GetStressLogAddress(stressLog);
}
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.ISOSDacInterface.TraverseLoaderHeap(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress loaderHeapAddr, delegate* unmanaged<ulong, nuint, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL, void> pCallback)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, delegate* unmanaged<ulong, nuint, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL, void> , int> )__vtable[67]);
{
ulong __loaderHeapAddr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__loaderHeapAddr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(loaderHeapAddr);
{
__retVal = __target(__this, __loaderHeapAddr_native, pCallback);
}
// 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_TraverseLoaderHeap(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __loaderHeapAddr_native, delegate* unmanaged<ulong, nuint, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL, void> pCallback)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress loaderHeapAddr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
loaderHeapAddr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__loaderHeapAddr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.TraverseLoaderHeap(loaderHeapAddr, pCallback);
}
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.ISOSDacInterface.GetCodeHeapList(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress jitManager, uint count, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo[] codeHeaps, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo*, uint*, int> )__vtable[68]);
{
ulong __jitManager_native;
int __retVal;
// Marshal - Convert managed data to native data.
__jitManager_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(jitManager);
// Pin - Pin data in preparation for calling the P/Invoke.
fixed (void* __codeHeaps_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo>.ManagedToUnmanagedIn.GetPinnableReference(codeHeaps))
{
__retVal = __target(__this, __jitManager_native, count, (global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo*)__codeHeaps_native, pNeeded);
}
// 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_GetCodeHeapList(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __jitManager_native, uint count, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo* __codeHeaps_native, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress jitManager = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo[] codeHeaps = default;
int __retVal = default;
// Setup - Perform required setup.
int __codeHeaps_native__numElements;
__codeHeaps_native__numElements = default;
try
{
// Unmarshal - Convert native data to managed data.
__codeHeaps_native__numElements = checked((int)(count));
codeHeaps = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo>.AllocateContainerForManagedElements(__codeHeaps_native, __codeHeaps_native__numElements);
global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo>.GetUnmanagedValuesSource(__codeHeaps_native, __codeHeaps_native__numElements).CopyTo(global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo>.GetManagedValuesDestination(codeHeaps));
jitManager = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__jitManager_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetCodeHeapList(jitManager, count, codeHeaps, pNeeded);
// Marshal - Convert managed data to native data.
global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo>.GetManagedValuesDestination(codeHeaps).CopyTo(global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.InteropServices.MemoryMarshal.GetReference(global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo>.GetUnmanagedValuesSource(__codeHeaps_native, __codeHeaps_native__numElements)), global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpJitCodeHeapInfo>.GetUnmanagedValuesSource(__codeHeaps_native, __codeHeaps_native__numElements).Length));
}
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.ISOSDacInterface.TraverseVirtCallStubHeap(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress pAppDomain, global::Microsoft.Diagnostics.DataContractReader.Legacy.VCSHeapType heaptype, delegate* unmanaged<ulong, nuint, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL, void> pCallback)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.VCSHeapType, delegate* unmanaged<ulong, nuint, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL, void> , int> )__vtable[69]);
{
ulong __pAppDomain_native;
int __retVal;
// Marshal - Convert managed data to native data.
__pAppDomain_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(pAppDomain);
{
__retVal = __target(__this, __pAppDomain_native, heaptype, pCallback);
}
// 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_TraverseVirtCallStubHeap(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __pAppDomain_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.VCSHeapType heaptype, delegate* unmanaged<ulong, nuint, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL, void> pCallback)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress pAppDomain = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
pAppDomain = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__pAppDomain_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.TraverseVirtCallStubHeap(pAppDomain, heaptype, pCallback);
}
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.ISOSDacInterface.GetUsefulGlobals(global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpUsefulGlobalsData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpUsefulGlobalsData*, int> )__vtable[70]);
{
int __retVal;
{
__retVal = __target(__this, data);
}
// 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_GetUsefulGlobals(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpUsefulGlobalsData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @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.ISOSDacInterface>(__this_native);
__retVal = @this.GetUsefulGlobals(data);
}
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.ISOSDacInterface.GetClrWatsonBuckets(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress thread, void* pGenericModeBlock)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, void*, int> )__vtable[71]);
{
ulong __thread_native;
int __retVal;
// Marshal - Convert managed data to native data.
__thread_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(thread);
{
__retVal = __target(__this, __thread_native, pGenericModeBlock);
}
// 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_GetClrWatsonBuckets(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __thread_native, void* pGenericModeBlock)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress thread = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
thread = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__thread_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetClrWatsonBuckets(thread, pGenericModeBlock);
}
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.ISOSDacInterface.GetTLSIndex(uint* pIndex)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint*, int> )__vtable[72]);
{
int __retVal;
{
__retVal = __target(__this, pIndex);
}
// 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_GetTLSIndex(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint* pIndex)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @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.ISOSDacInterface>(__this_native);
__retVal = @this.GetTLSIndex(pIndex);
}
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.ISOSDacInterface.GetDacModuleHandle(void* phModule)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, int> )__vtable[73]);
{
int __retVal;
{
__retVal = __target(__this, phModule);
}
// 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_GetDacModuleHandle(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, void* phModule)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @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.ISOSDacInterface>(__this_native);
__retVal = @this.GetDacModuleHandle(phModule);
}
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.ISOSDacInterface.GetRCWData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpRCWData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpRCWData*, int> )__vtable[74]);
{
ulong __addr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__addr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(addr);
{
__retVal = __target(__this, __addr_native, data);
}
// 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_GetRCWData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __addr_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpRCWData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress addr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
addr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__addr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetRCWData(addr, data);
}
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.ISOSDacInterface.GetRCWInterfaces(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress rcw, uint count, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData[] interfaces, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData*, uint*, int> )__vtable[75]);
{
ulong __rcw_native;
int __retVal;
// Marshal - Convert managed data to native data.
__rcw_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(rcw);
// Pin - Pin data in preparation for calling the P/Invoke.
fixed (void* __interfaces_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData>.ManagedToUnmanagedIn.GetPinnableReference(interfaces))
{
__retVal = __target(__this, __rcw_native, count, (global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData*)__interfaces_native, pNeeded);
}
// 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_GetRCWInterfaces(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __rcw_native, uint count, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData* __interfaces_native, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress rcw = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData[] interfaces = default;
int __retVal = default;
// Setup - Perform required setup.
int __interfaces_native__numElements;
__interfaces_native__numElements = default;
try
{
// Unmarshal - Convert native data to managed data.
__interfaces_native__numElements = checked((int)(count));
interfaces = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData>.AllocateContainerForManagedElements(__interfaces_native, __interfaces_native__numElements);
global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData>.GetUnmanagedValuesSource(__interfaces_native, __interfaces_native__numElements).CopyTo(global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData>.GetManagedValuesDestination(interfaces));
rcw = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__rcw_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetRCWInterfaces(rcw, count, interfaces, pNeeded);
// Marshal - Convert managed data to native data.
global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData>.GetManagedValuesDestination(interfaces).CopyTo(global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.InteropServices.MemoryMarshal.GetReference(global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData>.GetUnmanagedValuesSource(__interfaces_native, __interfaces_native__numElements)), global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData>.GetUnmanagedValuesSource(__interfaces_native, __interfaces_native__numElements).Length));
}
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.ISOSDacInterface.GetCCWData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress ccw, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCCWData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCCWData*, int> )__vtable[76]);
{
ulong __ccw_native;
int __retVal;
// Marshal - Convert managed data to native data.
__ccw_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(ccw);
{
__retVal = __target(__this, __ccw_native, data);
}
// 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_GetCCWData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __ccw_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCCWData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress ccw = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
ccw = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__ccw_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetCCWData(ccw, data);
}
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.ISOSDacInterface.GetCCWInterfaces(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress ccw, uint count, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData[] interfaces, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData*, uint*, int> )__vtable[77]);
{
ulong __ccw_native;
int __retVal;
// Marshal - Convert managed data to native data.
__ccw_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(ccw);
// Pin - Pin data in preparation for calling the P/Invoke.
fixed (void* __interfaces_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData>.ManagedToUnmanagedIn.GetPinnableReference(interfaces))
{
__retVal = __target(__this, __ccw_native, count, (global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData*)__interfaces_native, pNeeded);
}
// 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_GetCCWInterfaces(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __ccw_native, uint count, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData* __interfaces_native, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress ccw = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData[] interfaces = default;
int __retVal = default;
// Setup - Perform required setup.
int __interfaces_native__numElements;
__interfaces_native__numElements = default;
try
{
// Unmarshal - Convert native data to managed data.
__interfaces_native__numElements = checked((int)(count));
interfaces = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData>.AllocateContainerForManagedElements(__interfaces_native, __interfaces_native__numElements);
global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData>.GetUnmanagedValuesSource(__interfaces_native, __interfaces_native__numElements).CopyTo(global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData>.GetManagedValuesDestination(interfaces));
ccw = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__ccw_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetCCWInterfaces(ccw, count, interfaces, pNeeded);
// Marshal - Convert managed data to native data.
global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData>.GetManagedValuesDestination(interfaces).CopyTo(global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.InteropServices.MemoryMarshal.GetReference(global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData>.GetUnmanagedValuesSource(__interfaces_native, __interfaces_native__numElements)), global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpCOMInterfacePointerData>.GetUnmanagedValuesSource(__interfaces_native, __interfaces_native__numElements).Length));
}
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.ISOSDacInterface.TraverseRCWCleanupList(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress cleanupListPtr, delegate* unmanaged<ulong, ulong, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL, void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL> pCallback, void* token)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, delegate* unmanaged<ulong, ulong, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL, void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL> , void*, int> )__vtable[78]);
{
ulong __cleanupListPtr_native;
int __retVal;
// Marshal - Convert managed data to native data.
__cleanupListPtr_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(cleanupListPtr);
{
__retVal = __target(__this, __cleanupListPtr_native, pCallback, token);
}
// 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_TraverseRCWCleanupList(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __cleanupListPtr_native, delegate* unmanaged<ulong, ulong, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL, void*, global::Microsoft.Diagnostics.DataContractReader.Legacy.Interop.BOOL> pCallback, void* token)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress cleanupListPtr = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
cleanupListPtr = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__cleanupListPtr_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.TraverseRCWCleanupList(cleanupListPtr, pCallback, token);
}
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.ISOSDacInterface.GetStackReferences(int osThreadID, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSStackRefEnum> ppEnum)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, int, void**, int> )__vtable[79]);
{
void** __ppEnum_native = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSStackRefEnum>.ManagedToUnmanaged __ppEnum_native__marshaller = new();
try
{
// Marshal - Convert managed data to native data.
__ppEnum_native__marshaller.FromManaged(ppEnum);
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__ppEnum_native = __ppEnum_native__marshaller.ToUnmanaged();
__retVal = __target(__this, osThreadID, __ppEnum_native);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
__ppEnum_native__marshaller.OnInvoked();
global::System.GC.KeepAlive(this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__ppEnum_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_GetStackReferences(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, int osThreadID, void** __ppEnum_native)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSStackRefEnum> ppEnum = default;
int __retVal = default;
// Setup - Perform required setup.
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSStackRefEnum>.UnmanagedToManaged __ppEnum_native__marshaller = new();
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__ppEnum_native__marshaller.FromUnmanaged(__ppEnum_native);
// Unmarshal - Convert native data to managed data.
ppEnum = __ppEnum_native__marshaller.ToManaged();
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetStackReferences(osThreadID, ppEnum);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
__ppEnum_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.ISOSDacInterface.GetRegisterName(int regName, uint count, char* buffer, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, int, uint, char*, uint*, int> )__vtable[80]);
{
int __retVal;
{
__retVal = __target(__this, regName, count, buffer, pNeeded);
}
// 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_GetRegisterName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, int regName, uint count, char* buffer, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @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.ISOSDacInterface>(__this_native);
__retVal = @this.GetRegisterName(regName, count, buffer, pNeeded);
}
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.ISOSDacInterface.GetThreadAllocData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress thread, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpAllocData* data)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpAllocData*, int> )__vtable[81]);
{
ulong __thread_native;
int __retVal;
// Marshal - Convert managed data to native data.
__thread_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(thread);
{
__retVal = __target(__this, __thread_native, data);
}
// 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_GetThreadAllocData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __thread_native, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpAllocData* data)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress thread = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
thread = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__thread_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetThreadAllocData(thread, data);
}
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.ISOSDacInterface.GetHeapAllocData(uint count, void* data, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, void*, uint*, int> )__vtable[82]);
{
int __retVal;
{
__retVal = __target(__this, count, data, pNeeded);
}
// 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_GetHeapAllocData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint count, void* data, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @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.ISOSDacInterface>(__this_native);
__retVal = @this.GetHeapAllocData(count, data, pNeeded);
}
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.ISOSDacInterface.GetFailedAssemblyList(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress appDomain, int count, global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress[] values, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int, ulong*, uint*, int> )__vtable[83]);
{
bool __invokeSucceeded = default;
ulong __appDomain_native = default;
ulong* __values_native = default;
int __retVal = default;
// Setup - Perform required setup.
scoped global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.ManagedToUnmanagedIn __values_native__marshaller = new();
int __values_native__numElements;
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __values_native__numElements);
int __values_native__lastIndexMarshalled = 0;
try
{
// Marshal - Convert managed data to native data.
__values_native__marshaller.FromManaged(values, stackalloc ulong[global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.ManagedToUnmanagedIn.BufferSize]);
{
global::System.ReadOnlySpan<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __values_native__managedSpan = __values_native__marshaller.GetManagedValuesSource();
global::System.Span<ulong> __values_native__nativeSpan = __values_native__marshaller.GetUnmanagedValuesDestination();
for (int __i0 = 0; __i0 < __values_native__managedSpan.Length; ++__i0, ++__values_native__lastIndexMarshalled)
{
__values_native__nativeSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(__values_native__managedSpan[__i0]);
}
}
__appDomain_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(appDomain);
// Pin - Pin data in preparation for calling the P/Invoke.
fixed (void* __values_native__unused = __values_native__marshaller)
{
// PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned.
__values_native = __values_native__marshaller.ToUnmanaged();
__retVal = __target(__this, __appDomain_native, count, __values_native, pNeeded);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
global::System.GC.KeepAlive(this);
__invokeSucceeded = true;
// Unmarshal - Convert native data to managed data.
{
__values_native__numElements = __values_native__marshaller.GetManagedValuesSource().Length;
global::System.Span<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __values_native__managedSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in __values_native__marshaller.GetManagedValuesSource().GetPinnableReference()), __values_native__numElements);
global::System.Span<ulong> __values_native__nativeSpan = __values_native__marshaller.GetUnmanagedValuesDestination();
for (int __i0 = 0; __i0 < __values_native__managedSpan.Length; ++__i0)
{
__values_native__managedSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__values_native__nativeSpan[__i0]);
}
}
}
finally
{
if (__invokeSucceeded)
{
// CleanupCalleeAllocated - Perform cleanup of callee allocated resources.
_ = __values_native__lastIndexMarshalled;
}
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
_ = __values_native__lastIndexMarshalled;
__values_native__marshaller.Free();
}
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_GetFailedAssemblyList(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __appDomain_native, int count, ulong* __values_native, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress appDomain = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress[] values = default;
int __retVal = default;
// Setup - Perform required setup.
int __values_native__numElements;
__values_native__numElements = default;
try
{
// Unmarshal - Convert native data to managed data.
__values_native__numElements = count;
values = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.AllocateContainerForManagedElements(__values_native, __values_native__numElements);
{
global::System.ReadOnlySpan<ulong> __values_native__nativeSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetUnmanagedValuesSource(__values_native, __values_native__numElements);
global::System.Span<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __values_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetManagedValuesDestination(values);
for (int __i0 = 0; __i0 < __values_native__nativeSpan.Length; ++__i0)
{
__values_native__managedSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__values_native__nativeSpan[__i0]);
}
}
appDomain = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__appDomain_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetFailedAssemblyList(appDomain, count, values, pNeeded);
// Marshal - Convert managed data to native data.
{
__values_native__numElements = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetManagedValuesDestination(values).Length;
global::System.Span<ulong> __values_native__nativeSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetUnmanagedValuesSource(__values_native, __values_native__numElements).GetPinnableReference()), __values_native__numElements);
global::System.Span<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress> __values_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress, ulong>.GetManagedValuesDestination(values);
for (int __i0 = 0; __i0 < __values_native__nativeSpan.Length; ++__i0)
{
ulong __values_native__nativeSpan____i0__original = __values_native__nativeSpan[__i0];
__values_native__nativeSpan[__i0] = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(__values_native__managedSpan[__i0]);
}
}
}
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.ISOSDacInterface.GetPrivateBinPaths(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress appDomain, int count, char* paths, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int, char*, uint*, int> )__vtable[84]);
{
ulong __appDomain_native;
int __retVal;
// Marshal - Convert managed data to native data.
__appDomain_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(appDomain);
{
__retVal = __target(__this, __appDomain_native, count, paths, pNeeded);
}
// 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_GetPrivateBinPaths(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __appDomain_native, int count, char* paths, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress appDomain = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
appDomain = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__appDomain_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetPrivateBinPaths(appDomain, count, paths, pNeeded);
}
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.ISOSDacInterface.GetAssemblyLocation(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress assembly, int count, char* location, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int, char*, uint*, int> )__vtable[85]);
{
ulong __assembly_native;
int __retVal;
// Marshal - Convert managed data to native data.
__assembly_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(assembly);
{
__retVal = __target(__this, __assembly_native, count, location, pNeeded);
}
// 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_GetAssemblyLocation(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __assembly_native, int count, char* location, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress assembly = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
assembly = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__assembly_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetAssemblyLocation(assembly, count, location, pNeeded);
}
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.ISOSDacInterface.GetAppDomainConfigFile(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress appDomain, int count, char* configFile, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int, char*, uint*, int> )__vtable[86]);
{
ulong __appDomain_native;
int __retVal;
// Marshal - Convert managed data to native data.
__appDomain_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(appDomain);
{
__retVal = __target(__this, __appDomain_native, count, configFile, pNeeded);
}
// 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_GetAppDomainConfigFile(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __appDomain_native, int count, char* configFile, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress appDomain = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
appDomain = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__appDomain_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetAppDomainConfigFile(appDomain, count, configFile, pNeeded);
}
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.ISOSDacInterface.GetApplicationBase(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress appDomain, int count, char* appBase, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int, char*, uint*, int> )__vtable[87]);
{
ulong __appDomain_native;
int __retVal;
// Marshal - Convert managed data to native data.
__appDomain_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(appDomain);
{
__retVal = __target(__this, __appDomain_native, count, appBase, pNeeded);
}
// 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_GetApplicationBase(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __appDomain_native, int count, char* appBase, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress appDomain = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
appDomain = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__appDomain_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetApplicationBase(appDomain, count, appBase, pNeeded);
}
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.ISOSDacInterface.GetFailedAssemblyData(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress assembly, uint* pContext, int* pResult)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint*, int*, int> )__vtable[88]);
{
ulong __assembly_native;
int __retVal;
// Marshal - Convert managed data to native data.
__assembly_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(assembly);
{
__retVal = __target(__this, __assembly_native, pContext, pResult);
}
// 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_GetFailedAssemblyData(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __assembly_native, uint* pContext, int* pResult)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress assembly = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
assembly = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__assembly_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetFailedAssemblyData(assembly, pContext, pResult);
}
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.ISOSDacInterface.GetFailedAssemblyLocation(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress assesmbly, uint count, char* location, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, char*, uint*, int> )__vtable[89]);
{
ulong __assesmbly_native;
int __retVal;
// Marshal - Convert managed data to native data.
__assesmbly_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(assesmbly);
{
__retVal = __target(__this, __assesmbly_native, count, location, pNeeded);
}
// 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_GetFailedAssemblyLocation(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __assesmbly_native, uint count, char* location, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress assesmbly = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
assesmbly = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__assesmbly_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetFailedAssemblyLocation(assesmbly, count, location, pNeeded);
}
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.ISOSDacInterface.GetFailedAssemblyDisplayName(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress assembly, uint count, char* name, uint* pNeeded)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, uint, char*, uint*, int> )__vtable[90]);
{
ulong __assembly_native;
int __retVal;
// Marshal - Convert managed data to native data.
__assembly_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(assembly);
{
__retVal = __target(__this, __assembly_native, count, name, pNeeded);
}
// 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_GetFailedAssemblyDisplayName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __assembly_native, uint count, char* name, uint* pNeeded)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress assembly = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
assembly = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__assembly_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface>(__this_native);
__retVal = @this.GetFailedAssemblyDisplayName(assembly, count, name, pNeeded);
}
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 ISOSDacInterface
{
}
}
|