diff --git a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasImageInterop.cs b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasImageInterop.cs index c094f01d..d51c3cd4 100644 --- a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasImageInterop.cs +++ b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasImageInterop.cs @@ -1,4 +1,5 @@ using System; +using System.ComponentModel; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ComputeSharp.Win32; @@ -105,8 +106,14 @@ namespace ABI.Microsoft.Graphics.Canvas /// /// The ABI methods for . /// + /// + /// This type has public accessibility to allow the AOT generator in CsWinRT to reference + /// the and properties to make + /// marshalling of CCW types AOT-safe. It is not meant to be used directly by developers. + /// [Guid("E042D1F7-F9AD-4479-A713-67627EA31863")] - internal static unsafe class ICanvasImageInteropMethods + [EditorBrowsable(EditorBrowsableState.Never)] + public static unsafe class ICanvasImageInteropMethods { /// public static Guid IID => *ICanvasImageInterop.IID;