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