System.ThrowExtensions static class ThrowExtensions Documentation Code public sealed class <G>$0505E7D425B60FF10D3E22D3A0756F0B public sealed class <G>$2CCF93F8D1D7E0542E57DCB3AD19CD16 public sealed class <G>$3F30F31B33543D5FB8E174FB4FD780B9 public sealed class <G>$E6188BA5B951F1F7AA9135E0EBB76F2B public static void ThrowIf(bool condition, object instance) public static void ThrowIfNegative(long value, string paramName = null) public static void ThrowIfNull(object argument, string paramName = null) public static void ThrowIfNullOrEmpty(string argument, string paramName = null) public static void ThrowIfNullOrWhiteSpace(string argument, string paramName = null)