Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="5.0.0-preview-718" />

 Shield

public static class Shield
public static void EnsureGreaterThan(int actual, int reference)

public static void EnsureNotNull<T>(Expression<Func<T>> memberExpression)

public static void EnsureNotNull<T>(T obj, string parameterName)

public static void EnsureNotNull<T>(Expression<Func<T>> memberExpression, string message)

public static void EnsureNotNull<T>(T obj, string parameterName, string message)

public static void EnsureNotNullOrEmpty(Expression<Func<string>> memberExpression)

public static void EnsureNotNullOrEmpty(string obj, string parameterName)

public static void EnsureTrue(bool condition, string message)

public static void EnsureTypeOf<TType>(object obj)