<PackageReference Include="Refit" Version="16.2.0" />

System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute

Polyfill of the attribute that marks members whose use requires code that may be trimmed.
namespace System.Diagnostics.CodeAnalysis { internal sealed class RequiresUnreferencedCodeAttribute : Attribute, System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute.IMetadata { public string Message { get; } public string Url { get; set; } public RequiresUnreferencedCodeAttribute(string message); } }