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

System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute

Indicates that the method does not return when the associated parameter has the specified value.
public bool ParameterValue { get; }

Gets the parameter value that signals the method will not return.

public DoesNotReturnIfAttribute(bool parameterValue)

Indicates that the method does not return when the associated parameter has the specified value.