From ed088c844d813612ed82e187b8368fcc8cd5969b Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sat, 27 Jan 2024 23:31:38 +0100 Subject: [PATCH] Make ICanvasImageInteropMethods public --- .../ABI.Microsoft.Graphics.Canvas/ICanvasImageInterop.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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;