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

System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute

Polyfill marking members that require runtime code generation.
public bool ExcludeStatics { get; set; }

Gets or sets a value indicating whether static members are excluded.

public string Message { get; }

Gets the message describing the dynamic code requirement.

public string Url { get; set; }

Gets or sets an optional URL with more information.

public RequiresDynamicCodeAttribute(string message)

Polyfill marking members that require runtime code generation.