diff --git a/src/ComputeSharp.D2D1.WinUI/Helpers/RcwMarshaller.cs b/src/ComputeSharp.D2D1.WinUI/Helpers/RcwMarshaller.cs
index bfef4507..9253efbd 100644
--- a/src/ComputeSharp.D2D1.WinUI/Helpers/RcwMarshaller.cs
+++ b/src/ComputeSharp.D2D1.WinUI/Helpers/RcwMarshaller.cs
@@ -1,5 +1,4 @@
using System;
-using System.Diagnostics.CodeAnalysis;
using ComputeSharp.Win32;
using WinRT;
using IInspectable = ComputeSharp.Win32.IInspectable;
@@ -31,7 +30,6 @@ internal static unsafe class RcwMarshaller
/// The input RCW instance to unwrap.
/// A pointer to the resulting native object to retrieve.
/// This method should only be called with being a concrete projected type.
- [SuppressMessage("Trimming", "IL2091", Justification = "Private reflection on constructors is only needed when using 'FromAbi' to create RCWs.")]
public static void GetNativeObject(T managedObject, IInspectable** nativeObject)
where T : class
{