<PackageReference Include="System.Drawing.Common" Version="9.0.0-preview.5.24306.5" />

RequiresUnreferencedCodeAttribute

using System.Runtime.CompilerServices; namespace System.Diagnostics.CodeAnalysis { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Method, Inherited = false)] internal sealed class RequiresUnreferencedCodeAttribute : Attribute { public string Message { get; } [System.Runtime.CompilerServices.Nullable(2)] [field: System.Runtime.CompilerServices.Nullable(2)] public string Url { [System.Runtime.CompilerServices.NullableContext(2)] get; [System.Runtime.CompilerServices.NullableContext(2)] set; } public RequiresUnreferencedCodeAttribute(string message) { Message = message; } } }