File: _generated\15\Microsoft.Diagnostics.DataContractReader.Legacy.SOSDacImpl.SOSMethodEnum.cs
Web Access
Project: src\src\runtime\src\native\managed\cdac\Microsoft.Diagnostics.DataContractReader.Legacy\Microsoft.Diagnostics.DataContractReader.Legacy.csproj (Microsoft.Diagnostics.DataContractReader.Legacy)
// <auto-generated />
file sealed unsafe class ComClassInformation : global::System.Runtime.InteropServices.Marshalling.IComExposedClass
{
    private static volatile global::System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* s_vtables;

    public static global::System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* GetComInterfaceEntries(out int count)
    {
        count = 2;
        if (s_vtables == null)
        {
            global::System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* vtables = (global::System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry*)global::System.Runtime.CompilerServices.RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(ComClassInformation), sizeof(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry) * 2);
            global::System.Runtime.InteropServices.Marshalling.IIUnknownDerivedDetails details;

            details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSMethodEnum).TypeHandle);
            vtables[0] = new() { IID = details.Iid, Vtable = (nint)details.ManagedVirtualMethodTable };

            details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSEnum).TypeHandle);
            vtables[1] = new() { IID = details.Iid, Vtable = (nint)details.ManagedVirtualMethodTable };

            s_vtables = vtables;
        }

        return s_vtables;
    }
}

namespace Microsoft.Diagnostics.DataContractReader.Legacy
{
    public sealed unsafe partial class SOSDacImpl
    {
        [global::System.Runtime.InteropServices.Marshalling.ComExposedClassAttribute<ComClassInformation>]
        internal sealed unsafe partial class SOSMethodEnum { }
    }
}