<PackageReference Include="System.Drawing.Common" Version="7.0.0-preview.3.22175.4" />

RequiresUnreferencedCodeAttribute

Indicates that the specified method requires dynamic access to code that is not referenced statically, for example through Reflection.
namespace System.Diagnostics.CodeAnalysis { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Method, Inherited = false)] internal sealed class RequiresUnreferencedCodeAttribute : Attribute { public string Message { get; } public string Url { get; set; } public RequiresUnreferencedCodeAttribute(string message) { Message = message; } } }