<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="10.0.0-rc.1.25451.107" />
ExceptionPolyfills
Provides downlevel polyfills for static methods on Exception-derived types.
public static void ThrowIf(
bool condition,
object instance)
public static void ThrowIfNull(
object argument,
string paramName =
null)