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

System.Runtime.CompilerServices.IsExternalInit

static class IsExternalInit
Polyfill marker enabling init-only setters on older target frameworks.
namespace System.Runtime.CompilerServices { internal static class IsExternalInit { } }