<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="11.0.0-preview.2.26159.112" />
System.ExceptionPolyfills
public static void ThrowIf(
bool condition,
object instance)
public static void ThrowIfNull(
object argument,
string paramName =
null)