<PackageReference Include="Refit.HttpClientFactory" Version="15.2.0" />

System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute

Polyfill marking members that require runtime code generation.
namespace System.Diagnostics.CodeAnalysis { internal sealed class RequiresDynamicCodeAttribute : Attribute, System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute.IMetadata { public string Message { get; } public bool ExcludeStatics { get; set; } public string Url { get; set; } public RequiresDynamicCodeAttribute(string message); } }