<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="10.0.0-preview.5.25277.114" />

ExceptionPolyfills

static class ExceptionPolyfills
Provides downlevel polyfills for static methods on Exception-derived types.
public sealed class <>E__0

public sealed class <>E__1

public static void ThrowIf(bool condition, object instance)

public static void ThrowIf(bool condition, Type type)

public static void ThrowIfNull(object argument, string paramName = null)