<PackageReference Include="System.Drawing.Common" Version="11.0.0-preview.1.26104.118" />

Windows.Win32.System.Com.IManagedWrapper<TComInterface1, TComInterface2, TComInterface3, TComInterface4, TComInterface5, TComInterface6, TComInterface7, TComInterface8, TComInterface9, TComInterface10, TComInterface11, TComInterface12, TComInterface13, TComInterface14, TComInterface15, TComInterface16, TComInterface17, TComInterface18, TComInterface19, TComInterface20, TComInterface21, TComInterface22, TComInterface23, TComInterface24, TComInterface25, TComInterface26, TComInterface27>

interface IManagedWrapper<TComInterface1, TComInterface2, TComInterface3, TComInterface4, TComInterface5, TComInterface6, TComInterface7, TComInterface8, TComInterface9, TComInterface10, TComInterface11, TComInterface12, TComInterface13, TComInterface14, TComInterface15, TComInterface16, TComInterface17, TComInterface18, TComInterface19, TComInterface20, TComInterface21, TComInterface22, TComInterface23, TComInterface24, TComInterface25, TComInterface26, TComInterface27> : IManagedWrapper where TComInterface1 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface2 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface3 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface4 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface5 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface6 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface7 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface8 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface9 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface10 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface11 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface12 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface13 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface14 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface15 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface16 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface17 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface18 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface19 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface20 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface21 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface22 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface23 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface24 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface25 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface26 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable where TComInterface27 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IComIID, IVTable
Apply to a class to apply a COM callable wrapper of the given interfaces. The class must also derive from the given COM wrapper structs' nested Interfaces.
/* Error decompiling System.Void Windows.Win32.System.Com.IManagedWrapper`27::.cctor() ---> System.NullReferenceException: Object reference not set to an instance of an object. at ICSharpCode.Decompiler.IL.Transforms.ILInlining.Run(ILFunction function, ILTransformContext context) in offset 34 at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DecompileBody(MethodDefinition methodDefinition, IMethod method, EntityDeclaration entityDecl, DecompileRun decompileRun, ITypeResolveContext decompilationContext) in offset 366 -- continuing with outer exception (ICSharpCode.Decompiler.DecompilerException) -- at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DecompileBody(MethodDefinition methodDefinition, IMethod method, EntityDeclaration entityDecl, DecompileRun decompileRun, ITypeResolveContext decompilationContext) in offset 835 at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DoDecompile(MethodDefinition methodDefinition, IMethod method, DecompileRun decompileRun, ITypeResolveContext decompilationContext) in offset 78 at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DoDecompile(ITypeDefinition typeDef, DecompileRun decompileRun, ITypeResolveContext decompilationContext) in offset 567 at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DoDecompileTypes(IEnumerable`1 types, DecompileRun decompileRun, ITypeResolveContext decompilationContext, SyntaxTree syntaxTree) in offset 154 at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DecompileType(FullTypeName fullTypeName) in offset 141 at Relativity.APIReference.TypeDocumentation.b__30_0() in TypeDocumentation.cs:line 270 */