|
// <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*, uint, byte**, uint*, uint*, char*, uint, uint*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ASSEMBLYMETADATA*, uint*, int> GetAssemblyProps_3;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, byte**, uint*, char*, uint, uint*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ASSEMBLYMETADATA*, byte**, uint*, uint*, int> GetAssemblyRefProps_4;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, char*, uint, uint*, byte**, uint*, uint*, int> GetFileProps_5;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, char*, uint, uint*, uint*, uint*, uint*, int> GetExportedTypeProps_6;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, char*, uint, uint*, uint*, uint*, uint*, int> GetManifestResourceProps_7;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, nint*, uint*, uint, uint*, int> EnumAssemblyRefs_8;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, nint*, uint*, uint, uint*, int> EnumFiles_9;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, nint*, uint*, uint, uint*, int> EnumExportedTypes_10;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, nint*, uint*, uint, uint*, int> EnumManifestResources_11;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint*, int> GetAssemblyFromScope_12;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, char*, uint, uint*, int> FindExportedTypeByName_13;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, char*, uint*, int> FindManifestResourceByName_14;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, nint, void> CloseEnum_15;
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, char*, char*, char*, nint*, uint, uint*, int> FindAssembliesByName_16;
}
file unsafe sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType
{
public static global::System.Guid Iid { get; } = new([11, 71, 98, 238, 75, 233, 78, 66, 155, 124, 47, 0, 201, 36, 159, 147]);
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.IMetaDataAssemblyImport
{
[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.GetAssemblyProps_3 = &ABI_GetAssemblyProps;
Vtable.GetAssemblyRefProps_4 = &ABI_GetAssemblyRefProps;
Vtable.GetFileProps_5 = &ABI_GetFileProps;
Vtable.GetExportedTypeProps_6 = &ABI_GetExportedTypeProps;
Vtable.GetManifestResourceProps_7 = &ABI_GetManifestResourceProps;
Vtable.EnumAssemblyRefs_8 = &ABI_EnumAssemblyRefs;
Vtable.EnumFiles_9 = &ABI_EnumFiles;
Vtable.EnumExportedTypes_10 = &ABI_EnumExportedTypes;
Vtable.EnumManifestResources_11 = &ABI_EnumManifestResources;
Vtable.GetAssemblyFromScope_12 = &ABI_GetAssemblyFromScope;
Vtable.FindExportedTypeByName_13 = &ABI_FindExportedTypeByName;
Vtable.FindManifestResourceByName_14 = &ABI_FindManifestResourceByName;
Vtable.CloseEnum_15 = &ABI_CloseEnum;
Vtable.FindAssembliesByName_16 = &ABI_FindAssembliesByName;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport.GetAssemblyProps(uint mda, byte** ppbPublicKey, uint* pcbPublicKey, uint* pulHashAlgId, char* szName, uint cchName, uint* pchName, global::Microsoft.Diagnostics.DataContractReader.Legacy.ASSEMBLYMETADATA* pMetaData, uint* pdwAssemblyFlags)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, byte**, uint*, uint*, char*, uint, uint*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ASSEMBLYMETADATA*, uint*, int> )__vtable[3]);
{
int __retVal;
{
__retVal = __target(__this, mda, ppbPublicKey, pcbPublicKey, pulHashAlgId, szName, cchName, pchName, pMetaData, pdwAssemblyFlags);
}
// 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_GetAssemblyProps(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint mda, byte** ppbPublicKey, uint* pcbPublicKey, uint* pulHashAlgId, char* szName, uint cchName, uint* pchName, global::Microsoft.Diagnostics.DataContractReader.Legacy.ASSEMBLYMETADATA* pMetaData, uint* pdwAssemblyFlags)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport @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.IMetaDataAssemblyImport>(__this_native);
__retVal = @this.GetAssemblyProps(mda, ppbPublicKey, pcbPublicKey, pulHashAlgId, szName, cchName, pchName, pMetaData, pdwAssemblyFlags);
}
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.IMetaDataAssemblyImport.GetAssemblyRefProps(uint mdar, byte** ppbPublicKeyOrToken, uint* pcbPublicKeyOrToken, char* szName, uint cchName, uint* pchName, global::Microsoft.Diagnostics.DataContractReader.Legacy.ASSEMBLYMETADATA* pMetaData, byte** ppbHashValue, uint* pcbHashValue, uint* pdwAssemblyRefFlags)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, byte**, uint*, char*, uint, uint*, global::Microsoft.Diagnostics.DataContractReader.Legacy.ASSEMBLYMETADATA*, byte**, uint*, uint*, int> )__vtable[4]);
{
int __retVal;
{
__retVal = __target(__this, mdar, ppbPublicKeyOrToken, pcbPublicKeyOrToken, szName, cchName, pchName, pMetaData, ppbHashValue, pcbHashValue, pdwAssemblyRefFlags);
}
// 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_GetAssemblyRefProps(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint mdar, byte** ppbPublicKeyOrToken, uint* pcbPublicKeyOrToken, char* szName, uint cchName, uint* pchName, global::Microsoft.Diagnostics.DataContractReader.Legacy.ASSEMBLYMETADATA* pMetaData, byte** ppbHashValue, uint* pcbHashValue, uint* pdwAssemblyRefFlags)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport @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.IMetaDataAssemblyImport>(__this_native);
__retVal = @this.GetAssemblyRefProps(mdar, ppbPublicKeyOrToken, pcbPublicKeyOrToken, szName, cchName, pchName, pMetaData, ppbHashValue, pcbHashValue, pdwAssemblyRefFlags);
}
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.IMetaDataAssemblyImport.GetFileProps(uint mdf, char* szName, uint cchName, uint* pchName, byte** ppbHashValue, uint* pcbHashValue, uint* pdwFileFlags)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, char*, uint, uint*, byte**, uint*, uint*, int> )__vtable[5]);
{
int __retVal;
{
__retVal = __target(__this, mdf, szName, cchName, pchName, ppbHashValue, pcbHashValue, pdwFileFlags);
}
// 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_GetFileProps(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint mdf, char* szName, uint cchName, uint* pchName, byte** ppbHashValue, uint* pcbHashValue, uint* pdwFileFlags)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport @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.IMetaDataAssemblyImport>(__this_native);
__retVal = @this.GetFileProps(mdf, szName, cchName, pchName, ppbHashValue, pcbHashValue, pdwFileFlags);
}
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.IMetaDataAssemblyImport.GetExportedTypeProps(uint mdct, char* szName, uint cchName, uint* pchName, uint* ptkImplementation, uint* ptkTypeDef, uint* pdwExportedTypeFlags)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, char*, uint, uint*, uint*, uint*, uint*, int> )__vtable[6]);
{
int __retVal;
{
__retVal = __target(__this, mdct, szName, cchName, pchName, ptkImplementation, ptkTypeDef, pdwExportedTypeFlags);
}
// 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_GetExportedTypeProps(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint mdct, char* szName, uint cchName, uint* pchName, uint* ptkImplementation, uint* ptkTypeDef, uint* pdwExportedTypeFlags)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport @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.IMetaDataAssemblyImport>(__this_native);
__retVal = @this.GetExportedTypeProps(mdct, szName, cchName, pchName, ptkImplementation, ptkTypeDef, pdwExportedTypeFlags);
}
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.IMetaDataAssemblyImport.GetManifestResourceProps(uint mdmr, char* szName, uint cchName, uint* pchName, uint* ptkImplementation, uint* pdwOffset, uint* pdwResourceFlags)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, char*, uint, uint*, uint*, uint*, uint*, int> )__vtable[7]);
{
int __retVal;
{
__retVal = __target(__this, mdmr, szName, cchName, pchName, ptkImplementation, pdwOffset, pdwResourceFlags);
}
// 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_GetManifestResourceProps(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint mdmr, char* szName, uint cchName, uint* pchName, uint* ptkImplementation, uint* pdwOffset, uint* pdwResourceFlags)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport @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.IMetaDataAssemblyImport>(__this_native);
__retVal = @this.GetManifestResourceProps(mdmr, szName, cchName, pchName, ptkImplementation, pdwOffset, pdwResourceFlags);
}
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.IMetaDataAssemblyImport.EnumAssemblyRefs(nint* phEnum, uint* rAssemblyRefs, uint cMax, uint* pcTokens)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport));
var __target = ((delegate* unmanaged[MemberFunction]<void*, nint*, uint*, uint, uint*, int> )__vtable[8]);
{
int __retVal;
{
__retVal = __target(__this, phEnum, rAssemblyRefs, cMax, pcTokens);
}
// 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_EnumAssemblyRefs(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, nint* phEnum, uint* rAssemblyRefs, uint cMax, uint* pcTokens)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport @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.IMetaDataAssemblyImport>(__this_native);
__retVal = @this.EnumAssemblyRefs(phEnum, rAssemblyRefs, cMax, pcTokens);
}
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.IMetaDataAssemblyImport.EnumFiles(nint* phEnum, uint* rFiles, uint cMax, uint* pcTokens)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport));
var __target = ((delegate* unmanaged[MemberFunction]<void*, nint*, uint*, uint, uint*, int> )__vtable[9]);
{
int __retVal;
{
__retVal = __target(__this, phEnum, rFiles, cMax, pcTokens);
}
// 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_EnumFiles(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, nint* phEnum, uint* rFiles, uint cMax, uint* pcTokens)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport @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.IMetaDataAssemblyImport>(__this_native);
__retVal = @this.EnumFiles(phEnum, rFiles, cMax, pcTokens);
}
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.IMetaDataAssemblyImport.EnumExportedTypes(nint* phEnum, uint* rExportedTypes, uint cMax, uint* pcTokens)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport));
var __target = ((delegate* unmanaged[MemberFunction]<void*, nint*, uint*, uint, uint*, int> )__vtable[10]);
{
int __retVal;
{
__retVal = __target(__this, phEnum, rExportedTypes, cMax, pcTokens);
}
// 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_EnumExportedTypes(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, nint* phEnum, uint* rExportedTypes, uint cMax, uint* pcTokens)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport @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.IMetaDataAssemblyImport>(__this_native);
__retVal = @this.EnumExportedTypes(phEnum, rExportedTypes, cMax, pcTokens);
}
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.IMetaDataAssemblyImport.EnumManifestResources(nint* phEnum, uint* rManifestResources, uint cMax, uint* pcTokens)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport));
var __target = ((delegate* unmanaged[MemberFunction]<void*, nint*, uint*, uint, uint*, int> )__vtable[11]);
{
int __retVal;
{
__retVal = __target(__this, phEnum, rManifestResources, cMax, pcTokens);
}
// 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_EnumManifestResources(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, nint* phEnum, uint* rManifestResources, uint cMax, uint* pcTokens)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport @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.IMetaDataAssemblyImport>(__this_native);
__retVal = @this.EnumManifestResources(phEnum, rManifestResources, cMax, pcTokens);
}
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.IMetaDataAssemblyImport.GetAssemblyFromScope(uint* ptkAssembly)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint*, int> )__vtable[12]);
{
int __retVal;
{
__retVal = __target(__this, ptkAssembly);
}
// 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_GetAssemblyFromScope(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint* ptkAssembly)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport @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.IMetaDataAssemblyImport>(__this_native);
__retVal = @this.GetAssemblyFromScope(ptkAssembly);
}
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.IMetaDataAssemblyImport.FindExportedTypeByName(char* szName, uint mdtExportedType, uint* ptkExportedType)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport));
var __target = ((delegate* unmanaged[MemberFunction]<void*, char*, uint, uint*, int> )__vtable[13]);
{
int __retVal;
{
__retVal = __target(__this, szName, mdtExportedType, ptkExportedType);
}
// 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_FindExportedTypeByName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, char* szName, uint mdtExportedType, uint* ptkExportedType)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport @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.IMetaDataAssemblyImport>(__this_native);
__retVal = @this.FindExportedTypeByName(szName, mdtExportedType, ptkExportedType);
}
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.IMetaDataAssemblyImport.FindManifestResourceByName(char* szName, uint* ptkManifestResource)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport));
var __target = ((delegate* unmanaged[MemberFunction]<void*, char*, uint*, int> )__vtable[14]);
{
int __retVal;
{
__retVal = __target(__this, szName, ptkManifestResource);
}
// 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_FindManifestResourceByName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, char* szName, uint* ptkManifestResource)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport @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.IMetaDataAssemblyImport>(__this_native);
__retVal = @this.FindManifestResourceByName(szName, ptkManifestResource);
}
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]
void global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport.CloseEnum(nint hEnum)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport));
var __target = ((delegate* unmanaged[MemberFunction]<void*, nint, void> )__vtable[15]);
{
{
__target(__this, hEnum);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
global::System.GC.KeepAlive(this);
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static void ABI_CloseEnum(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, nint hEnum)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport @this = default;
try
{
// Unmarshal - Convert native data to managed data.
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport>(__this_native);
@this.CloseEnum(hEnum);
}
catch (global::System.Exception __exception)
{
global::System.Runtime.InteropServices.Marshalling.ExceptionAsVoidMarshaller.ConvertToUnmanaged(__exception);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport.FindAssembliesByName(char* szAppBase, char* szPrivateBin, char* szAssemblyName, nint* ppIUnk, uint cMax, uint* pcAssemblies)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport));
var __target = ((delegate* unmanaged[MemberFunction]<void*, char*, char*, char*, nint*, uint, uint*, int> )__vtable[16]);
{
int __retVal;
{
__retVal = __target(__this, szAppBase, szPrivateBin, szAssemblyName, ppIUnk, cMax, pcAssemblies);
}
// 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_FindAssembliesByName(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, char* szAppBase, char* szPrivateBin, char* szAssemblyName, nint* ppIUnk, uint cMax, uint* pcAssemblies)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport @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.IMetaDataAssemblyImport>(__this_native);
__retVal = @this.FindAssembliesByName(szAppBase, szPrivateBin, szAssemblyName, ppIUnk, cMax, pcAssemblies);
}
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 IMetaDataAssemblyImport
{
}
}
|