From 5f7f720ffc1d390d0fdf145844d2866434ada7f8 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Tue, 6 Feb 2024 16:24:50 +0100 Subject: [PATCH] Enable enable AOT generator on collection types --- ...derEffect{T}.Properties.ResourceTextureManagerCollection.cs | 3 ++- .../PixelShaderEffect{T}.Properties.SourceCollection.cs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.Properties.ResourceTextureManagerCollection.cs b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.Properties.ResourceTextureManagerCollection.cs index d5355762..42ec5d12 100644 --- a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.Properties.ResourceTextureManagerCollection.cs +++ b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.Properties.ResourceTextureManagerCollection.cs @@ -18,7 +18,8 @@ partial class PixelShaderEffect /// /// Represents the collection of objects in a instance. /// - public sealed class ResourceTextureManagerCollection : IList, IReadOnlyList, IList, IFixedCountList + /// + public sealed partial class ResourceTextureManagerCollection : IList, IReadOnlyList, IList, IFixedCountList { /// /// The bitmask of valid indices for resource texture managers in the current shader type. diff --git a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.Properties.SourceCollection.cs b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.Properties.SourceCollection.cs index f071c37e..a17cd08d 100644 --- a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.Properties.SourceCollection.cs +++ b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.Properties.SourceCollection.cs @@ -16,7 +16,8 @@ partial class PixelShaderEffect /// /// Represents the collection of sources in a instance. /// - public sealed class SourceCollection : IList, IReadOnlyList, IList, IFixedCountList + /// + public sealed partial class SourceCollection : IList, IReadOnlyList, IList, IFixedCountList { /// /// The collection of valid resource texture indices for the current effect.