Provides methods for throwing InvalidOperationException for “impossible” conditions.
public static class Verify
name | description |
---|---|
static AreNotSame(…) | Throws InvalidOperationException if the parameters are the same object. |
static AreSame(…) | Throws InvalidOperationException if the parameters are not the same object. |
static IsFalse(…) | Throws InvalidOperationException if the parameter is not false. |
static IsNotNull(…) | Throws InvalidOperationException if the parameter is null. |
static IsNull(…) | Throws InvalidOperationException if the parameter is not null. |
static IsTrue(…) | Throws InvalidOperationException if the parameter is not true. |