Provides methods for asserting conditions. Throws an AssertException when a condition is not met. Methods are only invoked in DEBUG builds unless otherwise specified.
More...
|
static void | Always ([DoesNotReturnIf(false)] bool condition) |
| Throws an AssertException with a message if the condition is false , even in non-DEBUG builds. More...
|
|
static void | Always ([DoesNotReturnIf(false)] bool condition, string error) |
| Throws an AssertException with a message if condition is false , even in non-DEBUG builds. More...
|
|
static void | Always< T0 > ([DoesNotReturnIf(false)] bool condition, string format, T0 arg0) |
| Throws an AssertException with a message if condition is false , even in non-DEBUG builds. More...
|
|
static void | Always< T0 > ([DoesNotReturnIf(false)] bool condition, T0 arg0) |
| Throws an AssertException with a message if the condition is false , even in non-DEBUG builds. The message is composed from additional arguments. More...
|
|
static void | Always< T0, T1 > ([DoesNotReturnIf(false)] bool condition, string format, T0 arg0, T1 arg1) |
| Throws an AssertException with a message if condition is false , even in non-DEBUG builds. More...
|
|
static void | Always< T0, T1 > ([DoesNotReturnIf(false)] bool condition, T0 arg0, T1 arg1) |
| Throws an AssertException with a message if the condition is false , even in non-DEBUG builds. The message is composed from additional arguments. More...
|
|
static void | Always< T0, T1, T2 > ([DoesNotReturnIf(false)] bool condition, string format, T0 arg0, T1 arg1, T2 arg2) |
| Throws an AssertException with a message if condition is false , even in non-DEBUG builds. More...
|
|
static void | Always< T0, T1, T2 > ([DoesNotReturnIf(false)] bool condition, T0 arg0, T1 arg1, T2 arg2) |
| Throws an AssertException with a message if the condition is false , even in non-DEBUG builds. The message is composed from additional arguments. More...
|
|
static void | Always< T0, T1, T2, T3 > ([DoesNotReturnIf(false)] bool condition, string format, T0 arg0, T1 arg1, T2 arg2, T3 arg3) |
| Throws an AssertException with a message if condition is false , even in non-DEBUG builds. More...
|
|
static void | Always< T0, T1, T2, T3 > ([DoesNotReturnIf(false)] bool condition, T0 arg0, T1 arg1, T2 arg2, T3 arg3) |
| Throws an AssertException with a message if the condition is false , even in non-DEBUG builds. The message is composed from additional arguments. More...
|
|
static void | AlwaysFail () |
| Throws an AssertException, even in non-DEBUG builds. More...
|
|
static void | AlwaysFail (object error) |
| Throws an AssertException with a message, even in non-DEBUG builds. More...
|
|
static void | AlwaysFail (string error) |
| Throws an AssertException with a message, even in non-DEBUG builds. More...
|
|
static void | AlwaysFail< T > (T error) |
| Throws an AssertException with a message, even in non-DEBUG builds. More...
|
|
static void | Check ([DoesNotReturnIf(false)] bool condition) |
| Throws an AssertException if the condition is false More...
|
|
static void | Check ([DoesNotReturnIf(false)] bool condition, string error) |
| Throws an AssertException with a message if the condition is false More...
|
|
static void | Check (object condition) |
| Throws an AssertException if the condition is null More...
|
|
static unsafe void | Check (void *condition) |
| Throws an AssertException if the condition is null More...
|
|
static void | Check< T0 > ([DoesNotReturnIf(false)] bool condition, string format, T0 arg0) |
| Throws an AssertException with a message if the condition is false More...
|
|
static void | Check< T0 > ([DoesNotReturnIf(false)] bool condition, T0 arg0) |
| Throws an AssertException with a message if the condition is false . The message is composed from additional arguments. More...
|
|
static void | Check< T0, T1 > ([DoesNotReturnIf(false)] bool condition, string format, T0 arg0, T1 arg1) |
| Throws an AssertException with a message if the condition is false More...
|
|
static void | Check< T0, T1 > ([DoesNotReturnIf(false)] bool condition, T0 arg0, T1 arg1) |
| Throws an AssertException with a message if the condition is false . The message is composed from additional arguments. More...
|
|
static void | Check< T0, T1, T2 > ([DoesNotReturnIf(false)] bool condition, string format, T0 arg0, T1 arg1, T2 arg2) |
| Throws an AssertException with a message if the condition is false More...
|
|
static void | Check< T0, T1, T2 > ([DoesNotReturnIf(false)] bool condition, T0 arg0, T1 arg1, T2 arg2) |
| Throws an AssertException with a message if the condition is false . The message is composed from additional arguments. More...
|
|
static void | Check< T0, T1, T2, T3 > ([DoesNotReturnIf(false)] bool condition, string format, T0 arg0, T1 arg1, T2 arg2, T3 arg3) |
| Throws an AssertException with a message if the condition is false More...
|
|
static void | Check< T0, T1, T2, T3 > ([DoesNotReturnIf(false)] bool condition, T0 arg0, T1 arg1, T2 arg2, T3 arg3) |
| Throws an AssertException with a message if the condition is false . The message is composed from additional arguments. More...
|
|
static void | Check< T0, T1, T2, T3, T4 > ([DoesNotReturnIf(false)] bool condition, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4) |
| Throws an AssertException with a message if the condition is false . The message is composed from additional arguments. More...
|
|
static void | Fail () |
| Always throws an AssertException. More...
|
|
static void | Fail (string error) |
| Always throws an AssertException with a message. More...
|
|
static void | Fail (string format, params object[] args) |
| Always throws an AssertException with a message. More...
|
|
Provides methods for asserting conditions. Throws an AssertException when a condition is not met. Methods are only invoked in DEBUG builds unless otherwise specified.