public static void NotNullUnconstrained_Passes_ForStruct() => Demand.NotNullUnconstrained(new My.EmptyStruct());
public static void NotNullUnconstrained_Passes_ForNonNull() => Demand.NotNullUnconstrained(new Object());
public static void NotNull_Passes_ForNonNull() => Demand.NotNull(new Object());
public static void NotNull_Passes_ForNull() { Object obj = null; Demand.NotNull(obj); }
public static void NotNullOrEmpty_Passes_ForNullString() => Demand.NotNullOrEmpty(null);
public void Range_Fails_ForFalse() => Assert.Throws <DebugAssertFailedException>(() => Demand.Range(false));
public static void True_Passes_ForFalse() => Demand.True(false);
public static void True(bool testCondition) => Demand.True(testCondition);
public static void State_Passes_ForFalse() => Demand.State(false);
public static void True_Passes_ForTrue() => Demand.True(true);
public static void State_Passes_ForTrue() => Demand.State(true);
public void NotNullOrEmpty_Fails_ForEmptyString() => Assert.Throws <DebugAssertFailedException>(() => Demand.NotNullOrEmpty(String.Empty));
public static void NotNullOrEmpty_Passes_ForEmptyString() => Demand.NotNullOrEmpty(String.Empty);
public static void NotNullUnconstrained_Passes_ForNull() { Object obj = null; Demand.NotNullUnconstrained(obj); }
public static void Range_Passes_ForTrue() => Demand.Range(true);
public void NotNullUnconstrained_Fails_ForNull() { Object obj = null; Assert.Throws <DebugAssertFailedException>(() => Demand.NotNullUnconstrained(obj)); }
public static void Range_Passes_ForFalse() => Demand.Range(false);
public static void False(bool testCondition) => Demand.True(!testCondition);
public static void NotNullOrEmpty_Passes_ForNonNullOrEmptyString() => Demand.NotNullOrEmpty("value");